emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: latex packages savetrees is persisting in my org-mode exporter
Date: Fri, 20 Dec 2013 15:44:59 -0500	[thread overview]
Message-ID: <87sitnxnec.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 52B4A591.2060906@binghamton.edu

"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.

      reply	other threads:[~2013-12-20 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sitnxnec.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).