step

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: generate.step.title
Previous: procedure/title Up: Procedures procedure.mod.xsl

Reference Section

## Name

step — Process `step` [2.0.9] elements

## Synopsis

    <xsl:template match="step" name="step">
    <xsl:param name="mode" select="''"/>
    <xsl:param name="title">
    			<xsl:call-template name="generate.step.title">
    				<xsl:with-param name="mode" select="$mode"/>
    			</xsl:call-template>
    		</xsl:param>
      ...
    </xsl:template>

## A. Description

Format steps and substeps as part of a procedure.

## B. Pertinent Variables

- latex.step.title.style

## C. Template Parameters

mode
  The “mode” from the parent `procedure` [2.0.9]. This template needs to know when the “custom” mode is in use, because it needs to pass the step's title as an optional argument to the LaTeX `\item` command (see procedure). The mode is normally received from the enclosing `procedure` [2.0.9] or `substeps` [2.0.9] template.
title
  The string (typically empty). See generate.step.title

## D. DocBook Compliance and LaTeX Notes

Each step is typeset using the LaTeX `\item` command.

If there is no `title` [2.0.9] element, the step will be numbered automatically by LaTeX.

## E. Samples and Tests

`test_book.pdf` from `test_book/test.xml`, `test_chemistry.pdf` from `test_chemistry/test.xml`, `test_procedure.pdf` from `test_procedure/test.xml`

## F. Further Reading

- generate.step.title

Prev | Up | Next
procedure/title | Home | generate.step.title