summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-pagebychap.html
blob: a4eea7183f3c4b99f9e454a891d6b6c35779a1d5 (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
<head>
<title>UK TeX FAQ -- question label pagebychap</title>
</head><body>
<h3>Page numbering by chapter</h3>
<p/>When I was a young man, a common arrangement for loose bound technical
manuals is to number pages by chapter.  (It&#8217;s quite a good scheme, in
those situations: even if your corrections add a whole page to the
chapter, the most you have to redistribute is that chapter.)
<p/>The problem, at first sight, seems pretty much the same as that in
another answer on

<a href="FAQ-running-nos.html">running numbers within a chapter</a>,
and the basic technique is indeed pretty similar.
<p/>However, tidying-up loose ends, making sure the page number gets reset
to the correct value at the start of each chapter, and so on, is
slightly more challenging.  This is why the <i>chappg</i> package
was written: it does the obvious things, and more.
<p/>Users have been known to ask for running page numbers within a
section, but this really doesn&#8217;t make sense: you need to run page
numbers within document objects that always start on a fresh page.
<dl>
<dt><tt><i>chappg.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/chappg.zip">macros/latex/contrib/chappg</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/chappg/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/chappg.html">catalogue entry</a>
</dl>
<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pagebychap">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pagebychap</a>
</body>