summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2015-02-20 11:41:33 +0100
committerBenjamin Franzke <bfr@qbus.de>2015-02-20 11:41:33 +0100
commit1f85c19765e9fc6def0c21f3208e73c4e9f2c087 (patch)
tree269ff5f7ae7627bc8356eafe0366a4885385fc9b
parent9475d1f8786537959b152435d9b76b56fd681a4b (diff)
downloadendnote-import-master.tar.gz
endnote-import-master.tar.bz2
endnote-import-master.zip
style2html: Convert greek transcriptionsHEADmaster
-rw-r--r--convert-style-to-html.xsl13
1 files changed, 12 insertions, 1 deletions
diff --git a/convert-style-to-html.xsl b/convert-style-to-html.xsl
index b22de5c..ac8b48c 100644
--- a/convert-style-to-html.xsl
+++ b/convert-style-to-html.xsl
@@ -45,7 +45,18 @@
<xsl:with-param name="face" select="str:replace($face, 'normal', '')"/>
</xsl:call-template>
</xsl:when>
-
+ <xsl:when test="@font = 'Symbol' and @charset='2'">
+ <xsl:choose>
+ <xsl:when test="text() = 'a'">α</xsl:when>
+ <xsl:when test="text() = 'b'">β</xsl:when>
+ <xsl:when test="text() = 'h'">η</xsl:when>
+ <xsl:when test="text() = 'm'">μ</xsl:when>
+ <xsl:when test="text() = 'n'">ν</xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates />
</xsl:otherwise>