From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: EXPORT_LATEX_HEADER property Date: Thu, 03 Mar 2016 16:49:27 +0100 Message-ID: <8737s7pnnc.fsf@nicolasgoaziou.fr> References: <87bn6vpzud.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abVTL-000795-Nx for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 10:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abVTH-0004qw-MW for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 10:47:27 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abVTH-0004qg-FF for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 10:47:23 -0500 In-Reply-To: (Fabrice Popineau's message of "Thu, 3 Mar 2016 12:58:31 +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: Fabrice Popineau Cc: "emacs-orgmode@gnu.org" Fabrice Popineau writes: > In org reference, 12.7.2, it is said that: > > =E2=80=98LATEX_HEADER=E2=80=99 > Arbitrary lines added to the preamble of the document, before the =E2=80= =98hyperref=E2=80=99 > settings. The location can be controlled via org-latex-classes. > > Note the plural to lines. How can several lines be specified? AFAICS, if I > do : > > :EXPORT_LATEX_HEADER: \usepackage{mathptmx} % rm & math > :EXPORT_LATEX_HEADER: \usepackage[scaled=3D0.90]{helvet} % ss > > The second line will take precedence over the first one. The manual reference is about keywords, i.e, #+LATEX_HEADER:. You are using properties. The two are slightly different.=20 In particular, each value from a #+LATEX_HEADER keyword becomes a new line whereas new values from properties replace the old ones (hence the PROP+ syntax). Long story short: if you want multiple lines, use keywords. There is no support in multi lines properties in Org. Moreover, the use cases are sufficiently rare that I don't even think it is worth implementing. In any case, such implementation should preserve the equivalence explained before. Regards,