summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-minitoc.html
blob: a68ffac610dbc0f4ef8939aec84a69ace3d2f7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<head>
<title>UK TeX FAQ -- question label minitoc</title>
</head><body>
<h3>Table of contents, etc., per chapter</h3>
<p/>The common style, of a &#8220;small&#8221; table of contents for each part,
chapter, or even section, is supported by the <i>minitoc</i>
package.  The package also supports mini-lists of tables and figures;
but, as the documentation observes, mini-bibliographies are a
different problem &#8212; see
<a href="FAQ-chapbib.html">bibliographies per chapter</a>.
<p/>The package&#8217;s basic scheme is to generate a little <code>.aux</code> file for
each chapter, and to process that within the chapter.  Simple usage
would be:
<blockquote>
<pre>
\usepackage{minitoc}
...
\begin{document}
...
\dominitoc \tableofcontents
\dominilof \listoffigures
...
\chapter{blah blah}
\minitoc \mtcskip \minilof
...
</pre>
</blockquote><p>
though a lot of elaborations are possible (for example, you don&#8217;t need
a <code>\</code><code>minitoc</code> for every chapter).
<p/><i>Babel</i> doesn&#8217;t know about <i>minitoc</i>, but
<i>minitoc</i> makes provision for other document languages than
English &#8212; a wide variety is available.  Fortunately, the current
version of the <i>hyperref</i> package does know about
<i>minitoc</i> and treats <code>\</code><code>minitoc</code> tables in the
same way as &#8220;real&#8221; tables of contents.
<dl>
<dt><tt><i>babel.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/required/babel.zip">macros/latex/required/babel</a> (or <a href="http://mirror.ctan.org/macros/latex/required/babel/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">catalogue entry</a>
<dt><tt><i>hyperref.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/hyperref.zip">macros/latex/contrib/hyperref</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/hyperref/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">catalogue entry</a>
<dt><tt><i>minitoc.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/minitoc.zip">macros/latex/contrib/minitoc</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/minitoc/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/minitoc.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minitoc">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minitoc</a>
</body>