emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Hannon <jm_hannon@yahoo.com>
To: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Include TOC in PDF export?
Date: Fri, 2 Mar 2012 15:44:15 -0800 (PST)	[thread overview]
Message-ID: <1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com> (raw)
In-Reply-To: <8315.1330730515@alphaville>

> From: Nick Dokos <nicholas.dokos@hp.com>
>> Greetings.  I'm exporting a document to both HTML and PDF.  In the
>> HTML version, I get a table of contents.  In the PDF version, I do NOT
>> get a table of contents.  The appended text illustrates the problem. 
>> I'd like to get the TOC in both.
>>

> num:nil causes unnumbered sections in latex (\section*{...})  which are
> not entered into the .toc file (that's a latex limitation, not an
> org-mode one), so the latex exporter wants both num: and toc: to be
> enabled before it produces a table of contents.

> 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.

-- Mike

  parent reply	other threads:[~2012-03-02 23:44 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 [this message]
2012-03-03  0:23     ` suvayu ali

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=1330731855.22769.YahooMailNeo@web161903.mail.bf1.yahoo.com \
    --to=jm_hannon@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).