[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to make refentries show up in the TOC
Stephen Langer writes:
> Does that help? I don't get the refentries listed in the top level
> toc, but I don't want them there.
Not exactly, except that it convinced me that I'd have to use a
customization instead of just setting a parameter. Turns out that I
have to use this (for all sectX that contain refentries):
<xsl:template match="sect1" mode="toc">
<xsl:param name="toc-context" select="."/>
<xsl:call-template name="subtoc">
<xsl:with-param name="toc-context" select="$toc-context"/>
<xsl:with-param name="nodes" select="sect2|refentry |bridgehead[$bridgehead.in.toc != 0]"/>
</xsl:call-template>
</xsl:template>
Note the additional refentry when selecting the node list.
thanks anyway,
Markus
--
Markus Hoenicka
markus.hoenicka@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]