From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aankhen Subject: Re: Re: export options toc:t depends on num:t Date: Wed, 6 Apr 2011 14:50:12 +0530 Message-ID: References: <8162qshtms.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47611 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7Oui-0005MF-3p for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 05:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7Oug-0004Qa-8J for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 05:20:35 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:36743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7Oug-0004QU-30 for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 05:20:34 -0400 Received: by vxk20 with SMTP id 20so1206366vxk.0 for ; Wed, 06 Apr 2011 02:20:33 -0700 (PDT) In-Reply-To: <8162qshtms.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K , John Hendy , emacs-orgmode On Wed, Apr 6, 2011 at 10:18, Jambunathan K wrote: > John Hendy writes: > [snip] >> Maybe this is obvious to most, but I was puzzled by it. It seems that >> ,--- >> | #+options: toc:t >> `--- >> >> will not function when paired with: >> ,--- >> | #+options: toc:t num:nil >> `--- > [snip] > > Is this a LaTeX specific behaviour? I don't see anything odd with HTML > export. It likely is specific to LaTeX. The starred versions of the sectioning commands suppress the entry in the TOC as well. It=E2=80=99s possible to manually add the entry regardless, so maybe that needs to be special-cased in the exporter. It=E2=80=99d look like this: ,---- | \phantomsection % to make PDF bookmarks work properly | \section*{Introduction} | \addcontentsline{toc}{section}{Introduction} `---- Alternatively, use the regular sectioning commands but add this before \begin{document}: ,---- | \setcounter{secnumdepth}{0} `---- Aankhen