emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Philipp Möller" <bootsarehax@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting verbatim html that should not be part of an outline div
Date: Thu, 8 Sep 2011 15:19:11 +0200	[thread overview]
Message-ID: <CAC5JochhX10yxCEOdq7PKYZF1ozefTbi13+BdW-SHaSTgweO5Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

Hello,
I'm trying to get a sidebar when exporting an org file to HTML and I'm stuck
with getting my verbatim html into a separate div. The produced html should
look like this

<div id="content">
   ... outlines ...
</div>

<div id="sidebar">

</div>

It doesn't matter to me if the sidebar div is before or after the content
div but it shouldn't be a child of it.

Placing the verbatim HTML after any part of subtree won't work as the html
will become part of this outline div.
Placing the verbatim HTML before the first top level node won't work either,
the div will be part of the content div.

I currently work around this with the :html-postamble and add css for the
postamble div but this is rather ugly and put parts of my document into the
my org-mode configuration.

Another options seems to set the postamble on a per file level but I have no
idea how to do that.

Is that a missing feature or am I overseeing anything?

Cheers,
Philipp

[-- Attachment #2: Type: text/html, Size: 1099 bytes --]

                 reply	other threads:[~2011-09-08 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAC5JochhX10yxCEOdq7PKYZF1ozefTbi13+BdW-SHaSTgweO5Q@mail.gmail.com \
    --to=bootsarehax@googlemail.com \
    --cc=emacs-orgmode@gnu.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).