book/article

- SourceForge
- Home Page
- Samples

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

Suggestions
Search:
Next: article
Previous: bookinfo/copyright Up: Books and Articles book article.mod.xsl

Reference Section

## Name

book/article — Process a `book` [2.0.9]'s `article` [2.0.9] elements

## Synopsis

    <xsl:template match="book/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 a `book`'s `articles` [2.0.9].

## B. Pertinent Variables

- latex.book.article.title.style
- latex.book.article.header.style

## D. DocBook Compliance and LaTeX Notes

For double-sided books, each article will commence on a right-hand page.

This template will call upon the following variables or templates in this order: `generate.latex.pagestyle`, `title` (or `articleinfo` [2.0.9] or `artheader` [2.0.9]), `$latex.book.article.title.style`, `date` (from `articleinfo` or `artheader`), `authorgroup` or `author` (or `articleinfo` or `artheader`), `$latex.book.article.header.style`, `articleinfo` or `artheader` in the XSLT `article.within.book` mode, `content-templates`.

## F. Further Reading

- generate.latex.pagestyle
- article/artheader|article/articleinfo (in article.within.book mode)

## G. Variations

Variations on this template:

- article

Prev | Up | Next
bookinfo/copyright | Home | article