[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Html: suppressing separate titlepage for book/article
Hi,
A problem has surfaced wrt navigation.
The 'next' link now points to a non-existent file.
Given this:
<chapter id="cl-annotate" xreflabel="Callgrind Annotate">
<title>Callgrind Annotate</title>
<xi:include href="cl-annotate.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</chapter>
Then an incorrect $next is being generated from
<article id="callgrind_annotate">
so that the nav. link points to
file:///home/de/BUILD/callgrind-0.10.1/docs/html/callgrind_annotate.html
when it should in fact point to the next chapter.
I think (?) this is happening in both
<xsl:template name="header.navigation">
and
<xsl:template name="footer.navigation">
Am I right in thinking I'm going to have to modify these lines in some
fashion:
<xsl:if test="count($prev)>0">
<a accesskey="p">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$prev"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="navig.content">
<xsl:with-param name="direction" select="'prev'"/>
</xsl:call-template>
</a>
</xsl:if>
I'd appreciate some help on what to do here.
Regards,
Donna
(PS: of course all this applies to the 'prev' link also,
when on the next chapter page)
--
There is not a shred of evidence to suggest
that life should be taken seriously
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]