Suggestions |
---|
Search:
|
Next:
procedure/title |
Up:
Procedures procedure.mod.xsl |
<xsl:template match="procedure" name="procedure"> <xsl:param name="mode" select="''"/> <xsl:param name="environment"> <xsl:choose> <xsl:when test="$mode='custom'"> <xsl:text>description</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>enumerate</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:param> <xsl:variable name="placement"> <xsl:call-template name="generate.formal.title.placement"> <xsl:with-param name="object" select="local-name(.)"/> </xsl:call-template> </xsl:variable> <xsl:variable name="preamble" select="node()[not(self::blockinfo or self::title or self::subtitle or self::titleabbrev or self::step)]"/> ... </xsl:template>
By default, the LaTeX \begin{enumerate} environment is used and any step [2.0.9]'s title [2.0.9] will be typeset after its automatic step number. However, when the mode variable is equal to “custom”, the \begin{description} environment will be used and step titles will be typeset instead of step numbers.
Although the procedure is a formal, titled block, is is not typeset using \subsection.
test_book.pdf from test_book/test.xml, test_chemistry.pdf from test_chemistry/test.xml, test_procedure.pdf from test_procedure/test.xml