From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Missing Introduction and About sections in LaTeX export Date: Wed, 27 Apr 2011 18:23:42 -0400 Message-ID: <6155.1303943022@alphaville.americas.hpqcorp.net> References: <5291.1303940486@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFD96-0002Xp-P5 for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 18:23:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFD96-0000bh-0D for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 18:23:44 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:12710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFD95-0000bR-Pb for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 18:23:43 -0400 In-Reply-To: Message from Avdi Grimm of "Wed, 27 Apr 2011 17:47:47 EDT." 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: avdi@avdi.org Cc: nicholas.dokos@hp.com, emacs-orgmode Avdi Grimm wrote: > On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos wrote: > > Just star them by hand in the tex file after exporting for the last > > time: it'll take two seconds. You may be able to do it from Org by > > writing a custom function (C-h v org-export-latex-classes for > > details) but I suspect that the effort is just not worth it. > > > Ugh. This is a (somewhat) living document; manually tweaking the .tex > after export isn't really an option. > > I was hoping there was a tag or property that I could set on a section > indicating it is frontmatter/backmatter. > I don't know of an easy way within Org - somebody else might have better ideas. If I were in your position, I'd probably write a simple Makefile to produce the PDF and incorporate a simple post-processing awk script to do the transformation. Or write an elisp function to run as part of org-export-latex-final-hook perhaps. Nick