Suggestions
Search:
 
Next:
generate.simplelist.vert
Previous:
generate.simplelist.inline
Up:
Lists lists.mod.xsl
Reference Section

Name

generate.simplelist.horiz — Process simplelist [2.0.9] elements with “horizmembers [2.0.9]

Synopsis

<xsl:template match="simplelist[@type='horiz']" name="generate.simplelist.horiz">
<xsl:param name="environment">
			<xsl:choose>
				<xsl:when test="$latex.use.ltxtable='1' or $latex.use.longtable='1'">
					<xsl:text>longtable</xsl:text>
				</xsl:when>
				<xsl:otherwise>
					<xsl:text>tabular</xsl:text>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:param>
<xsl:param name="cols">
			<xsl:choose>
			<xsl:when test="@columns">
				<xsl:value-of select="@columns"/>
			</xsl:when>
			<xsl:otherwise>1</xsl:otherwise>
			</xsl:choose>
		</xsl:param>
  ...
</xsl:template>

A. Description

Formats a simple, comma-separated list for a simplelist [2.0.9] that has a type attribute equal to “horiz”.

B. Pertinent Variables

There are no configuration variables for this template.

C. Template Parameters

environment
The LaTeX tabular-like environment to use. Defaults to “tabular” unless latex.use.ltxtable or latex.use.longtable is enabled, in which case the default is “longtable”.
cols
The number of members per line (defaults to the value of the columns attribute).

D. DocBook Compliance and LaTeX Notes

This is formatted as a border-less LaTeX table.

G. Variations

Variations on this template: