Re: [O] latex packages savetrees is persisting in my org-mode exporter

2013-12-20 Thread Nick Dokos
Christopher W. Ryan cr...@binghamton.edu 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.

Nick




Re: [O] latex packages savetrees is persisting in my org-mode exporter

2013-12-20 Thread Christopher W. Ryan
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?

--Chris

Christopher W. Ryan, MD, MS
SUNY Upstate Medical University Clinical Campus at Binghamton
425 Robinson Street, Binghamton, NY  13904
cryanatbinghamtondotedu

Once we recognize that we do not err out of laziness, stupidity, or
evil intent, we can liberate ourselves from the impossible burden of
trying to be permanently right. We can take seriously the proposition
that we could be in error, without deeming ourselves idiotic or
unworthy. [Karen Schulz, in Being Wrong: Adventures in the Margin of Error]


Nick Dokos wrote:
 Christopher W. Ryan cr...@binghamton.edu 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.
 
 Nick
 
 



Re: [O] latex packages savetrees is persisting in my org-mode exporter

2013-12-20 Thread Nick Dokos
Christopher W. Ryan cr...@binghamton.edu writes:

 Nick Dokos wrote:
 Christopher W. Ryan cr...@binghamton.edu 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.