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: Single-file HTML TOC entry for all of the file?


>>>>> "Bob Stayton" <bobs@sagehill.net>:

[On making the TOC of generated single-file HTML documents start with
 a link to the top of the article]

> The template named component.toc in html/autotoc.xsl generates the
> TOC for an article (and chapter, etc.). It calls make.toc with a
> nodes parameter for the top level elements in the TOC.  Normally it
> selects all the child nodes, but you could customize it to select
> the article element itself as its content, and then the recursive
> process will select the sections below the article:

This worked like a charm!

Thanx Bob! 



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