From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Malone Subject: Re: Collapse LaTeX source before start of main document? Date: Thu, 5 May 2011 11:37:41 -0400 Message-ID: References: <20110504152539.7f66f9af@kuru.homelinux.net> <20110505074608.48b834e4@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI0ca-0004gI-OT for emacs-orgmode@gnu.org; Thu, 05 May 2011 11:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QI0cZ-00005p-8a for emacs-orgmode@gnu.org; Thu, 05 May 2011 11:37:44 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:63600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI0cZ-00005f-5T for emacs-orgmode@gnu.org; Thu, 05 May 2011 11:37:43 -0400 Received: by iyh42 with SMTP id 42so2609760iyh.0 for ; Thu, 05 May 2011 08:37:42 -0700 (PDT) In-Reply-To: <20110505074608.48b834e4@bhishma.homelinux.net> 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hi Suvayu, Thanks for sharing your use case - I'm interested in a few more details: > For example for my appendix and bibliography I use the following: > > #+INCLUDE: thesis-appendix.org :minlevel 1 > > \backmatter > \newpage > \addcontentsline{toc}{chapter}{\bibname} > > \bibliographystyle{plain} > \bibliography{master} > > where thesis-appendix.org looks something like: > > \appendix > \appendixpage > \addappheadtotoc > > * First appendix > > * Second appendix > Would this #+INCLUDE line come within the last chapter headline? In other words did you have something like ------------------------------------------------------------------------------------------------------- #+INCLUDE: frontmatter.org * Chapter 1 .... * Chapter 2 ... * Last Chapter .... #+INCLUDE: thesis-appendix.org :minlevel 1 . . . \bibliography{master} -------------------------------------------------------------------------------------------------------- With this, it seems that all of the appendix/backmatter gets folded into the last chapter heading. That is sort of the way I'm thinking of working my thesis, but it seems sub-optimal. Chris