From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: different toc levels per headline? Date: Thu, 26 Sep 2013 16:24:57 +0200 Message-ID: <874n973bk6.fsf@gmail.com> References: <20130926110130.GD15620@pacific.linksys.moosehall> <9D7DDF81-6925-481C-A1B6-8338167B0106@gmail.com> <20130926121635.GE15620@pacific.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPCUt-0003QQ-9p for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 10:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPCUn-000323-Oq for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 10:24:51 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:64713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPCUn-00031k-FA for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 10:24:45 -0400 Received: by mail-we0-f173.google.com with SMTP id w62so1245763wes.32 for ; Thu, 26 Sep 2013 07:24:43 -0700 (PDT) In-Reply-To: (Carsten Dominik's message of "Thu, 26 Sep 2013 14:24:40 +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: Carsten Dominik Cc: org-mode mailing list Carsten Dominik writes: > On 26.9.2013, at 14:16, Adam Spiers wrote: >> Thanks a lot for the reply. However, what you say seems to directly >> contradict this sentence in the manual: >> >> Options set at a specific level override options set at a more >> general level. >> >> which is why this confused me. I guess that sentence was intended to >> refer only to subtree exports, not whole document exports, but that >> meaning was not clear to me. > > I think it means this in general, but I also think that toc creation > is done at a global level, and not recursive in the tree. Maybe Nicolas > has an authoritative answer on this one. Not really. For the record, the full paragraph is: Export options can be set: globally with variables; for an individual file by making variables buffer-local with in-buffer settings, by setting individual keywords, or by specifying them in a compact form with the '#+OPTIONS' keyword; or for a tree by setting properties. Options set at a specific level override options set at a more general level. There are three ways (four if you use a subtree export) to tweak export settings. The last sentence means that more specific ways have precedence over more general ones. IOW: #+OPTIONS or #+KEYWORDS > variables and in the case of a subtree export: Properties > #+OPTIONS or #+KEYWORDS > variables Regards, -- Nicolas Goaziou