From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Table of contents for just one section? Date: Sun, 26 Oct 2014 11:53:35 +0100 Message-ID: <87r3xvp0eo.fsf@gmx.us> References: <87wq7uzwmm.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]:38194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiLSO-00086y-2g for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiLSI-000059-Jq for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:53:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:42775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiLSI-000053-DQ for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:53:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XiLSH-00038H-9D for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 11:53:49 +0100 Received: from 217.130.110.20 ([217.130.110.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2014 11:53:49 +0100 Received: from rasmus by 217.130.110.20 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2014 11:53:49 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > "D. C. Toedt" writes: > >> I'd like to do sub-TOCs for individual sections and subsections. > > We could add a "local" keyword to TOC lines, e.g., > > #+TOC: headlines 1 local > > would mean only top level children in current headline. > > This feature is trivial to add to ox-ascii, probably easy for ox-html or > ox-odt, assuming someone can provide the expected code. > > Implementing it in ox-latex probably boils down to requiring another > package (minitoc?). I'm pretty sure you need an exernal package. titletoc or minitoc. At least memoir seems to have issues with minitoc. KOMA-Script seems to be ok. titletoc scores points for having a 24 pages manual, versus 800+ pages. Personally, I don't like the default style of minitoc. > WDYT? It's neat and I'd probably never use it. —Rasmus -- Hooray!