From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Fwd: Exporting latex without preamble Date: Wed, 29 Jun 2011 06:57:10 -1000 Message-ID: References: <87zkl1tv44.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qby4r-0002jC-Cl for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 12:57:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qby4p-0001Dq-00 for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 12:57:25 -0400 Received: from oproxy5-pub.bluehost.com ([67.222.38.55]:37737) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qby4o-00018N-GG for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 12:57:22 -0400 In-Reply-To: (Rafael Calsaverini's message of "Wed, 29 Jun 2011 11:20:08 -0300") 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: Rafael Calsaverini Cc: Bastien , emacs-orgmode Aloha Rafael, Is there a reason not to have everything in one .org file? I find Org-mode's ability to fold on headlines and to edit subtrees in indirect buffers very convenient, even for long documents. For my work, that functionality has replaced LaTeX \include files. I'm not exactly sure what you mean by "latex boilerplate" but you ought to be able to map your University's custom styles to standard LaTeX constructs in a way that makes the text you write easily portable to other LaTeX style and class files later on. hth, Tom Rafael Calsaverini writes: > Hi Bastien, > > I was planning to use this to create an automated platform for writing > my PhD thesis.The plan was to use org to edit separate files > corresponding to the chapters of the thesis. Those chapters would then > be exported to latex and included (preferably by an automated tool) in > a master file that takes care of administrative boilerplate > (preambles, cover sheets, boring style configurations, etc, etc...). > > The idea was to separate latex boilerplate from the text itself. I > must use all kinds of custom styles in latex to conform to my > university norms, and I wanted to start to write the text in a way > that was independent of this boilerplate and only care about it when I > must compile a "distribution version". > > I guess I'll have to try to do this differently. What I really was > interested in doing is a "org-thesis" or "org-text-production" > package, in the spirit of "org-babel" or "org2blog". But I don't know > much of lisp to be honest (the only functional language I'm familiar > with is haskell). My original idea involved a huge makefile and some > python scripts, which seems to be a sub-optimal solution. I also > played a bit with using an org master file to include each chapters, > but I had some problems. > > Anyway, if you have any kind of tip or suggestion about this, I'm > really interested! :D > > Thanks, > --- > Rafael Calsaverini > Dep. de F=C3=ADsica Geral, Sala 336 > Instituto de F=C3=ADsica - Universidade de S=C3=A3o Paulo > > rafael.calsaverini@gmail.com > http://stoa.usp.br/calsaverini/weblog > CEL: (11) 7525-6222 > USP: (11) 3091-6803 > > > > > On Tue, Jun 28, 2011 at 20:05, Bastien wrote: >> Hi Rafael, >> >> Rafael Calsaverini writes: >> >>> is it possible to export an org file to latex with no preamble and no >>> \begin{document}?? >> >> Not at the moment. =C2=A0Is it something you need regularily? >> >> -- >> =C2=A0Bastien >> > --=20 Thomas S. Dye http://www.tsdye.com