[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Fabrice Popineau
Subject: Re: [O] EXPORT_LATEX_HEADER property
Date: Thu, 3 Mar 2016 12:58:31 +0100

2016-03-03 12:26 GMT+01:00 Nicolas Goaziou <address@hidden>:

Hi Nicolas,
Fabrice Popineau <address@hidden> writes:

> First, I can't find where is documented the difference between
> and

See (info "(org) Property syntax").

I need to learn to read better because I didn't see that this paragraph was about it:

If you want to add to the value of an existing property, append a + to the property name.
The following results in the property var having the value “foo=1 bar=2”.
#+PROPERTY: var foo=1
#+PROPERTY: var+ bar=2 

> Second, when I use several lines with
> they  are concatenated into a single line.


> This is annoying because:
> :EXPORT_LATEX_HEADER+: \usepackage{mathptmx} % rm & math
> :EXPORT_LATEX_HEADER+: \usepackage[scaled=0.90]{helvet} % ss
> ...
> :END:
> results in
> \usepackage{mathptmx} % rm & math  \usepackage[scaled=0.90]{helvet} % ss
> which is obviously unintended.
> Could it be possible to add a '\n' between those lines?

Not quite what you are asking for, but couldn't you simply not comment
each line?

Yes, I can remove the comments, however, from time to time, it may be useful to be able to comment
some \usepackage line, and I don't see how it can be done in Org, except by killing the whole line.
In org reference, 12.7.2, it is said that:

Arbitrary lines added to the preamble of the document, before the ‘hyperref’
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=0.90]{helvet} % ss

The second line will take precedence over the first one.

Thanks for your help,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]