To simplify the management of multiple books, I put all of them together into them together into one file, then used \cleardoublepage, \setcounter{page}{1} and a new titlepage environment to specify the beginning of the second document.
\documentclass{book} \begin{document} \begin{titlepage} This is the first title page. \end{titlepage} \tableofcontents \chapter{This chapter should appear in the first title page} \cleardoublepage \setcounter{page}{1} \begin{titlepage} This is the second title page. \end{titlepage} \tableofcontents \chapter{This chapter should appear in the first second page} \chapter{This chapter should also appear in the first second page} \end{document} However, the first tableofcontents loads displays all chapters and the second tableofcontents shows no chapters.
- Is
\cleardoublepageand\setcounter{page}{1}the proper way to reset the document? - How can I have more than one table of contents within the same file?
\jobname.toc. (I.e. every time a\sectionor so is encountered.) The\tableofcontentsmacro basically (via the\@starttocmacro) reads in that file and clears it afterwards. Therefore, you can't "abuse" the\tableofcontentsfor your purpose.pdfpagespackage. PS. It's a pity that you deleted your question about "omitting" once-used counters: this is something many people might find useful, I was just about to start coding that;).titletocpackage, for example, would let you have multiple independent ToCs, but simply resetting the page counter will produce problems withhyperref(the typicalpdfTeX warning (ext4): destination with the same identifier (name{page.4}) has been already used, duplicate ignoredwarnings). It's better to work on different.texfiles and possibly usexror to usememoir(as suggested in another of your questions).inparaenumdoes what I needed. Now, I see maybe others need that too. I have reposted the question.