$(XJPARSE) $(VPATH)/$<
$(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
-index.html: documentation.xml $(BSTYLE) reference.xml
+index.html: documentation.xml $(BSTYLE) reference.xml \
+ publishing.xml extensions.xml templates.xml html/param.xml \
+ tools/profiling.xml htmlhelp.xml
$(XJPARSE) $(VPATH)/$<
- $(XSLT) $(PROCOPT) $< $(BSTYLE) $@ $(XSLTOPT)
+ $(XSLT) $(PROCOPT) $< $(BSTYLE) $(XSLTOPT)
clean:
rm -f *.html
<xsl:template match="bookinfo/copyright|reference/copyright"
mode="titlepage.mode">
- <xsl:variable name="years" select="year"/>
- <xsl:variable name="holders" select="holder"/>
-
<p class="{name(.)}">
- <a href="copyright.html">
- <xsl:call-template name="gentext.element.name"/>
- </a>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Copyright'"/>
+ </xsl:call-template>
<xsl:call-template name="gentext.space"/>
<xsl:call-template name="dingbat">
<xsl:with-param name="dingbat">copyright</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="$years" mode="titlepage.mode"/>
- <xsl:call-template name="gentext.space"/>
- <xsl:call-template name="gentext.by"/>
+ <xsl:call-template name="copyright.years">
+ <xsl:with-param name="years" select="year"/>
+ <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+ <xsl:with-param name="single.year.ranges"
+ select="$make.single.year.ranges"/>
+ </xsl:call-template>
<xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+ <xsl:apply-templates select="holder" mode="titlepage.mode"/>
<xsl:text>. </xsl:text>
<a href="warranty.html">No Warranty</a>
<xsl:text>.</xsl:text>