Changing toc parameter values by chapter
Tom Moore <[email protected]> Wed, 24 May 2023 09:45:24 -0400
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <CANwy9RSZX7idp=8Kj13VVkk_n4yNdJxwjP8HJ6+=L_wUu_50bQ@mail.gmail.com> |
--000000000000e7842505fc70b75b Content-Type: text/plain; charset="UTF-8" It appears to me that the parameters that control the placement and content of tocs apply at a document level. What I am wondering is if it is possible to to set different values for 'generate.toc', 'toc.section.depth', 'toc.max.dept' etc for different chapters/appendices? In my document (being output as chunked html) most chapters/appendices only need a table of contents at the top of the chapter with toc.section.depth=2, toc.max.depth=2. There are some chapters with considerable detail that would benefit from also having a table of contents inserted at the top sect3 with toc.max.depth=1. And there is one appendix that only needs one toc at the top with a max depth of 1. Is there an easy way to obtain this variety? Or am I heading down the path to madness? Thanks, Tom --000000000000e7842505fc70b75b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>It appears to me that the parameters that control the= placement and content of tocs apply at a document level. What I am wonderi= ng is if it is possible to to set different values for 'generate.toc= 9;, 'toc.section.depth', 'toc.max.dept' etc for different c= hapters/appendices?</div><div><br></div><div>In my document (being output a= s chunked html) most chapters/appendices only need a table of contents at t= he top of the chapter with toc.section.depth=3D2, toc.max.depth=3D2.=C2=A0 = There are some chapters with considerable detail that would benefit from al= so having a table of contents inserted at the top sect3 with toc.max.depth= =3D1.=C2=A0 And there is one appendix that only needs one toc at the top wi= th a max depth of 1.</div><div><br></div><div>Is there an easy way to obtai= n this variety?=C2=A0 Or am I heading down the path to madness?<br></div><d= iv><br></div><div>Thanks,</div><div><br></div><div>Tom<br></div><div><br></= div><div><br> </div></div> --000000000000e7842505fc70b75b--