emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] EXPORT_LATEX_HEADER property


From: Fabrice Popineau
Subject: Re: [O] EXPORT_LATEX_HEADER property
Date: Thu, 3 Mar 2016 20:17:49 +0100



2016-03-03 16:49 GMT+01:00 Nicolas Goaziou <address@hidden>:
Fabrice Popineau <address@hidden> 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


reply via email to

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