emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Subhasis Ray <ray.subhasis@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Combining multiple org files as chapters in a thesis
Date: Thu, 11 Oct 2012 18:52:56 +0530	[thread overview]
Message-ID: <CAKcPc2QYzct1U1smUoeMkmqUrm+Vyi7NgW-SMPZ-+0MfoaRmsg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1827 bytes --]

             reply	other threads:[~2012-10-11 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 13:22 Subhasis Ray [this message]
2012-10-11 13:50 ` Combining multiple org files as chapters in a thesis Suvayu Ali
2012-10-11 14:49   ` Subhasis Ray
2012-10-11 15:38 ` Subhasis Ray

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=CAKcPc2QYzct1U1smUoeMkmqUrm+Vyi7NgW-SMPZ-+0MfoaRmsg@mail.gmail.com \
    --to=ray.subhasis@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).