emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] org-article & #+INCLUDE LaTex support


From: Srinivas Pavani
Subject: [Orgmode] org-article & #+INCLUDE LaTex support
Date: Fri, 19 Nov 2010 18:08:31 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Tom,

I have been trying to use the org-article LaTEX setup to get consistent look 
and feel across my documents. 

I found out that if you insert the following lines directly in a file 
(test.org), the desired output is produced. However if you insert the lines in 
an #+INCLUDE file, then the outcome is different. The settings of org-article 
are ignored.


Test case 1:

File: test.org

#+OPTIONS: H:3
#+LaTeX_CLASS: org-article
#+LaTeX_CLASS_OPTIONS: 
[koma,letterpaper,captions=tableheading,utopia,11pt,listings-
sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums]
#+LATEX_HEADER: \usepackage[AUTO]{inputenc}

* Sample Heading1
** Sample Heading2
*** Sample Heading3
Content goes here

----------------------------

Test case 2:
File: test.org

#+include: boiler.org
#+OPTIONS: H:3

* Sample Heading1
** Sample Heading2
*** Sample Heading3

Content goes here


File: boiler.org
#+OPTIONS: H:2
#+LaTeX_CLASS: org-article
#+LaTeX_CLASS_OPTIONS: 
[koma,letterpaper,captions=tableheading,utopia,11pt,listings-
sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums]
#+LATEX_HEADER: \usepackage[AUTO]{inputenc}

It seems that when files are included, the contents of the included file are 
not evaluated consistently. This seems like it is more of an issue with org-
mode and interpreting include file contents.

- Srinivas




reply via email to

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