Only show every 5 chapters in the ToC in the huge PDF

This commit is contained in:
David Daily 2020-02-17 02:16:29 -06:00
parent 6e8c77107f
commit 89fb0ec407
4 changed files with 10 additions and 1 deletions

View File

@ -1,11 +1,17 @@
\part{The Dead City} \part{The Dead City}
\input{book-1/1} \input{book-1/1}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
\input{book-1/2} \input{book-1/2}
\input{book-1/3} \input{book-1/3}
\input{book-1/4} \input{book-1/4}
\addtocontents{toc}{\protect\setcounter{tocdepth}{3}}
\input{book-1/5} \input{book-1/5}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
\input{book-1/6} \input{book-1/6}
\input{book-1/7} \input{book-1/7}
\input{book-1/8} \input{book-1/8}
\input{book-1/9} \input{book-1/9}
\addtocontents{toc}{\protect\setcounter{tocdepth}{3}}
\input{book-1/10}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}

View File

@ -1,3 +1,4 @@
\part{The Dark Land} \part{The Dark Land}
\input{book-2/1} \input{book-2/1}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}

View File

@ -1,3 +1,4 @@
\part{Title of book 3} \part{Title of book 3}
\input{book-3/1} \input{book-3/1}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}

View File

@ -1,3 +1,4 @@
\part{Title of book 4} \part{Title of book 4}
\input{book-4/1} \input{book-4/1}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}