emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] #+include: export header lines


From: Dan Davison
Subject: [Orgmode] #+include: export header lines
Date: Mon, 13 Apr 2009 15:24:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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: <link rel="stylesheet" type="text/css" 
href="/home/dan/src/common/dan.css" />
#+AUTHOR:     Dan Davison
#+EMAIL:      address@hidden

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]