emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Keith <kigiokli@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Some settings are missing while exporting included org files to the tex file
Date: Tue, 17 Apr 2012 15:20:47 +0200	[thread overview]
Message-ID: <4F8D6E2F.3070908@gmail.com> (raw)

Dear Org-mode users:

Recently I am considering using org-mode to write my thesis and would 
like to separate each chapter into a single file. In order to do so, I 
created a file gathering all the rest files like this:

****************************************************

#+OPTIONS: Tex:t |:t toc:nil
#+OPTIONS: LaTeX:t
#+LaTeX_CLASS: koma-book
#+LATEX_HEADER: \usepackage[english,ngerman]{babel}
#+LATEX_HEADER: \usepackage{fancyhdr}
...

#+BEGIN_LATEX
\pagestyle{fancy}

\newenvironment{abstract}%
{\cleardoublepage \null \vfill \begin{center}%
\bfseries \abstractname \end{center}}%
{\vfill \null }
#+END_LATEX

#+TITLE:
#+AUTHOR:
#+DATE: \today

#+INCLUDE: Ch00_Abs_Eng.org
#+INCLUDE: Ch00_Abs_Deu.org

#+LATEX: \selectlanguage{english}
#+LATEX: \tableofcontents
#+LATEX: \listoftables
#+LATEX: \listoffigures


#+INCLUDE: Ch01_Introduction.org :minlevel 0
...
#+INCLUDE: Ch07_Conclusion.org :minlevel 0

\bibliographystyle{plain}
\bibliography{References}
****************************************************

I noticed the tex output misses some settings and those are before the 
first chapter, like included abstract, table of contents, etc. and after 
the last chapter, like bibliography. To work around, I have to add 
something like this:

****************************************************
...
* Introduction
#+INCLUDE: Ch01_Introduction.org :minlevel 0
...
****************************************************
and also move the bibliography settings to the end of the file of last 
chapter.

I am wondering if there is any way to keep the structure I had earlier 
or at least to know where the problem is. Any suggestion or idea?

In addition, I also tried to export a single org file without any 
preamble to be able to use input/include in latex but with no luck. And 
it seems org mode does not support this function yet. I would recommend 
the development team to re-consider this feature. Now the tex output of 
org mode draws all the separate files into single tex file and the user 
has to compile the entire tex file every time. By doing so, it also 
misses the feature of LaTex as mentioned here: 
http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstruct.html

emacs version: 23.4
orgmode version: 7.8

R.
Keith

             reply	other threads:[~2012-04-17 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 13:20 Keith [this message]
2012-04-29  9:26 ` Some settings are missing while exporting included org files to the tex file Eric Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8D6E2F.3070908@gmail.com \
    --to=kigiokli@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).