From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: org export html with header and footer option Date: Wed, 20 Feb 2008 21:36:29 -0600 Message-ID: <41c818190802201936w5f41f0bdp402d6fd8004cee04@mail.gmail.com> References: <5D652E6F-D590-4899-B5AA-4C56E96C4AA3@science.uva.nl> <87ejb7btvh.fsf@gollum.intra.norang.ca> <399B44CF-DECF-41A1-BEED-169A075AB32A@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JS2Eb-0005vi-3Z for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 22:36:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JS2EZ-0005vF-Kk for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 22:36:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JS2EZ-0005vB-Hz for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 22:36:31 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JS2EZ-00029r-1I for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 22:36:31 -0500 Received: by ug-out-1314.google.com with SMTP id a2so990262ugf.48 for ; Wed, 20 Feb 2008 19:36:29 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xin Shi Cc: org-mode mailing list Hi Xin On 20 Feb 2008 21:31:07 -0500, Xin Shi 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 forma= t related settings. There is a variable org-export-html-style, which lets insert stuff into the ... 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: " # " # 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 ... section of the file. Unlike muse, they have to be literal strings rather than references to files. HTH Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia