generate.simplelist.vert

- SourceForge
- Home Page
- Samples

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

Suggestions
Search:
Next: member
Previous: generate.simplelist.horiz Up: Lists lists.mod.xsl

Reference Section

## Name

generate.simplelist.vert — Process `simplelist` [2.0.9] elements with “vert” `members` [2.0.9]

## Synopsis

    <xsl:template match="simplelist|simplelist[@type='vert']" name="generate.simplelist.vert">
    <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 that is either empty or equal to “vert”.

## 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 set, 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:

- generate.simplelist.inline
- generate.simplelist.horiz

Prev | Up | Next
generate.simplelist.horiz | Home | member