From: SourceForge.net <no...@so...> - 2004-04-24 16:14:25
|
Feature Requests item #456943, was opened at 2001-08-30 20:45 Message generated for change (Comment added) made by kosek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373750&aid=456943&group_id=21935 Category: DocBook XSL Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Erik Hennum (efh) >Assigned to: Jirka Kosek (kosek) Summary: option for relative TOC depth Initial Comment: Release: DocBook XSLT / HTML 1.42 Request: Add an option to specify the depth of the TOC emitted in an HTML file relative to the current node. For instance, if the relative depth were 2, o The chapter TOC would list section 1 and section 2. o The section 1 TOC would list section 2 and section 3. One approach might be to provide a global parameter that provides the default for a parameter to the TOC-generation template. Note that the relative depth would apply only to a top-of-page TOC. When generating a complete, top-level book TOC in its own file (see separate feature request), the relative depth would be ignored. Rationale: As the user drills down through the book, providing a relative-depth TOC gives the user a preview of what's ahead without overwhelming the user with detail at the top levels or forcing scrolling to the content of top-level pages. ---------------------------------------------------------------------- >Comment By: Jirka Kosek (kosek) Date: 2004-04-24 18:14 Message: Logged In: YES user_id=189932 You can use toc.max.depth parameter for this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373750&aid=456943&group_id=21935 |