Mode:

Compact lists

Showing:

Documentation
Included from
Source
Stylesheet header.xsl
Documentation

Description

TEI stylesheet dealing with elements from the header module, making LaTeX output.

This software is dual-licensed: 1. Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/ 2. http://www.opensource.org/licenses/BSD-2-Clause All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Author: See AUTHORS

Id: $Id: header.xsl 9646 2011-11-05 23:39:08Z rahtz $

Copyright: 2011, TEI Consortium

Included from
Stylesheet version 2.0
Template tei:docAuthor
Documentation

Description

Process element docAuthor
Namespace No namespace
Match tei:docAuthor
Mode #default
Import precedence 4
Source
<xsl:template match="tei:docAuthor">
  <xsl:if test="not(preceding-sibling::tei:docAuthor)">
    <xsl:text>\author{</xsl:text>
  </xsl:if>
  <xsl:apply-templates/>
  <xsl:choose>
    <xsl:when test="count(following-sibling::tei:docAuthor)=1">and</xsl:when>
    <xsl:when test="following-sibling::tei:docAuthor">,</xsl:when>
  </xsl:choose>
  <xsl:if test="not(following-sibling::tei:docAuthor)">
    <xsl:text>}</xsl:text>
  </xsl:if>
</xsl:template>
Stylesheet location header.xsl
Template tei:docAuthorauthor
Namespace No namespace
Match tei:docAuthor
Mode author
Import precedence 4
Source
<xsl:template match="tei:docAuthor" mode="author">
  <xsl:apply-templates/>
  <xsl:choose>
    <xsl:when test="count(following-sibling::tei:docAuthor)=1">and</xsl:when>
    <xsl:when test="following-sibling::tei:docAuthor">,</xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location header.xsl
Template tei:docDate
Documentation

Description

Process element docDate
Namespace No namespace
Match tei:docDate
Mode #default
Import precedence 4
Source
<xsl:template match="tei:docDate">\date{
  <xsl:apply-templates/>}</xsl:template>
Stylesheet location header.xsl
Template tei:docImprint
Documentation

Description

Process element docImprint
Namespace No namespace
Match tei:docImprint
Mode #default
Import precedence 4
Source
<xsl:template match="tei:docImprint">
</xsl:template>
Stylesheet location header.xsl