From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher W. Ryan" Subject: Re: latex packages savetrees is persisting in my org-mode exporter Date: Fri, 20 Dec 2013 15:16:17 -0500 Message-ID: <52B4A591.2060906@binghamton.edu> References: <52B48F7B.8000301@binghamton.edu> <87r4977132.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu6Uj-00058W-6b for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 15:16:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vu6Uc-00024E-Jz for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 15:16:25 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.226]:48322 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu6Uc-00024A-FZ for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 15:16:18 -0500 In-Reply-To: <87r4977132.fsf@alphaville.bos.redhat.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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" 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 > >