2016-03-03 16:49 GMT+01:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> In org reference, 12.7.2, it is said that:
>
> ‘LATEX_HEADER’
> 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.

The manual reference is about keywords, i.e, #+LATEX_HEADER:. You are
using properties. The two are slightly different.

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).
 
Ok, thanks for the confirmation. There is no strict equivalence in what can be done
on a subtree and what can be done at the document level.
 
Long story short: if you want multiple lines, use keywords.

I think I'll deport the LaTeX stuff into a single external file rather.
 
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.

I don't know what it could look like, but rare ... Am I the only one who has a setup
to export different subtrees from the same Org file?


Best regards,

Fabrice