Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
EOAauthor corrections
  • Loading branch information
Klaus Thoden committed Nov 20, 2018
1 parent 50b7ff8 commit 5504189
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tei2eoatex.xsl
Expand Up @@ -457,6 +457,7 @@ contexts, a double replacement is performed.
<xsl:variable name="formatted_author" select="concat(./tei:persName/tei:forename, ' ', ./tei:persName/tei:surname)"/>
<xsl:value-of select="$formatted_author"/>
</xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when>
<xsl:when test="$num_authors = 2">
<xsl:text>\EOAauthor{</xsl:text>
Expand All @@ -467,6 +468,7 @@ contexts, a double replacement is performed.
<xsl:text> and </xsl:text>
</xsl:if>
</xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when>
<xsl:when test="$num_authors > 2">
<xsl:text>\EOAauthor{</xsl:text>
Expand All @@ -482,13 +484,14 @@ contexts, a double replacement is performed.
</xsl:when>
</xsl:choose>
</xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="eoa:debug(1, 'No chapter author: ', node())" />
<xsl:text>}</xsl:text>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:text>}</xsl:text> -->
<xsl:text>}</xsl:text>
<xsl:text>&#x000a;</xsl:text>
<xsl:choose>
<xsl:when test="not(../@xml:id)">
Expand Down

0 comments on commit 5504189

Please sign in to comment.