article

- SourceForge
- Home Page
- Samples

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

Suggestions
Search:
Next: articleinfo/date artheader/date
Previous: book/article Up: Books and Articles book article.mod.xsl

Reference Section

## Name

article — Process a DocBook `article` [2.0.9] document

## Synopsis

    <xsl:template match="article">
    <xsl:variable name="article.title">
    			<xsl:choose>
    				<xsl:when test="./title">
    					<xsl:apply-templates select="./title"/>
    				</xsl:when>
    				<xsl:when test="./articleinfo/title">
    					<xsl:apply-templates select="./articleinfo/title"/>
    				</xsl:when>
    				<xsl:otherwise>
    					<xsl:apply-templates select="./artheader/title"/>
    				</xsl:otherwise>
    			</xsl:choose>
    		</xsl:variable>
    <xsl:variable name="article.date">
    			<xsl:apply-templates select="./artheader/date|./articleinfo/date"/>
    		</xsl:variable>
      ...
    </xsl:template>

## A. Description

Entry point for `articles` [2.0.9].

## B. Pertinent Variables

- toc.section.depth
- section.depth
- latex.article.title.style
- latex.maketitle

## D. DocBook Compliance and LaTeX Notes

This template will call upon the following variables or templates in this order: `generate.latex.article.preamble`, `$toc.section.depth`, `$section.depth`, `title` (or `articleinfo` [2.0.9] or `artheader` [2.0.9]), `$latex.article.title.style`, `date` (from `articleinfo` or `artheader`), `authorgroup` or `author` (or `articleinfo` or `artheader`), `map.begin`, `$latex.maketitle`, `articleinfo` or `artheader`, `content-templates`, `map.end`.

## E. Samples and Tests

`test_article.pdf` from `test_article/article.xml`, `test_minimal.pdf` from `test_minimal/minimal.xml`

## F. Further Reading

- The DB2LaTeX mapping system latex.mapping.xsl: this template will use the `article` mappings.
- article/artheader|article/articleinfo (in standalone.article mode)
- generate.latex.article.preamble

## G. Variations

Variations on this template:

- book/article

Prev | Up | Next
book/article | Home | articleinfo/date|artheader/date