From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Specifying multiple latex headers for export in properties block Date: Fri, 09 Nov 2012 12:24:10 +0100 Message-ID: References: <87obj7lijg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWmhD-0006Yr-76 for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:24:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWmhB-0000NK-U3 for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:24:23 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:32219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWmhB-0000N5-Nb for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:24:21 -0500 In-Reply-To: <87obj7lijg.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 09 Nov 2012 01:35:47 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode Nicolas Goaziou writes: > Hello, > > Alan Schmitt writes: > >> If I've understood things correctly, the canonical way to change export >> options for a subtree export is to put them in a properties block. I >> noticed that if I put several "EXPORT_LATEX_HEADER" entries in the >> properties block, only the first one is taken into account. >> >> Is it supposed to work this way? Is there a way around it? > > This is limitation from property drawers: each property can only appear > once. You may want to set a special latex_class (through > EXPORT_LATEX_CLASS property) for this subtree and fill its template with > the required headers. Yes, this is indeed a solution. It's a bit harder to tweak, but for that phase one can use a very long line with all the headers. Thanks for the suggestion, Alan