Suggestions
Search:
 
Next:
informalexample
Up:
Examples example.mod.xsl
Reference Section

Name

example — Process example [2.0.9] elements

Synopsis

<xsl:template match="example">
<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="caption">
			<xsl:text>{</xsl:text>
			<xsl:value-of select="$latex.example.caption.style"/>
			<xsl:text>{\caption{</xsl:text>
			<xsl:apply-templates select="title" mode="caption.mode"/>
			<xsl:text>}</xsl:text>
			<xsl:call-template name="label.id"/>
			<xsl:text>}}
</xsl:text>
		</xsl:variable>
  ...
</xsl:template>

A. Description

Format a caption.

B. Pertinent Variables

E. Samples and Tests

test_book.pdf from test_book/test.xml, test_program.pdf from test_program/test.xml

F. Further Reading