From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Include TOC in PDF export? Date: Sat, 3 Mar 2012 01:23:42 +0100 Message-ID: References: <1330727564.64930.YahooMailNeo@web161903.mail.bf1.yahoo.com> <8315.1330730515@alphaville> <1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3clb-0006vd-B1 for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 19:24:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3clZ-0006Sm-5e for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 19:24:06 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:46109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3clY-0006Ps-U4 for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 19:24:05 -0500 Received: by obbta14 with SMTP id ta14so2257700obb.0 for ; Fri, 02 Mar 2012 16:24:02 -0800 (PST) In-Reply-To: <1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com> 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: Michael Hannon Cc: "nicholas.dokos@hp.com" , Org-Mode List On Sat, Mar 3, 2012 at 00:44, Michael Hannon wrote: >> I think the only way to get a TOC is to set num:t. You can probably >> rewrite a chunk of latex code so that unnumbered sections etc end up in >> the .toc file, but I think it would be a fairly major undertaking. > > Thanks, Nick.=C2=A0 I think I'll learn to love the current arrangement. There is a slightly hacky solution. With "num:nil", you can put a line like the following line after every heading you want to see in the TOC. \addcontentsline{toc}{subsection}{\nameref{}} Hope this helps. --=20 Suvayu Open source is the future. It sets us free.