From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Add HTML after and before title Date: Mon, 11 May 2009 11:39:04 +0200 Message-ID: <87bpq06ksn.fsf@kassiopeya.MSHEIMNETZ> References: <87iqk8oldy.fsf@gmail.com> <87eiuwok7x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3Ruz-0007Gq-C0 for emacs-orgmode@gnu.org; Mon, 11 May 2009 05:35:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3Ruu-0007E3-Bu for emacs-orgmode@gnu.org; Mon, 11 May 2009 05:35:28 -0400 Received: from [199.232.76.173] (port=45990 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3Ruu-0007Dm-4b for emacs-orgmode@gnu.org; Mon, 11 May 2009 05:35:24 -0400 Received: from mail.gmx.net ([213.165.64.20]:43065) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M3Rut-0003w4-Hd for emacs-orgmode@gnu.org; Mon, 11 May 2009 05:35:23 -0400 In-Reply-To: <87eiuwok7x.fsf@gmail.com> (Daniel Clemente's message of "Sun, 10 May 2009 21:01:54 +0200") 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: Daniel Clemente Cc: Org-mode ml To include script.js into the section per file: #+STYLE: NOTE: there is no `document.write' in XHTML the way it was in HTML. You would have to call `document.open()' before and therefore erase the documents contents. So I guess putting the script in the head section might be OK. Regards Sebastian Daniel Clemente writes: > El dom, may 10 2009, Daniel Clemente va escriure: >some trick to insert code > just after the or after
? > > Sorry, I forgot about org-publish. It can use the parameter :preamble to do > exactly that. Furthermore: > > > ,---- > | org-export-html-preamble is a variable defined in `org-html.el'. Its value is > | nil > | > | Documentation: Preamble, to be inserted just before . Set by publishing > | functions. > `---- > > > > I prefer to always embed the configuration inside the .org file instead of in > Elisp code, but if this is only possible with org-publish, I should use it. > > > -- Daniel