</xsl:call-template>
</xsl:template>
-<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect"
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect
+ |bridgehead"
mode="object.title.template">
<xsl:choose>
<xsl:when test="$section.autolabel != 0">
<xsl:template match="section|simplesect
|sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3"
+ |refsect1|refsect2|refsect3
+ |bridgehead"
mode="object.xref.template">
<xsl:choose>
<xsl:when test="$section.autolabel != 0">
<xsl:template match="section|simplesect
|sect1|sect2|sect3|sect4|sect5
- |refsect1|refsect2|refsect3"
+ |refsect1|refsect2|refsect3
+ |bridgehead"
mode="object.xref.markup">
<xsl:variable name="template">
<xsl:apply-templates select="." mode="object.xref.template"/>
</xsl:apply-templates>
</xsl:template>
+<xsl:template match="bridgehead" mode="title.markup">
+ <xsl:apply-templates mode="title.markup"/>
+</xsl:template>
+
<xsl:template match="bibliography" mode="title.markup">
<xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="title" select="(bibliographyinfo/title|title)[1]"/>
</xsl:choose>
</xsl:variable>
- <xsl:call-template name="section.heading">
- <xsl:with-param name="level" select="$level"/>
- <xsl:with-param name="title">
- <xsl:apply-templates/>
- </xsl:with-param>
- </xsl:call-template>
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <fo:block id="{$id}">
+ <xsl:call-template name="section.heading">
+ <xsl:with-param name="level" select="$level"/>
+ <xsl:with-param name="title">
+ <xsl:apply-templates/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </fo:block>
</xsl:template>
</xsl:stylesheet>
<!-- What about "in Chapter X"? -->
</xsl:template>
+<xsl:template match="bridgehead" mode="xref-to">
+ <xsl:apply-templates select="." mode="object.xref.markup"/>
+ <!-- What about "in Chapter X"? -->
+</xsl:template>
+
<xsl:template match="qandaset" mode="xref-to">
<xsl:apply-templates select="." mode="object.xref.markup"/>
</xsl:template>
<!-- What about "in Chapter X"? -->
</xsl:template>
+<xsl:template match="bridgehead" mode="xref-to">
+ <xsl:apply-templates select="." mode="object.xref.markup"/>
+ <!-- What about "in Chapter X"? -->
+</xsl:template>
+
<xsl:template match="qandaset" mode="xref-to">
<xsl:apply-templates select="." mode="object.xref.markup"/>
</xsl:template>