* latex packages savetrees is persisting in my org-mode exporter
@ 2013-12-20 18:42 Christopher W. Ryan
2013-12-20 19:51 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Christopher W. Ryan @ 2013-12-20 18:42 UTC (permalink / raw)
To: emacs-orgmode
I had been running Org mode version 7.9.3f, but I needed a feature only
available in version 8, so I upgraded, by downloading from the Org
website, and using comment characters in my .emacs file, like this:
;; Load org-mode
; (add-to-list 'load-path "c:/Org/org-7.9.3f/lisp")
; (add-to-list 'load-path "c:/Org/org-7.9.3f/contrib/lisp")
(add-to-list 'load-path "c:/Org/org-8.2.4/lisp")
(add-to-list 'load-path "c:/Org/org-8.2.4/contrib/lisp")
(require 'org)
Then I used it a few times to export a subtree from an org file,
exporting to pdf, using a latex package called savetrees. I put this in
the subtree I was exporting:
** Review of assessment system, including instructions for bubble sheet
:PROPERTIES:
:EXPORT_FILE_NAME: ReviewAssessmentSystemWithPreceptors-12-02-2013
:EXPORT_TITLE: Review of our system for assessing student's clinical
performance
:EXPORT_LATEX_OPTIONS: \usepackage{enumitem}
:END:
#+latex_header: \usepackage{savetrees}
Now some features I need don't work--specifically, features from here:
http://orgmode.org/worg/org-tutorials/org-meeting-tasks.html
So I went back to Og 7.9.3f, or at least I thought I did, by changing my
.emacs to this:
;; Load org-mode
(add-to-list 'load-path "c:/Org/org-7.9.3f/lisp")
(add-to-list 'load-path "c:/Org/org-7.9.3f/contrib/lisp")
; (add-to-list 'load-path "c:/Org/org-8.2.4/lisp")
; (add-to-list 'load-path "c:/Org/org-8.2.4/contrib/lisp")
(require 'org)
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?
Thanks.
--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]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex packages savetrees is persisting in my org-mode exporter
2013-12-20 18:42 latex packages savetrees is persisting in my org-mode exporter Christopher W. Ryan
@ 2013-12-20 19:51 ` Nick Dokos
2013-12-20 20:16 ` Christopher W. Ryan
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2013-12-20 19:51 UTC (permalink / raw)
To: emacs-orgmode
"Christopher W. Ryan" <cryan@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex packages savetrees is persisting in my org-mode exporter
2013-12-20 19:51 ` Nick Dokos
@ 2013-12-20 20:16 ` Christopher W. Ryan
2013-12-20 20:44 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Christopher W. Ryan @ 2013-12-20 20:16 UTC (permalink / raw)
To: emacs-orgmode
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" <cryan@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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex packages savetrees is persisting in my org-mode exporter
2013-12-20 20:16 ` Christopher W. Ryan
@ 2013-12-20 20:44 ` Nick Dokos
0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2013-12-20 20:44 UTC (permalink / raw)
To: emacs-orgmode
"Christopher W. Ryan" <cryan@binghamton.edu> writes:
> Nick Dokos wrote:
>> "Christopher W. Ryan" <cryan@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-20 20:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 18:42 latex packages savetrees is persisting in my org-mode exporter Christopher W. Ryan
2013-12-20 19:51 ` Nick Dokos
2013-12-20 20:16 ` Christopher W. Ryan
2013-12-20 20:44 ` Nick Dokos
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).