emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Michael Hannon <jm_hannon@yahoo.com>
Cc: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com>,
	Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Include TOC in PDF export?
Date: Sat, 3 Mar 2012 01:23:42 +0100	[thread overview]
Message-ID: <CAMXnza2O+3FVTwzzCu3DP8Hc99G36qajUY+7Dtr6hCL2HXni9A@mail.gmail.com> (raw)
In-Reply-To: <1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com>

On Sat, Mar 3, 2012 at 00:44, Michael Hannon <jm_hannon@yahoo.com> 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.  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

\addcontentsline{toc}{subsection}{\nameref{<subsection latex label>}}

Hope this helps.


Open source is the future. It sets us free.

      reply	other threads:[~2012-03-03  0:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 22:32 Include TOC in PDF export? Michael Hannon
2012-03-02 23:21 ` Nick Dokos
2012-03-02 23:39   ` Nick Dokos
2012-03-02 23:44   ` Michael Hannon
2012-03-03  0:23     ` suvayu ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMXnza2O+3FVTwzzCu3DP8Hc99G36qajUY+7Dtr6hCL2HXni9A@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jm_hannon@yahoo.com \
    --cc=nicholas.dokos@hp.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).