</fo:page-sequence>
</xsl:if>
+ <xsl:if test="contains($toc.params,'procedure') and .//procedure">
+ <fo:page-sequence hyphenate="{$hyphenate}"
+ format="i"
+ master-reference="{$lot-master-reference}">
+ <xsl:attribute name="language">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:attribute>
+ <xsl:attribute name="format">
+ <xsl:call-template name="page.number.format">
+ <xsl:with-param name="element" select="'toc'"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:if test="$double.sided != 0">
+ <xsl:attribute name="initial-page-number">auto-odd</xsl:attribute>
+ </xsl:if>
+
+ <xsl:apply-templates select="." mode="running.head.mode">
+ <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+ <xsl:with-param name="gentext-key" select="'ListofProcedures'"/>
+ </xsl:apply-templates>
+
+ <xsl:apply-templates select="." mode="running.foot.mode">
+ <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+ <xsl:with-param name="gentext-key" select="'ListofProcedures'"/>
+ </xsl:apply-templates>
+
+ <fo:flow flow-name="xsl-region-body">
+ <xsl:call-template name="list.of.titles">
+ <xsl:with-param name="titles" select="'procedure'"/>
+ <xsl:with-param name="nodes" select=".//procedure[title]"/>
+ </xsl:call-template>
+ </fo:flow>
+ </fo:page-sequence>
+ </xsl:if>
+
<xsl:apply-templates select="$content"/>
</xsl:template>
</t:titlepage-before>
</t:titlepage>
+ <t:titlepage element="list.of.procedures" wrapper="fo:block">
+ <t:titlepage-content side="recto">
+ <title
+ force="1"
+ named-template="gentext"
+ param:key="'ListofProcedures'"
+ fo:space-before.minimum="1em"
+ fo:space-before.optimum="1.5em"
+ fo:space-before.maximum="2em"
+ fo:space-after="0.5em"
+ fo:margin-left="{$title.margin.left}"
+ fo:font-size="&hsize3;"
+ fo:font-weight="bold"
+ fo:font-family="{$title.font.family}"/>
+ </t:titlepage-content>
+
+ <t:titlepage-content side="verso">
+ </t:titlepage-content>
+
+ <t:titlepage-separator>
+ </t:titlepage-separator>
+
+ <t:titlepage-before side="recto">
+ </t:titlepage-before>
+
+ <t:titlepage-before side="verso">
+ </t:titlepage-before>
+ </t:titlepage>
+
<t:titlepage element="list.of.unknowns" wrapper="fo:block">
<t:titlepage-content side="recto">
<title
<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
+<xsl:attribute-set name="list.of.procedures.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.procedures.contents.titlepage.verso.style"/>
+
<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
<xsl:with-param name="nodes" select=".//equation[title]"/>
</xsl:call-template>
</xsl:if>
+
+ <xsl:if test="contains($toc.params, 'procedure')">
+ <xsl:call-template name="list.of.titles">
+ <xsl:with-param name="titles" select="'procedure'"/>
+ <xsl:with-param name="nodes" select=".//procedure[title]"/>
+ </xsl:call-template>
+ </xsl:if>
</xsl:template>
<!-- ====================================================================== -->
<xsl:when test="$titles='figure'">ListofFigures</xsl:when>
<xsl:when test="$titles='equation'">ListofEquations</xsl:when>
<xsl:when test="$titles='example'">ListofExamples</xsl:when>
- <xsl:otherwise>ListofUnknowns</xsl:otherwise>
+ <xsl:when test="$titles='procedure'">ListofProcedures</xsl:when>
+ <xsl:otherwise>ListofUnknown</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>
-<xsl:template match="figure|table|example|equation" mode="toc">
+<xsl:template match="figure|table|example|equation|procedure" mode="toc">
<xsl:param name="toc-context" select="."/>
<xsl:element name="{$toc.listitem.type}">