emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LATEX_CLASS_OPTIONS in SETUPFILE
@ 2011-10-20 14:01 Christophe Rhodes
  2011-10-26 15:14 ` [patch] " Christophe Rhodes
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Rhodes @ 2011-10-20 14:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

When using #+SETUPFILE and exporting via LaTeX, the LATEX_CLASS_OPTIONS
provided in the included file are ignored.  With the following two files
in the same directory, doing C-c C-e L (org-export to a temporary LaTeX
buffer) produces a documentclass with class report (good, as expected)
and options [11pt] (not as expected).  Placing the LATEX_CLASS_OPTIONS
line in top.org produces the expected options.  I believe that the
reason is that LATEX_CLASS_OPTIONS is not handled within
org-infile-export-plist in org-exp.el.

--- top.org ---
#+TITLE: LaTeX Class Options
#+SETUPFILE: "include.org"

* Introduction
  Here is some text.
---   end   ---

--- include.org ---
#+LATEX_CLASS: report
#+LATEX_CLASS_OPTIONS: [a4paper,10pt]
---    end      ---

There may be similar keywords for LaTeX or other backends that are also
not handled which maybe should be; this one is the one I noticed because
I tried to use it.

Best wishes,

Christophe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-26 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20 14:01 LATEX_CLASS_OPTIONS in SETUPFILE Christophe Rhodes
2011-10-26 15:14 ` [patch] " Christophe Rhodes
2011-10-26 17:27   ` Bastien

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