From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] New exporter exports TOC twice Date: Wed, 24 Apr 2013 14:11:34 +0200 Message-ID: <877gjs9lhl.fsf@gmail.com> References: <87k3ns89lk.fsf@gmail.com> <87bo949mgg.fsf@gmail.com> <87fvyg87lw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUyXy-0005FY-8h for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 08:11:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUyXw-0003Q7-N1 for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 08:11:37 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:62971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUyXw-0003Q3-EM for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 08:11:36 -0400 Received: by mail-we0-f182.google.com with SMTP id s43so1602780wey.41 for ; Wed, 24 Apr 2013 05:11:35 -0700 (PDT) In-Reply-To: <87fvyg87lw.fsf@gmail.com> (Thorsten Jolitz's message of "Wed, 24 Apr 2013 13:56:43 +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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Thorsten Jolitz writes: > 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? They are not equivalent, but are indeed redundant. Regards, -- Nicolas Goaziou