</doc:mode>
<xsl:template match="*" mode="subtitle.markup">
- <xsl:message>
- <xsl:text>Request for subtitle of unexpected element: </xsl:text>
- <xsl:value-of select="local-name(.)"/>
- </xsl:message>
- <xsl:text>???SUBTITLE???</xsl:text>
+ <xsl:param name="verbose" select="1"/>
+ <xsl:if test="$verbose != 0">
+ <xsl:message>
+ <xsl:text>Request for subtitle of unexpected element: </xsl:text>
+ <xsl:value-of select="local-name(.)"/>
+ </xsl:message>
+ <xsl:text>???SUBTITLE???</xsl:text>
+ </xsl:if>
</xsl:template>
<xsl:template match="subtitle" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="set" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(setinfo/subtitle|info/subtitle|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="book" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(bookinfo/subtitle|info/subtitle|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="part" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(partinfo/subtitle
|docinfo/subtitle
|info/subtitle
|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="preface|chapter|appendix" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(docinfo/subtitle
|info/subtitle
|prefaceinfo/subtitle
|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="article" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(artheader/subtitle
|articleinfo/subtitle
|info/subtitle
|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="dedication|colophon" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(subtitle|info/subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="reference" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(referenceinfo/subtitle
|docinfo/subtitle
|info/subtitle
|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="qandaset" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(blockinfo/subtitle|info/subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="refentry" mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(refentryinfo/subtitle
|info/subtitle
|docinfo/subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>
|simplesect"
mode="subtitle.markup">
<xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:param name="verbose" select="1"/>
<xsl:apply-templates select="(info/subtitle
|sectioninfo/subtitle
|sect1info/subtitle
|subtitle)[1]"
mode="subtitle.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
</xsl:apply-templates>
</xsl:template>