summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-pagebychap.html
blob: 802c17a10511ef71615694cc2e3b85854c1f84e5 (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&rsquo;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&rsquo;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://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/chappg.zip">macros/latex/contrib/chappg</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/chappg/">browse the directory</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>