<fo:block font-size="12pt" font-family="sans-serif">
<xsl:text>Author</xsl:text>
<xsl:if test="count(d:author) > 1">s</xsl:if>
- <xsl:text>:</xsl:text>
+ <xsl:if test="d:othercredit">
+ <xsl:text> and other credited contributors</xsl:text>
+ </xsl:if>
+ <xsl:text>:</xsl:text>
</fo:block>
- <xsl:apply-templates select="d:author" mode="howto-titlepage"/>
+ <xsl:apply-templates select="d:author|d:othercredit" mode="howto-titlepage"/>
</xsl:template>
-<xsl:template match="d:author" mode="howto-titlepage">
+<xsl:template match="d:author|d:othercredit" mode="howto-titlepage">
<fo:block xsl:use-attribute-sets="urilist">
<xsl:apply-templates select="d:personname"/>
<xsl:if test="d:email">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="d:email"/>
</xsl:if>
- </fo:block>
+ <xsl:if test="@otherclass">
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="normalize-space(@otherclass)"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ </fo:block>
</xsl:template>
<xsl:attribute-set name="monospace.properties">
<fo:block font-size="12pt" font-family="sans-serif">
<xsl:text>Author</xsl:text>
<xsl:if test="count(author) > 1">s</xsl:if>
+ <xsl:if test="othercredit">
+ <xsl:text> and other credited contributors</xsl:text>
+ </xsl:if>
<xsl:text>:</xsl:text>
</fo:block>
- <xsl:apply-templates select="author" mode="howto-titlepage"/>
+ <xsl:apply-templates select="author|othercredit" mode="howto-titlepage"/>
</xsl:template>
-<xsl:template match="author" mode="howto-titlepage">
+<xsl:template match="author|othercredit" mode="howto-titlepage">
<fo:block xsl:use-attribute-sets="urilist">
<xsl:apply-templates select="personname"/>
<xsl:if test="email">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="email"/>
</xsl:if>
- </fo:block>
+ <xsl:if test="@otherclass">
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="normalize-space(@otherclass)"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ </fo:block>
</xsl:template>
<xsl:attribute-set name="monospace.properties">
<h4>
<xsl:text>Author</xsl:text>
<xsl:if test="count(d:author) > 1">s</xsl:if>
+ <xsl:if test="d:othercredit">
+ <xsl:text> and other credited contributors</xsl:text>
+ </xsl:if>
<xsl:text>:</xsl:text>
</h4>
<dl class="authorlist">
- <xsl:apply-templates select="d:author" mode="howto-titlepage"/>
+ <xsl:apply-templates select="d:author|d:othercredit" mode="howto-titlepage"/>
</dl>
</xsl:template>
-<xsl:template match="d:author" mode="howto-titlepage">
+<xsl:template match="d:author|d:othercredit" mode="howto-titlepage">
<dt>
<xsl:apply-templates select="d:personname"/>
<xsl:if test="d:email">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="d:email"/>
</xsl:if>
+ <xsl:if test="@otherclass">
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="normalize-space(@otherclass)"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
</dt>
</xsl:template>
<h4>
<xsl:text>Author</xsl:text>
<xsl:if test="count(author) > 1">s</xsl:if>
+ <xsl:if test="othercredit">
+ <xsl:text> and other credited contributors</xsl:text>
+ </xsl:if>
<xsl:text>:</xsl:text>
</h4>
<dl class="authorlist">
- <xsl:apply-templates select="author" mode="howto-titlepage"/>
+ <xsl:apply-templates select="author|othercredit" mode="howto-titlepage"/>
</dl>
</xsl:template>
-<xsl:template match="author" mode="howto-titlepage">
+<xsl:template match="author|othercredit" mode="howto-titlepage">
<dt>
<xsl:apply-templates select="personname"/>
<xsl:if test="email">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="email"/>
</xsl:if>
+ <xsl:if test="@otherclass">
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="normalize-space(@otherclass)"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
</dt>
</xsl:template>