From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhasis Ray Subject: Combining multiple org files as chapters in a thesis Date: Thu, 11 Oct 2012 18:52:56 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6dede0f252a3a04cbc87835 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMIj8-0005nC-Hj for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 09:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMIj4-0006p3-H1 for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 09:23:02 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:50844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMIj4-0006og-A9 for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 09:22:58 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so7035128wib.12 for ; Thu, 11 Oct 2012 06:22:56 -0700 (PDT) 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 --0016e6dede0f252a3a04cbc87835 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to write my thesis using org-mode and followed this thread: http://lists.gnu.org/archive/html/emacs-orgmode/2007-12/msg00034.html. But instead of putting everything in one file, I was creating one file for each chapter with the assumption that like LaTeX I should be able to combine them in one master file. I am able to export each chapter individually into PDF. I tried to include them in the master file as this: #+include "~/Documents/thesis/introduction.org" #+include "~/Documents/thesis/chapter1.org" #+include "~/Documents/thesis/chapter2.org" #+include "~/Documents/thesis/discussion.org" but when I tried to export the master file, I get error messages on figures that I created using tikz package (topbot is a shape I define using tikz): ----8<------->8----- Latexmk: Reference `fig:figure1' on page 18 undefined ... ... ! Package pgfkeys Error: I do not know the key '/tikz/topbot' and I am going to ignore it. Perhaps you misspelled it. ----8<------->8----- I have the same LaTeX headers in each file. I tried moving it to the top of the master file but that did not help. Concatenating all the files into one sort-of works but when I replaced biblatex' \printbibliography[heading=none] at the end of each file with \newrefsection[biliographyfile] in the combined file, the reference sections become empty. Is there a nice way to combine multiple org-files that I am missing? Thanks, Subha --0016e6dede0f252a3a04cbc87835 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
=A0I am trying to write my thesis using org-mode and followed this t= hread: http://lists.gnu.org/archive/html/emacs-orgmode/2007-12/msg00= 034.html.
But instead of putting everything in one file, I was creating one file for = each chapter with the assumption that like LaTeX I should be able to combin= e them in one master file.
I am able to export each chapter individually= into PDF. I tried to include them in the master file as this:

#+include "~/Documents/thesis/= introduction.org"
#+include "~/Documents/thesis/chapter1.org"
#+include "~/Docume= nts/thesis/chapter2.org"
#+include "~/Documents/thesis/discus= sion.org"

=A0but when I tried to export the master file, I = get error messages on figures that I created using tikz package (topbot is = a shape I define using tikz):

----8<------->8-----
Latexmk: Reference `fig:figure1' on p= age 18 undefined
...
...
! Package pgfkeys Error: I do not know t= he key '/tikz/topbot' and I am going to
=A0ignore it. Perhaps yo= u misspelled it.

----8<------->8-----

I have the same LaTeX headers in each= file. I tried moving it to the top of the master file but that did not hel= p.
Concatenating all the files into one sort-of works but when I replac= ed biblatex' \printbibliography[heading=3Dnone] at the end of each file= with \newrefsection[biliographyfile] in the combined file, the reference s= ections become empty.

Is there a nice way to combine multiple org-files that I am missing?
Thanks,
=A0 Subha
--0016e6dede0f252a3a04cbc87835--