#+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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to