Re: [Orgmode] org export html with header and footer option
Hi Will, I've tried that and it works pretty well! There are still one minor issue bother me: I would like to turn off the Author and Date at the end of the page. And instead add my own style footer: org-export-html-postamble: div id=\footer\ Updated February 20, 2008 /div And I don't know how to put a variable for the date format. (In the muse case, it is div id=footer Updated lisp(muse-publishing-directive date)/lisp /div Thanks! Xin ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org export html with header and footer option
Hi Xin On 20 Feb 2008 21:31:07 -0500, Xin Shi [EMAIL PROTECTED] 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 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org export html with header and footer option
Hi Will, Thanks for your message! So, for your first solution, I just put the code into my .org file? # Local Variables: # org-export-html-style: link rel=stylesheet # href=\temarios.css\ # type=\text/css\ # meta HTTP-EQUIV=\Refresh\ CONTENT=300 # End: I'll check it out. Xin ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode