From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Table of contents for just one section? Date: Sun, 11 Jan 2015 22:49:48 +0100 Message-ID: <87y4p9dm2r.fsf@nicolasgoaziou.fr> References: <87wq7uzwmm.fsf@nicolasgoaziou.fr> <871tpvmekr.fsf@nicolasgoaziou.fr> <87mw8joylh.fsf@gmx.us> <8761f7dlxd.fsf@nicolasgoaziou.fr> <87egtuq3ih.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAQNS-000279-Dw for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 16:48:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAQNO-0005uK-DQ for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 16:48:54 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:41728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAQNO-0005tx-77 for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 16:48:50 -0500 In-Reply-To: <87egtuq3ih.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 26 Oct 2014 16:01:10 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > Ah, it's much easier to use \stopcontents[level-i] to end contents > collection. Revising the example: > > \documentclass{book} > \usepackage{titletoc} > \begin{document} > \part{p1} > \startcontents[level-0] > \printcontents[level-0]{}{0}{\setcounter{tocdepth}{2}} > \chapter{c1} > \startcontents[level-1] > \printcontents[level-1]{}{1}{\setcounter{tocdepth}{1}} > \section{s1} \subsection{s2} > \stopcontents[level-1] > \chapter{c2} > \section{s3} > \stopcontents[level-0] > \part{p2}\chapter{c3} > \end{document} > > Note that the contents is determined by the .pcf file. Maybe that's > easier to to understand than my babeling. Also, "pcf" should be added > to `org-latex-logfiles-extensions'. Done. > No idea. Both makes sense, but maybe including the TOC-title is too > verbose? Local TOC have no title. Regards, -- Nicolas Goaziou