emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] define "just", preamble and postamble placement
Date: Fri, 08 Oct 2010 07:31:53 +0200	[thread overview]
Message-ID: <87eic18d2u.fsf@kotik.lan> (raw)
In-Reply-To: 16539.1286491451@gamaville.dokosmarshall.org

Nick Dokos <nicholas.dokos@hp.com> writes:

> Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> wrote:
>
>
>> The docstrings for org-export-html-(pre|post)amble say
>> 
>>     (Pre|Post)amble, to be inserted just (after|befor) </?body>.
>> 
>> This means that they should go before and after (respectively) <div
>> id="content"> and its </div>. Am I right?
>> 
>
> Warning: I'm not an expert. I think the reason that they are inside the
> <div id="content">.... </div> is so that they can get whatever style
> the CSS gives this <div>. If they were outside, then you would have to
> modify the CSS to get at them (maybe by defining a body style).

This is feasible and quite common.

> Does it matter? Is the placement inside the <div> causing you
> difficulties? The preamble still comes before any "real" content
> and similarly for the postamble.

|-----------+-----|
| Preamble        |
|-----------+-----|
|           |     |
| Content   | TOC |
|           |     |
|-----------+-----|
| Postamble       |
|-----------+-----|

I'd like to have a layout like the above one, with (pre|post)ambles of
full width (or at least as wide a the content + TOC). With the present
layout preamble and postamble are siblings to TOC and the text and I
can't get the desired layout.

-- 
Miłego dnia,
Łukasz Stelmach

  reply	other threads:[~2010-10-08  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07 21:03 [BUG] define "just", preamble and postamble placement Łukasz Stelmach
2010-10-07 22:44 ` Nick Dokos
2010-10-08  5:31   ` Łukasz Stelmach [this message]
2010-10-08  7:46     ` Nick Dokos
2010-10-13 10:07       ` Łukasz Stelmach

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=87eic18d2u.fsf@kotik.lan \
    --to=lukasz.stelmach@iem.pw.edu.pl \
    --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).