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] 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]"/>

Note the additional refentry when selecting the node list.

thanks anyway,

Markus Hoenicka
(Spam-protected email: replace the quadrupeds with "mhoenicka")

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