[moving to docbook-apps] What you are describing sounds like the webhelp output. Did you consider using that?
Webhelp produces HTML pages with the full TOC on each page. I have customized the HTML and CSS significantly to match different web sites and branding. Peter On Wed, Oct 21, 2015 at 9:39 PM, Aristedes Maniatis <a...@ish.com.au> wrote: > I have chunked html output from docbook 5, and want to output the entire TOC > on every page, including all parents of the chapter currently being rendered. > > I found one approach here: http://markmail.org/message/xpmrfboyu3tr5ehn > > But it is 11 years old, and not quite right, so I modified it a little... > > <!-- show all sections in TOC, including parents of the current section > --> > <xsl:template match="chapter" mode="toc"> > <xsl:param name="toc-context" select="."/> > > <xsl:for-each select="ancestor::book"> > <xsl:apply-templates select="book" mode="toc"> > <xsl:with-param name="toc-context" select="."/> > </xsl:apply-templates> > </xsl:for-each> > </xsl:template> > > but it doesn't work. I'm a bit out of my depth with this level of XSLT > hackery. Any help would be welcome... > > > > Ari > > > > -- > --------------------------> > Aristedes Maniatis > ish > http://www.ish.com.au > Level 1, 30 Wilson Street Newtown 2042 Australia > phone +61 2 9550 5001 fax +61 2 9550 4001 > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org