Permalink
Browse files

EOAauthor corrections

  • Loading branch information...
kthoden committed Nov 20, 2018
1 parent 50b7ff8 commit 5504189c346775699924982dc5903897fc9de624
Showing with 4 additions and 1 deletion.
  1. +4 −1 tei2eoatex.xsl
@@ -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>
@@ -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>
@@ -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)">

0 comments on commit 5504189

Please sign in to comment.