From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [BUG] New exporter exports TOC twice Date: Wed, 24 Apr 2013 13:56:43 +0200 Message-ID: <87fvyg87lw.fsf@gmail.com> References: <87k3ns89lk.fsf@gmail.com> <87bo949mgg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUyJh-00056C-0s for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:56:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUyJf-0006Kw-VU for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:56:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:48495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUyJf-0006Kn-Op for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:56:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UUyJe-0001ji-15 for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 13:56:50 +0200 Received: from g231105207.adsl.alicedsl.de ([92.231.105.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Apr 2013 13:56:50 +0200 Received: from tjolitz by g231105207.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Apr 2013 13:56:50 +0200 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: emacs-orgmode@gnu.org Nicolas Goaziou 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