From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Re: Include TOC in PDF export? Date: Fri, 2 Mar 2012 15:44:15 -0800 (PST) Message-ID: <1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com> References: <1330727564.64930.YahooMailNeo@web161903.mail.bf1.yahoo.com> <8315.1330730515@alphaville> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3c95-0008Ry-3i for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 18:44:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3c93-00073A-CW for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 18:44:18 -0500 Received: from nm19-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.162]:40727) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S3c93-00072B-3x for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 18:44:17 -0500 In-Reply-To: <8315.1330730515@alphaville> 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: "nicholas.dokos@hp.com" Cc: Org-Mode List > From: Nick Dokos =0A>> Greetings.=A0 I'm exporting= a document to both HTML and PDF.=A0 In the=0A>> HTML version, I get a tabl= e of contents.=A0 In the PDF version, I do NOT=0A>> get a table of contents= .=A0 The appended text illustrates the problem. =0A>> I'd like to get the T= OC in both.=0A>>=0A=0A> num:nil causes unnumbered sections in latex (\secti= on*{...})=A0 which are=0A> not entered into the .toc file (that's a latex l= imitation, not an=0A> org-mode one), so the latex exporter wants both num: = and toc: to be=0A> enabled before it produces a table of contents.=0A=0A> I= think the only way to get a TOC is to set num:t. You can probably=0A> rewr= ite a chunk of latex code so that unnumbered sections etc end up in=0A> the= .toc file, but I think it would be a fairly major undertaking.=0A=0AThanks= , Nick.=A0 I think I'll learn to love the current arrangement.=0A=0A-- Mike