Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
paragraph types
  • Loading branch information
Klaus Thoden committed Dec 7, 2018
1 parent 3fe638f commit d60eb76
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tei2eoatex.xsl
Expand Up @@ -138,11 +138,16 @@ contexts, a double replacement is performed.

<xsl:template match="tei:body//tei:p[not(ancestor::tei:note)]">
<xsl:choose>
<xsl:when test="@rend='quote'">
<xsl:when test="@type='quote'">
<xsl:text>\begin{EOAquote}</xsl:text>
<xsl:apply-templates/>
<xsl:text>\end{EOAquote}</xsl:text>
</xsl:when>
<xsl:when test="@type='abstract'">
<xsl:text>\begin{EOAabstract}</xsl:text>
<xsl:apply-templates/>
<xsl:text>\end{EOAabstract}</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>&#x000a;&#x000a;</xsl:text>
<xsl:apply-templates />
Expand Down

0 comments on commit d60eb76

Please sign in to comment.