From: "William Henney" <whenney@gmail.com>
To: Xin Shi <xs32@cornell.edu>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org export html with header and footer option
Date: Wed, 20 Feb 2008 21:36:29 -0600 [thread overview]
Message-ID: <41c818190802201936w5f41f0bdp402d6fd8004cee04@mail.gmail.com> (raw)
In-Reply-To: <yleodabavmc.fsf_-_@lnx618.lns.cornell.edu>
Hi Xin
On 20 Feb 2008 21:31:07 -0500, Xin Shi <xs32@cornell.edu> wrote:
> Now, when I want to publish org to html, it is possible to add a header and footer file? Usually the header file contains the style and other format related settings.
There is a variable org-export-html-style, which lets insert stuff
into the <head> ... </head> section of the html file. Despite its
name, you can abuse it to add stuff other than stylesheets. For
instance,
# Local Variables:
# org-export-html-style: "<link rel=stylesheet
# href=\"temarios.css\"
# type=\"text/css\">
# <meta HTTP-EQUIV=\"Refresh\" CONTENT=300>"
# End:
There are also two variables: org-export-html-preamble and
org-export-html-postamble that allow you set fixed code to appear at
the beginning and end of the <body> ... </body> section of the file.
Unlike muse, they have to be literal strings rather than references to
files.
HTH
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
next prev parent reply other threads:[~2008-02-21 3:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 8:20 Release 5.22 Carsten Dominik
2008-02-20 14:11 ` Bernt Hansen
2008-02-20 21:48 ` Carsten Dominik
2008-02-20 22:16 ` Bernt Hansen
2008-02-21 2:31 ` org export html with header and footer option Xin Shi
2008-02-21 3:36 ` William Henney [this message]
2008-02-21 4:49 ` Xin Shi
2008-02-21 15:35 ` Xin Shi
2008-02-21 15:47 ` William Henney
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=41c818190802201936w5f41f0bdp402d6fd8004cee04@mail.gmail.com \
--to=whenney@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=xs32@cornell.edu \
/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).