From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Missing Introduction and About sections in LaTeX export Date: Thu, 28 Apr 2011 07:36:27 -0400 Message-ID: <9731.1303990587@alphaville.dokosmarshall.org> References: <5291.1303940486@alphaville.americas.hpqcorp.net> <6155.1303943022@alphaville.americas.hpqcorp.net> <808vuuu7ws.fsf@somewhere.org> Reply-To: nicholas.dokos@hp.com 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]:39219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFPWb-0004Pj-2J for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 07:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFPWZ-0006VU-Tu for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 07:36:49 -0400 Received: from vms173011pub.verizon.net ([206.46.173.11]:40054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFPWZ-0006VE-Qn for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 07:36:47 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LKD00CN41KRJ470@vms173011.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 06:36:34 -0500 (CDT) In-reply-to: Message from =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastie?= =?us-ascii?Q?n=5FVauban=3F=3D?= of "Thu\, 28 Apr 2011 09\:55\:31 +0200." <808vuuu7ws.fsf@somewhere.org> 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: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastien=5FVauban=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org [forgot to cc: the list] S=C3=A9bastien Vauban wrote: > Hi Avdi, >=20 > Nick Dokos wrote: > > Avdi Grimm wrote: > >> On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos wr= ot=3D > e: > >> > 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. > >>=3D20 > >> Ugh. This is a (somewhat) living document; manually tweaking the .tex > >> after export isn't really an option. > >>=3D20 > >> 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 pro= du=3D > ce > > 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. >=20 > What about just inserting >=20 > #+LaTeX: \backmatter{} >=20 > and the like where applicable in the Org file? >=20 >From a quick read of the description of \frontmatter, it is not clear to me that it is going to work the way the OP wants, but it is indeed worth trying: I forgot about that completely. [trying it...] I just ran a quick test: \frontmatter seems to be undefined in the report class - it's only defined in the book class. Thanks, Nick