emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Including setupfile settings during subtree export (new exporter


From: Nicolas Goaziou
Subject: Re: [O] Including setupfile settings during subtree export (new exporter)
Date: Sat, 23 Mar 2013 21:24:08 +0100

Hello,

John Hendy <address@hidden> writes:

> #+begin_src setupfile
>
> #+AUTHOR:    John Henderson
> #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
> #+latex_header: \usepackage{mathpazo}
>
> #+end_src
> #+begin_src test-setupfile.org
>
> #+include: "/path/to/setupfile"

Use "#+setupfile:" instead of "#+include:"

There's a major difference between "setupfile" and "include" keyword
here: the former applies to the whole buffer, whereas the latter is only
expanded in the part being exported.

In your case, the INCLUDE keyword doesn't belong to the subtree, so it
is never expanded.


Regards,

-- 
Nicolas Goaziou



reply via email to

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