From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: setting local variables Date: Thu, 07 Sep 2017 10:56:59 +0200 Message-ID: <87pob2opic.fsf@gmx.us> References: <871sotiqld.fsf@ericabrahamsen.net> <87r2wsly88.fsf@nicolasgoaziou.fr> <877eykbpho.fsf@ericabrahamsen.net> <87wp5dmkm0.fsf@gmx.us> <87h8wh13tm.fsf@ericabrahamsen.net> <87y3psp5ne.fsf@gmx.us> <87mv68159v.fsf@nicolasgoaziou.fr> <87h8wgov62.fsf@gmx.us> <87fuc0asaq.fsf@nicolasgoaziou.fr> <87y3pr7pn2.fsf@ericabrahamsen.net> <874lsfaho3.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]:48463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpscq-0007ws-NI for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 04:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpscn-0008CR-Lc for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 04:57:28 -0400 Received: from [195.159.176.226] (port=44762 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpscn-0008A6-EV for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 04:57:25 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dpscR-0007f8-7j for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 10:57:03 +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 Nicolas Goaziou writes: > Maybe UNNUMBERED property could imply a "not in TOC" clause in every > back-end (I assume this is difficult to implement for LaTeX, though). In > that case, UNNUMBERED would be a generic answer the problem. Speaking of LaTeX: not-in-toc and unnumbered is easy enough in LaTeX as it’s just section*. It’s what it does now. Unnumbered and in-the-toc is harder, but e.g. KOMA-Script has it built in with \addpart{}, \addchap{} (and maybe \addsec{}). To add unnumbered headings in plain latex one would have to add \addcontentsline{toc}{level}{title}. Users have some control over the matter in ox-latex via ox-latex-classes. ox-odt, ox-html and ox-ascii all seem to add unnumbered headings to the toc. > Or UNNUMBERED could imply "not in TOC" in "ox-texinfo.el", but that's > less good, IMO. One nice thing about this, I guess, is that it might allow you to use the "num" option to select which headings are kept out of the toc? Rasmus -- There are known knowns; there are things we know that we know