From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Barnier Subject: preparation-function syntax for publishing Date: Wed, 21 Oct 2009 15:47:31 +0200 Message-ID: <87aazkhn9o.fsf@z.nozav.org> 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 1N0beq-0007gT-Qm for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 09:55:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0bel-0007bT-Tw for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 09:55:20 -0400 Received: from [199.232.76.173] (port=37671 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0bel-0007az-IC for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 09:55:15 -0400 Received: from lo.gmane.org ([80.91.229.12]:53939) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0bek-00060N-I5 for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 09:55:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N0bcd-0008WO-4I for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 15:53:03 +0200 Received: from z.nozav.org ([91.121.121.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Oct 2009 15:53:03 +0200 Received: from julien by z.nozav.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Oct 2009 15:53:03 +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: emacs-orgmode@gnu.org Dear org users, I'm trying to use the :preparation-function argument for project publishing. What I'd like to achieve i s to load a file in order to define some styling elements for the export process, something such as : (load "org-style") I tried several different syntaxes, such as : :preparation-function (load "org-style") But I didn't manage to achieve it, whichever syntax I try I get an invalid function error. Do you know if there is a way to declare such a thing ? Thanks a lot in advance for any help. -- Julien