From: Nicolas Goaziou <n.goaziou@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Including setupfile settings during subtree export (new exporter)
Date: Sat, 23 Mar 2013 21:24:08 +0100 [thread overview]
Message-ID: <87620h27br.fsf@gmail.com> (raw)
In-Reply-To: <CA+M2ft9CJ9_B4+yMo3P2JVTrBSbG+EcCKdFWZaV=7Af78bwRaQ@mail.gmail.com> (John Hendy's message of "Fri, 22 Mar 2013 12:12:39 -0500")
Hello,
John Hendy <jw.hendy@gmail.com> writes:
> #+begin_src setupfile
>
> #+AUTHOR: John Henderson
> #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
> #+latex_header: \usepackage{mathpazo}
>
> #+end_src
> #+begin_src test-setupfile.org
>
> #+include: "/path/to/setupfile"
Use "#+setupfile:" instead of "#+include:"
There's a major difference between "setupfile" and "include" keyword
here: the former applies to the whole buffer, whereas the latter is only
expanded in the part being exported.
In your case, the INCLUDE keyword doesn't belong to the subtree, so it
is never expanded.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-03-23 20:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 15:19 Including setupfile settings during subtree export (new exporter) John Hendy
2013-03-22 15:27 ` Nicolas Goaziou
2013-03-22 17:12 ` John Hendy
2013-03-23 20:24 ` Nicolas Goaziou [this message]
2013-03-23 20:37 ` John Hendy
2013-03-23 20:49 ` Nicolas Goaziou
2013-03-23 21:10 ` John Hendy
2013-03-23 22:08 ` Nicolas Goaziou
2013-03-23 22:18 ` John Hendy
2013-03-23 22:37 ` Nicolas Goaziou
2013-03-24 12:13 ` Mike McLean
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=87620h27br.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/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).