From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ability to force-enable TOC Date: Tue, 19 Sep 2017 21:57:32 +0200 Message-ID: <87h8vya2c3.fsf@nicolasgoaziou.fr> References: <87shfia3qm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duOeF-0005Hi-Mj for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 15:57:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duOeE-000597-Vo for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 15:57:35 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:39561) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duOeE-00058S-QH for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 15:57:34 -0400 In-Reply-To: (Kaushal Modi's message of "Tue, 19 Sep 2017 19:31:44 +0000") 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: Kaushal Modi Cc: Carsten Dominik , emacs-org list 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. What is exactly the feature you are missing? Your example is a special case where _no_ heading is numbered. But we also had to deal with situations where only _some_ headings were numbered. In any case, this change solves two problems: 1. it makes all export back-ends consistent with TOC; 2. it allows to use, e.g., @heading instead of @unnumberedsec in Texinfo export. Thus, we don't need to provide a way to determine which one should be used. I admit the second point is probably only convenient for the lazy me: I don't have to find a proper way to support @heading commands in Texinfo export anymore. Regards,