Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Authors and braces
  • Loading branch information
Klaus Thoden committed Dec 3, 2018
1 parent 764a10d commit 0391415
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tei2eoatex.xsl
Expand Up @@ -570,6 +570,7 @@ contexts, a double replacement is performed.
<xsl:variable name="formatted_author" select="concat(./tei:persName/tei:forename, ' ', ./tei:persName/tei:surname)"/> <xsl:variable name="formatted_author" select="concat(./tei:persName/tei:forename, ' ', ./tei:persName/tei:surname)"/>
<xsl:value-of select="$formatted_author"/> <xsl:value-of select="$formatted_author"/>
</xsl:for-each> </xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when> </xsl:when>
<xsl:when test="$num_authors = 2"> <xsl:when test="$num_authors = 2">
<xsl:text>\EOAauthor{</xsl:text> <xsl:text>\EOAauthor{</xsl:text>
Expand All @@ -580,6 +581,7 @@ contexts, a double replacement is performed.
<xsl:text> and </xsl:text> <xsl:text> and </xsl:text>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when> </xsl:when>
<xsl:when test="$num_authors > 2"> <xsl:when test="$num_authors > 2">
<xsl:text>\EOAauthor{</xsl:text> <xsl:text>\EOAauthor{</xsl:text>
Expand All @@ -595,13 +597,13 @@ contexts, a double replacement is performed.
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
<xsl:text>}</xsl:text>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="eoa:debug(1, 'No chapter author: ', node())" /> <xsl:value-of select="eoa:debug(1, 'No chapter author: ', node())" />
<xsl:text>}</xsl:text> <!-- <xsl:text>}</xsl:text> -->
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:text>}</xsl:text>
<xsl:text>}&#x000a;</xsl:text> <xsl:text>}&#x000a;</xsl:text>
<xsl:choose> <xsl:choose>
<xsl:when test="not(../@xml:id)"> <xsl:when test="not(../@xml:id)">
Expand Down

0 comments on commit 0391415

Please sign in to comment.