[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Remove index from "prev" and "next" order
> -----Original Message----- > From: Peter Desjardins > > My problem is that the last chunk before the index (which is the final > chunk) contains a "next" link that will load the index chunk in the > content frame. I want to make the last chunk before the > index (which is > the actual last chunk) think that it really is the last chunk. This > would give it a "prev" link and no "next" link. > > Is there a way to customize the XSLT so that the index is not > considered > in the order of "prev" and "next"? My attempts to do this have only > broken the whole conversion so far. Add a few changes to your customization of the templates with name="footer.navigation" and "header.navigation": Where it says <xsl:if test="count($next)>0">, change it to <xsl:if test="count($next)>0 and not(local-name($next) = 'index')"> If navig.showtitles = 1, also look in "footer.navigation" for <xsl:if test="$navig.showtitles != 0">, and modify as above. /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]