emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* The way Org sections are exported to HTML
@ 2010-11-30  9:45 Sébastien Vauban
  2010-12-01 10:23 ` Manuel Giraud
  0 siblings, 1 reply; 3+ messages in thread
From: Sébastien Vauban @ 2010-11-30  9:45 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

#+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-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* The way Org sections are exported to HTML
@ 2010-12-01  9:03 Sébastien Vauban
  0 siblings, 0 replies; 3+ messages in thread
From: Sébastien Vauban @ 2010-12-01  9:03 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

#+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-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: The way Org sections are exported to HTML
  2010-11-30  9:45 The way Org sections are exported to HTML Sébastien Vauban
@ 2010-12-01 10:23 ` Manuel Giraud
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Giraud @ 2010-12-01 10:23 UTC (permalink / raw)
  To: emacs-orgmode

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> Shouldn't it make more sense that the H2 contents would *contain* all the
> subsection texts (H3, H4, ...)?

I agree that this make more sense and think it is required for someone
who wants to use an org-mode customized css.

Best regards,
-- 
Manuel Giraud

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-01 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30  9:45 The way Org sections are exported to HTML Sébastien Vauban
2010-12-01 10:23 ` Manuel Giraud
  -- strict thread matches above, loose matches on Subject: below --
2010-12-01  9:03 Sébastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).