emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Specifying multiple latex headers for export in properties block
@ 2012-11-08 12:36 Alan Schmitt
  2012-11-09  0:35 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2012-11-08 12:36 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

If I've understood things correctly, the canonical way to change export
options for a subtree export is to put them in a properties block. I
noticed that if I put several "EXPORT_LATEX_HEADER" entries in the
properties block, only the first one is taken into account.

Is it supposed to work this way? Is there a way around it?

Thanks a lot,

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Specifying multiple latex headers for export in properties block
  2012-11-08 12:36 Specifying multiple latex headers for export in properties block Alan Schmitt
@ 2012-11-09  0:35 ` Nicolas Goaziou
  2012-11-09 11:24   ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-11-09  0:35 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hello,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> If I've understood things correctly, the canonical way to change export
> options for a subtree export is to put them in a properties block. I
> noticed that if I put several "EXPORT_LATEX_HEADER" entries in the
> properties block, only the first one is taken into account.
>
> Is it supposed to work this way? Is there a way around it?

This is limitation from property drawers: each property can only appear
once. You may want to set a special latex_class (through
EXPORT_LATEX_CLASS property) for this subtree and fill its template with
the required headers.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Specifying multiple latex headers for export in properties block
  2012-11-09  0:35 ` Nicolas Goaziou
@ 2012-11-09 11:24   ` Alan Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2012-11-09 11:24 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> If I've understood things correctly, the canonical way to change export
>> options for a subtree export is to put them in a properties block. I
>> noticed that if I put several "EXPORT_LATEX_HEADER" entries in the
>> properties block, only the first one is taken into account.
>>
>> Is it supposed to work this way? Is there a way around it?
>
> This is limitation from property drawers: each property can only appear
> once. You may want to set a special latex_class (through
> EXPORT_LATEX_CLASS property) for this subtree and fill its template with
> the required headers.

Yes, this is indeed a solution. It's a bit harder to tweak, but for that
phase one can use a very long line with all the headers.

Thanks for the suggestion,

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-09 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-08 12:36 Specifying multiple latex headers for export in properties block Alan Schmitt
2012-11-09  0:35 ` Nicolas Goaziou
2012-11-09 11:24   ` Alan Schmitt

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).