[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] New exporter exports TOC twice
From: |
Thorsten Jolitz |
Subject: |
Re: [O] [BUG] New exporter exports TOC twice |
Date: |
Wed, 24 Apr 2013 13:56:43 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> If you don't specify a toc item in the OPTIONS line, Org will use the
> value of `org-export-with-toc', which is non-nil by default.
>
> So, your example is equivalent to:
>
> #+OPTIONS: toc:t
> #+TOC: headline 2
>
> Hence you get two tables of contents.
Ok, but then with
,----------------
| #+OPTIONS: toc:2
`----------------
the
,-----------------
| #+TOC: headline 2
`-----------------
is actually redundant - I would need it only if I want to export other
things than headlines, right?
--
cheers,
Thorsten