# [texhax] Resetting \thechhapter for a single file

Peter Seibel peter at gigamonkeys.com
Fri Jul 3 01:58:27 CEST 2009

I've got some TeX I use to typeset a book using the memoir class. I
also want to generate files of individual chapters. My chapter headers
use \thechapter to get the chapter number but when I do individual
files it's always 1. Is there some easy way to change the value in the
preamble?

-Peter

--
Peter Seibel
http://www.codersatwork.com/
http://www.gigamonkeys.com/blog/