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 10:23:50 -0400 Message-ID: References: <20110504152539.7f66f9af@kuru.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHzT7-0003wZ-0m for emacs-orgmode@gnu.org; Thu, 05 May 2011 10:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHzT5-0000gJ-P4 for emacs-orgmode@gnu.org; Thu, 05 May 2011 10:23:52 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:51121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHzT5-0000gE-Ki for emacs-orgmode@gnu.org; Thu, 05 May 2011 10:23:51 -0400 Received: by iwg8 with SMTP id 8so2522161iwg.0 for ; Thu, 05 May 2011 07:23:50 -0700 (PDT) In-Reply-To: <20110504152539.7f66f9af@kuru.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 Matt and Suvayu, @Matt: I can get your example to work fine for html export, but not LaTeX export where the entire contents of the headline are removed as well. =3Dorg-version=3D: 7.5 (release_7.5.105.g8d0c) if that makes any difference. @Suvayu: Thanks for the suggestion. That is essentially what I am doing now with the #+LaTeX_HEADER lines, but the problem is that I have a bunch of things which must follow the \begin{document} in LaTeX. I know I could put this in a separate file and just \input{} it; I wanted to see if there was a way to keep everything together in a single file, but also have the ability to fold this preliminary stuff. Chris On Wed, May 4, 2011 at 6:25 PM, Suvayu Ali wr= ote: > Hi Chris, > > I just finished writing my master's thesis in org-mode. > > On Wed, 4 May 2011 11:36:58 -0400 > Chris Malone wrote: > >> I'm working on using org mode for my PhD thesis. =A0I'd like to do this >> in one large file where each headline is a single chapter. =A0Naturally >> in a thesis there needs to be a lot of front matter: title page, >> abstract, signature page, etc. =A0Right now, I'm doing this with >> something like: > > For all formatting stuff, I just used > > #+LaTeX_HEADER: \whatever{} > #+LaTeX_HEADER: \usepackage{universitystyle} > > For my abstract I used > > #+LaTeX_HEADER: \include{abstract} > > where abstract.tex is a simple tex file with something like: > > \abstract{ My abstract } > > If you wish to include this inside the \begin{document}..\end{document} > block then you can use the same latex snippet but without > the "#+LaTeX_HEADER:". > > I hope this helps and good luck with the thesis. :) > > -- > Suvayu > > Open source is the future. It sets us free. > >