[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] The way Org sections are exported to HTML
From: |
Sébastien Vauban |
Subject: |
[Orgmode] The way Org sections are exported to HTML |
Date: |
Wed, 01 Dec 2010 10:03:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
#+TITLE: The way the sections are exported in HTML DIV
#+DATE: 2010-11-30
#+LANGUAGE: en_US
* Abstract
Trying to "play" with showing/hiding the H2 sections of text, I "discovered"
that the H2 sections end where the first H3 subsection begins.
* Example
This is what this section is about.
** First
First example is...
** Second
Second example is...
* Questions
Shouldn't it make more sense that the H2 contents would *contain* all the
subsection texts (H3, H4, ...)?
The above example is currently exported as:
#+begin_src html
<h2 id="sec-2"><span class="section-number-2">2</span> Example</h2>
<div class="outline-text-2" id="text-2">
<p>This is what this section is about.</p>
</div><!-- This is misplaced? -->
<div id="outline-container-2_1" class="outline-3">
<h3 id="sec-2_1"><span class="section-number-3">2.1</span> First</h3>
<div class="outline-text-3" id="text-2_1">
<p>First example is...</p>
</div>
</div>
#+end_src
I would expect that it was like this, instead:
#+begin_src html
<h2 id="sec-2"><span class="section-number-2">2</span> Example</h2>
<div class="outline-text-2" id="text-2">
<p>This is what this section is about.</p>
<div id="outline-container-2_1" class="outline-3">
<h3 id="sec-2_1"><span class="section-number-3">2.1</span> First</h3>
<div class="outline-text-3" id="text-2_1">
<p>First example is...</p>
</div>
</div>
</div><!-- I expected it here... -->
#+end_src
Best regards,
Seb
--
Sébastien Vauban