From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: TOC local for specified heading and its subheadings - now broken? Date: Sun, 19 Aug 2018 10:21:41 +0200 Message-ID: <87zhxiwyui.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frIy6-000121-AE for emacs-orgmode@gnu.org; Sun, 19 Aug 2018 04:21:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frIy1-0005lG-1h for emacs-orgmode@gnu.org; Sun, 19 Aug 2018 04:21:50 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56347) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1frIy0-0005kP-S7 for emacs-orgmode@gnu.org; Sun, 19 Aug 2018 04:21:44 -0400 In-Reply-To: (D. C. Toedt's message of "Mon, 30 Jul 2018 15:48:40 +0100") 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: "D. C. Toedt" Cc: emacs-orgmode@gnu.org Hello, "D. C. Toedt" writes: > So let's try adding "local" as a keyword: > > #+TOC: headlines 2 local :target #SectionOne > > But that produces no TOC at all. There is no sub-heading at the location you insert your #+TOC keyword, so the results is expected. Try to insert it in a heading that effectively contains sub-headings. Regards, -- Nicolas Goaziou