emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] New exporter exports TOC twice


From: Nicolas Goaziou
Subject: Re: [O] [BUG] New exporter exports TOC twice
Date: Wed, 24 Apr 2013 14:11:34 +0200

Thorsten Jolitz <address@hidden> writes:

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

They are not equivalent, but are indeed redundant.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]