From: Bastien <bzg@altern.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: two questions about the new exporter (#+Style: and org-export-html-postamble)
Date: Tue, 19 Feb 2013 18:08:50 +0100 [thread overview]
Message-ID: <87ehgcz0wt.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87ppzwb7qm.fsf@gmail.com> (Eric Schulte's message of "Tue, 19 Feb 2013 08:14:57 -0700")
Hi Eric,
Eric Schulte <schulte.eric@gmail.com> writes:
> 1. The value of org-export-html-postamble doesn't appear to be honored.
> I often set this variable in a file local line at the top of a file,
> and despite setting it to nil I still see a postamble in my exported
> html.
You need to use `org-html-postamble' instead of
`org-export-html-postamble'.
In general, the org-export-* prefix is for cross-exporters variables,
while backend-specific variables are names after the prefix of the
relevant backend. I recently updated the manual wrt this, but this
needs more work.
> 2. Similarly, I use #+Style: lines at the top of Org-mode files to make
> the CSS changes necessary for my code blocks. This also doesn't seem
> to be making it through the html export process.
Use #+HTML_STYLE
Several users (T.F. Torrey, Sébastien) suggested to use HTML_HEAD
instead, which I tend to find better too. Just not had the time
to make the change so far.
> #+Style: <style type="text/css">pre{background:#232323; color:#E6E1DC;}h1,h2{border-bottom-style: solid; border-bottom-color: gray;}</style>
>
> Please let me know if I can provide any more information.
Thanks for trying the new exporters!!
Hope this gets you started in the right direction,
--
Bastien
next prev parent reply other threads:[~2013-02-19 17:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 15:14 two questions about the new exporter (#+Style: and org-export-html-postamble) Eric Schulte
2013-02-19 16:41 ` Nick Dokos
2013-02-19 17:08 ` Bastien [this message]
2013-02-19 17:12 ` Stefan Vollmar
2013-02-19 18:00 ` Jambunathan K
2013-02-19 18:41 ` Switching to the new exporter (was: two questions about the new exporter (#+Style: and org-export-html-postamble)) Bastien
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=87ehgcz0wt.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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).