emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: The way Org sections are exported to HTML
Date: Wed, 01 Dec 2010 10:03:14 +0100	[thread overview]
Message-ID: <80ipzdoofh.fsf@missioncriticalit.com> (raw)

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

             reply	other threads:[~2010-12-01  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  9:03 Sébastien Vauban [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-30  9:45 The way Org sections are exported to HTML Sébastien Vauban
2010-12-01 10:23 ` Manuel Giraud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80ipzdoofh.fsf@missioncriticalit.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).