emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] export to latex doesn't process #+include files fully
@ 2010-11-19 13:17 Eric S Fraga
  0 siblings, 0 replies; only message in thread
From: Eric S Fraga @ 2010-11-19 13:17 UTC (permalink / raw)
  To: Emacs Org mode mailing list


should the latex export take into account any settings in an included
file?  Although #+include works in the sense that any text in that file
is included in an export, the settings (e.g. #+latex_header:) are
ignored on export.

This simple example:

--8<---------------cut here---------------start------------->8---
# -*- coding: utf-8; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fraga@ucl.ac.uk
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js

#+include: "preamble.org"

* include bug

  Including another org file doesn't seem to include all of the
  material upon export.  This was written by \esf{}.
--8<---------------cut here---------------end--------------->8---

with =preamble.org= having a single line:

--8<---------------cut here---------------start------------->8---
#+latex_header: \newcommand{\esf}{\fbox{ESF}}
--8<---------------cut here---------------end--------------->8---

illustrates this.

I know that the file is being /included/ as any text put in preamble.org
appears in the resulting .tex file.  However, the latex_header commands
are not being passed through.  Should they be or is this a design


: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.93.g451ac)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-19 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19 13:17 [bug] export to latex doesn't process #+include files fully Eric S Fraga

Code repositories for project(s) associated with this public inbox


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