"Christopher W. Ryan" <[email protected]> writes:
> Nick Dokos wrote:
>> "Christopher W. Ryan" <[email protected]> writes:
>>
>>> ...
>>> #+latex_header: \usepackage{savetrees}
>>> ...
>>> But now every time I export a different subtree of that same org file, a
>>> subtree that does not contain any mention of savetrees, to pdf, the
>>> savetrees package is still loaded and used. How do I stop it?
>>
>> Delete the #+latex_header line from the file: just because you placed it
>> in a subtree does not make it subtree-local in scope.
>>
> Thanks!
> Very interesting. I would not have thought of that. Especially since the
> "offending" line of code appears in the org file after the subtree I am
> trying to export.
>
> Is there a better way to say
> #+latex_header: \usepackage{savetrees}
>
> in either org 7.9.3f or org 8.2.4?
>
> Like using EXPORT_LATEX_OPTIONS under PROPERTIES, or something like that?
>
I think so: you have an EXPORT_LATEX_OPTIONS property in your original
example, so if that works...
Nick
PS. I didn't test either this or the previous pronouncement, so caveat
emptor.