emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Table of contents for just one section?


From: Nicolas Goaziou
Subject: Re: [O] Table of contents for just one section?
Date: Sun, 11 Jan 2015 22:49:48 +0100

Hello,

Rasmus <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]