OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Show chapters in both book and part TOCs


Is this for FO output or HTML output?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "Parker, Joel J. K. (GSFC-5950)" <joel.j.k.parker@nasa.gov>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, October 28, 2011 7:17 AM
Subject: [docbook-apps] Show chapters in both book and part TOCs


I have a book with parts, chapters, and sections. I'm trying to show a TOC at the book level with parts and chapters, and a TOC at the part level with just chapters.

It seemed from initial inspection that I should be able to set toc.section.depth = 0 to include everything exception section titles. But this doesn't do what I want: at the book level, this just shows the parts in the TOC. At the part level, it shows chapters (this is correct).

If I set toc.section.depth = 1, it goes too far: at the book level, it shows parts, chapters, and first-level sections, and at the part level, it shows chapters and first-level sections.

So what am I doing wrong here? With a depth of 0, the book TOC shows too little, and with a depth of 1, it shows too much!

Thanks,
- Joel

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]