Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun-barr!cs.utexas.edu!uunet!mcvax!ukc!etive!hwcs!zen!helen From: helen@zen.co.uk (Helen Grayson) Newsgroups: comp.text Subject: Re: Page numbering by chapter in LaTeX (CORRECTED) Keywords: LaTeX Message-ID: <1666@zen.co.uk> Date: 31 Jul 89 09:45:37 GMT References: <31495@ccicpg.UUCP> <849@cgch.UUCP> <850@cgch.UUCP> Reply-To: helen@zen.UUCP (Helen Grayson) Organization: Zengrange Limited, Leeds, England Lines: 38 In article <850@cgch.UUCP> whbr@cgchd6.UUCP (Hellmuth Broda) writes: >:In article <31495@ccicpg.UUCP> swonk@ccicpg.UUCP (Glen Swonk) writes: >:>What I would like is a page numbering scheme that the page number >:>would restart at the beginning of each chapter (like it >:>does in some technical manuals). >: >:We have been using the following approach: [details of fix deleted] I have been following the postings on this subject with interest, as I have recently had to solve the exact same problem. I took copies of all the suggestions, and eventually found one (I forget which) that worked. Thanks to all who contributed. >The included files start like: > >\chapter{FOO} >\setcounter{page}{1}% Sorry---this line has to be added to each chapter. > % But that ain't much trouble ;-) If you're using LaTeX and double sided, the end of each included file has to have \cleardoublepage (if you want each chapter to start on a right-hand page); or \newpage, to start on the next page. So I wrote a little macro which combines resetting the page counter and clearing the page. So the main document printing file has \include{FOO} \mymacro \include{BAR} \mymacro etc and the included file contains only text [and a zillion control sequences!]. >:Hope that helps---Hellmuth Broda All suggestions gratefully received by novice users. Helen.