From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: #+include: export header lines Date: Tue, 14 Apr 2009 13:21:43 +0200 Message-ID: <44EF98DA-99F1-4DFE-BAEF-55B46A363574@gmail.com> References: <87d4bgtl0s.fsf@stats.ox.ac.uk> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtgiA-0005L3-6K for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 07:21:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltgi5-0005Ko-4L for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 07:21:53 -0400 Received: from [199.232.76.173] (port=43580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltgi4-0005Kl-UD for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 07:21:48 -0400 Received: from qw-out-1920.google.com ([74.125.92.147]:59648) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ltgi4-0004dg-Gh for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 07:21:48 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1901625qwf.24 for ; Tue, 14 Apr 2009 04:21:47 -0700 (PDT) In-Reply-To: <87d4bgtl0s.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs org-mode mailing list Hi Dan, special lines like #+OPTIONS are only parsed if the file is pointed to with #+SETUPFILE: "~/src/common/org-header.org" HTH - Carsten P.S. Where should we have had what documentation to make this easier for you to find? On Apr 13, 2009, at 9:24 PM, Dan Davison wrote: > Dear list, > > I'm failing to work out how to #+include: a file containing export > header directives in such a way that the directives are obeyed. > > I tried creating this file tmp.org > > ---------------------------------------------------------------- > #+include: "~/src/common/org-header.org" > * heading 1 > ---------------------------------------------------------------- > > where the contents of org-header.org are > > ---------------------------------------------------------------- > #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t > TeX:t LaTeX:t skip:nil d:(HIDE) tags:not-in-toc > #+STYLE: > #+AUTHOR: Dan Davison > #+EMAIL: davison@stats.ox.ac.uk > > * this is org-header; that_1 shouldn't be a subscript > ---------------------------------------------------------------- > > On export of tmp.org I *do* get the heading from org-header.org, but I > do not get the effects of the export directives in org-header.org > (dan.css didn't happen, and the _1 subscript comes out as a > subscript). In contrast when I export org-header.org itself, I do of > course get the effects of the export options. > > I am conscious that most if not all of my previous posts of this > nature > have resulted in me being pointed to the section of the manual I > *should* have been familiar with! So, for the record, for this > problem I > looked at > > http://orgmode.org/manual/Export-options.html#Export-options > http://orgmode.org/manual/Include-files.html#index-g_t_0023_002bINCLUDE-878 > > OTOH I just grepped through the contents of Worg and found no such > mechanism being used, so perhaps I am for once asking for something > that > doesn't already exist. > > Thanks a lot, > > Dan > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode