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


Hi Joel,
This turns out to be a bug in the stylesheets, for both fo and html. I just fixed it in the SVN repository, so the changes should be in the next release. The files I changed were fo/autotoc.xsl and html/autotoc.xsl if you want to pick them up from the SourceForge SVN repository and compare to your current version in case you need to fix this right away.

Thanks for the report.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "Parker, Joel J. K. (GSFC-5950)" <joel.j.k.parker@nasa.gov>
To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org>
Sent: Monday, October 31, 2011 10:26 AM
Subject: RE: [docbook-apps] Show chapters in both book and part TOCs


FO. I haven't tried HTML yet, but I can do that and let you know if it's the same.

- Joel


-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Saturday, October 29, 2011 12:31 AM
To: Parker, Joel J. K. (GSFC-5950); docbook-apps@lists.oasis-open.org
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]