From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Fabrice Popineau <fabrice.popineau@gmail.com>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: EXPORT_LATEX_HEADER property
Date: Thu, 3 Mar 2016 20:17:49 +0100 [thread overview]
Message-ID: <CAFgFV9MLg7Xtmda4NUuf-yvM7USUXTLROGL1K2A0kP6TB3JnyA@mail.gmail.com> (raw)
In-Reply-To: <8737s7pnnc.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2452 bytes --]
next prev parent reply other threads:[~2016-03-03 19:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 11:02 EXPORT_LATEX_HEADER property Fabrice Popineau
2016-03-03 11:26 ` Nicolas Goaziou
2016-03-03 11:58 ` Fabrice Popineau
2016-03-03 15:49 ` Nicolas Goaziou
2016-03-03 18:58 ` Eric S Fraga
2016-03-03 19:17 ` Fabrice Popineau [this message]
2016-03-03 21:16 ` Eric S Fraga
2016-03-03 16:16 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFgFV9MLg7Xtmda4NUuf-yvM7USUXTLROGL1K2A0kP6TB3JnyA@mail.gmail.com \
--to=fabrice.popineau@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).