Permalink
Browse files

paragraph types

  • Loading branch information...
kthoden committed Dec 7, 2018
1 parent 3fe638f commit d60eb76ff9664c3cd085832807a7e6ed745ccc0a
Showing with 6 additions and 1 deletion.
  1. +6 −1 tei2eoatex.xsl
@@ -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 />

0 comments on commit d60eb76

Please sign in to comment.