From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Add ability to force-enable TOC Date: Wed, 20 Sep 2017 10:53:06 +0200 Message-ID: <878th9rbt9.fsf@gmx.us> References: <87shfia3qm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duezg-00011i-O2 for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dueyb-0001Hz-Il for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:24:48 -0400 Received: from [195.159.176.226] (port=41392 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dueyN-0000yt-SQ for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:23:40 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1duakl-0001xr-Nf for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 10:53:07 +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" To: emacs-orgmode@gnu.org Kaushal Modi writes: > On Tue, Sep 19, 2017 at 3:27 PM Nicolas Goaziou > wrote: > >> The change was intended. The idea was discussed on the ML. You may want >> to check the thread. >> >> This is on par with, e.g., what LaTeX does. >> > > What would be a good way, though, to bring back that functionality? I don't > mind if I need to set extra options/variables for that. In the case of LaTeX you could do: #+latex_header: \setcounter{secnumdepth}{0} #+options: toc:3 For what it’s worth, I don’t think the new behavior is correct, seeing Kaushal’s example. The option "num" touches secnumdepth (in ox-latex). But setting that does not imply that all headings should be constructed with their starred variant (e.g. "\section*{.}"). IMO, this behavior should be reverted in maint as it would be nice to include 9.1 in the next version of Emacs. Rasmus -- This message is brought to you by the department of redundant departments