Hello,

John Hendy <jw.he...@gmail.com> 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