From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Subject: Some settings are missing while exporting included org files to the tex file Date: Tue, 17 Apr 2012 15:20:47 +0200 Message-ID: <4F8D6E2F.3070908@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK8L8-0005Cf-3F for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 09:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SK8L2-0007DH-Az for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 09:21:01 -0400 Received: from smtp2.tu-cottbus.de ([141.43.99.248]:58355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK8L2-0007D4-0m for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 09:20:56 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id 95F5969019F for ; Tue, 17 Apr 2012 15:20:53 +0200 (CEST) Received: from [141.43.2.73] (unknown [141.43.2.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lichiyu) by smtp2.tu-cottbus.de (Postfix) with ESMTPSA id 7A7426901A8 for ; Tue, 17 Apr 2012 15:20:48 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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