Suggestions |
---|
Search:
|
Next:
articleinfo/date artheader/date |
Previous:
book/article Up: Books and Articles book article.mod.xsl |
<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>
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.
test_article.pdf from test_article/article.xml, test_minimal.pdf from test_minimal/minimal.xml