[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] latex packages savetrees is persisting in my org-mode exporter
From: |
Nick Dokos |
Subject: |
Re: [O] latex packages savetrees is persisting in my org-mode exporter |
Date: |
Fri, 20 Dec 2013 15:44:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Christopher W. Ryan" <address@hidden> writes:
> Nick Dokos wrote:
>> "Christopher W. Ryan" <address@hidden> 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.