diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /external/xsltml/xsltml_2.1.2.patch | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | external/xsltml/xsltml_2.1.2.patch | 1718 |
1 files changed, 1718 insertions, 0 deletions
diff --git a/external/xsltml/xsltml_2.1.2.patch b/external/xsltml/xsltml_2.1.2.patch new file mode 100644 index 000000000..f02b0c594 --- /dev/null +++ b/external/xsltml/xsltml_2.1.2.patch @@ -0,0 +1,1718 @@ +--- misc/xsltml_2.1.2/cmarkup.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/cmarkup.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -5,9 +5,9 @@ + version='1.0'> + + <!-- ====================================================================== --> +-<!-- $Id: cmarkup.xsl,v 1.8 2003/06/10 12:24:04 shade33 Exp $ ++<!-- $Id: cmarkup.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> + +@@ -156,7 +156,7 @@ + <xsl:text> & \text{if $</xsl:text> + <xsl:apply-templates select="*[2]"/> + <xsl:text>$}</xsl:text> +- <xsl:if test="not(position()=last()) or ../m:otherwise"><xsl:text>\\ </xsl:text></xsl:if> ++ <xsl:if test="not(position()=last()) or ../m:otherwise"><xsl:text>\\ </xsl:text></xsl:if> + </xsl:template> + + <xsl:template match="m:otherwise"> +@@ -223,7 +223,7 @@ + <xsl:template match="m:apply[*[1][self::m:minus] and count(*)=2]"> + <xsl:text>-</xsl:text> + <xsl:apply-templates select="*[2]"> +- <xsl:with-param name="p" select="5"/> ++ <xsl:with-param name="p" select="2"/> + </xsl:apply-templates> + </xsl:template> + +@@ -234,7 +234,8 @@ + <xsl:with-param name="p" select="$p"/> + <xsl:with-param name="this-p" select="2"/> + </xsl:call-template> +-</xsl:template> ++</xsl:template> ++ + + <!-- 4.4.3.6 plus--> + <xsl:template match="m:apply[*[1][self::m:plus]]"> +@@ -585,12 +586,15 @@ + </xsl:template> + + <xsl:template match="m:apply[*[1][self::m:partialdiff]]" priority="1"> +- <xsl:text>\frac{\partial^{</xsl:text> ++ <xsl:text>\frac{\partial</xsl:text> + <xsl:choose> + <xsl:when test="m:degree"> ++ <xsl:text>^{</xsl:text> + <xsl:apply-templates select="m:degree/node()"/> ++ <xsl:text>}</xsl:text> + </xsl:when> + <xsl:when test="m:bvar/m:degree[string(number(.))='NaN']"> ++ <xsl:text>^{</xsl:text> + <xsl:for-each select="m:bvar/m:degree"> + <xsl:apply-templates select="node()"/> + <xsl:if test="position()<last()"><xsl:text>+</xsl:text></xsl:if> +@@ -599,12 +603,15 @@ + <xsl:text>+</xsl:text> + <xsl:value-of select="count(m:bvar[not(m:degree)])"/> + </xsl:if> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)]) > 1"> ++ <xsl:text>^{</xsl:text> ++ <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> ++ <xsl:text>}</xsl:text> + </xsl:when> +- <xsl:otherwise> +- <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> +- </xsl:otherwise> + </xsl:choose> +- <xsl:text>}</xsl:text> ++ <xsl:text> </xsl:text> + <xsl:apply-templates select="*[last()]"/> + <xsl:text>}{</xsl:text> + <xsl:for-each select="m:bvar"> +@@ -943,7 +950,7 @@ + <xsl:text>\left(\begin{array}{c}</xsl:text> + <xsl:for-each select="*"> + <xsl:apply-templates select="."/> +- <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> ++ <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> + </xsl:for-each> + <xsl:text>\end{array}\right)</xsl:text> + </xsl:template> +@@ -961,7 +968,7 @@ + <xsl:apply-templates select="."/> + <xsl:if test="position()!=last()"><xsl:text> & </xsl:text></xsl:if> + </xsl:for-each> +- <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> ++ <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> + </xsl:template> + + <!-- 4.4.10.4 determinant --> +--- misc/xsltml_2.1.2/entities.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/entities.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -4,17 +4,56 @@ + version='1.0'> + + <!-- ====================================================================== --> +-<!-- $Id: entities.xsl,v 1.13 2003/06/10 12:28:03 shade33 Exp $ ++<!-- $Id: entities.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> ++<xsl:variable name="apos">'</xsl:variable> ++ ++<!-- ++ Missing MathML equivalents for: ++ ++ a \leslant b ++ a \geslant b ++ ++ Unsupported in WikiMedia: ++ ++ \oiint x ++ \oiiint x ++ ƛ ++ \adots ++ ++ --> + + <xsl:template name="replaceEntities"> + <xsl:param name="content"/> + <xsl:if test="string-length($content)>0"> + <xsl:choose> + <xsl:when test="starts-with($content,' ')"><xsl:value-of select="'\; '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'   ')"><xsl:value-of select="'\; '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '   ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'#')"><xsl:value-of select="'\# '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '#')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'$')"><xsl:value-of select="'\$ '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '$')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'%')"><xsl:value-of select="'\% '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '%')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'&')"><xsl:value-of select="'\& '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '&')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'*')"><xsl:value-of select="'\ast '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '*')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,':')"><xsl:value-of select="'\colon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ':')"/></xsl:call-template></xsl:when> ++ <!-- Note: \less is not supported by WikiMedia. --> ++ <xsl:when test="starts-with($content,'<')"><xsl:value-of select="'< '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '<')"/></xsl:call-template></xsl:when> ++ <!-- Note: \greater is not supported by WikiMedia. --> ++ <xsl:when test="starts-with($content,'>')"><xsl:value-of select="'> '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '>')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'[')"><xsl:value-of select="'\lbrack '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '[')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'\')"><xsl:value-of select="'\backslash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '\')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,']')"><xsl:value-of select="'\rbrack '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ']')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'^')"><xsl:value-of select="'\textasciicircumflex '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '^')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'_')"><xsl:value-of select="'\_ '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '_')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'`')"><xsl:value-of select="'\textasciigrave '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '`')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'{')"><xsl:value-of select="'\lbrace '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '{')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'|')"><xsl:value-of select="'\vert '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '|')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'}')"><xsl:value-of select="'\rbrace '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '}')"/></xsl:call-template></xsl:when> ++ <!-- Note: \textasciitilde is not supported by WikiMedia. --> ++ <xsl:when test="starts-with($content,'~')"><xsl:value-of select="'\sim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '~')"/></xsl:call-template></xsl:when> ++ + <xsl:when test="starts-with($content,'ɛ')"><xsl:value-of select="'\varepsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɛ')"/></xsl:call-template></xsl:when> <!--/varepsilon --> + <xsl:when test="starts-with($content,'˙')"><xsl:value-of select="'\dot{}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˙')"/></xsl:call-template></xsl:when> <!--/DiacriticalDot --> + <!-- ====================================================================== --> +@@ -22,51 +61,324 @@ + C1 Controls and Latin-1 Supplement + Range: 0080-00FF + http://www.unicode.org/charts/PDF/U0080.pdf --> +-<!-- ====================================================================== --> ++<!-- ====================================================================== --> ++ <xsl:when test="starts-with($content,'¡')"><xsl:value-of select="'\textexclamdown '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¡')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'¢')"><xsl:value-of select="'\mbox{\textcent}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¢')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'£')"><xsl:value-of select="'\pounds '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '£')"/></xsl:call-template></xsl:when> <!--pound sign --> ++ <xsl:when test="starts-with($content,'¤')"><xsl:value-of select="'\mbox{\textcurrency}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¤')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'¥')"><xsl:value-of select="'\yen '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¥')"/></xsl:call-template></xsl:when> <!--/yen =yen sign --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'§')"><xsl:value-of select="'\S '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '§')"/></xsl:call-template></xsl:when> <!--section sign --> ++ <xsl:when test="starts-with($content,'¨')"><xsl:value-of select="'\textasciidieresis '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¨')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'©')"><xsl:value-of select="'\copyright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '©')"/></xsl:call-template></xsl:when> <!--copyright sign --> ++ <xsl:when test="starts-with($content,'ª')"><xsl:value-of select="'\textordfeminine '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ª')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'«')"><xsl:value-of select="'\mbox{\guillemotleft}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '«')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'¬')"><xsl:value-of select="'\neg '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¬')"/></xsl:call-template></xsl:when> <!--/neg /lnot =not sign --> ++ <xsl:when test="starts-with($content,'­')"><xsl:value-of select="'\- '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '­')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'®')"><xsl:value-of select="'\circledR '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '®')"/></xsl:call-template></xsl:when> <!--/circledR =registered sign --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'¯')"><xsl:value-of select="'\textasciimacron '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¯')"/></xsl:call-template></xsl:when> ++ <!-- Note: The degree sign is not supported by WikiMedia. Instead of "^\circ" (as supposed by the WikiMedia TeX help), simply \circ is used, because this is what the OOo math editor displays (bug?). --> ++ <xsl:when test="starts-with($content,'°')"><xsl:value-of select="'\circ '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '°')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'±')"><xsl:value-of select="'\pm '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '±')"/></xsl:call-template></xsl:when> <!--/pm B: =plus-or-minus sign --> +- <xsl:when test="starts-with($content,'µ')"><xsl:value-of select="'\mu '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'µ')"/></xsl:call-template></xsl:when> <!--=micro sign --> ++ <xsl:when test="starts-with($content,'²')"><xsl:value-of select="'{^2}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '²')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'³')"><xsl:value-of select="'{^3}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '³')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'´')"><xsl:value-of select="'\textasciiacute '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '´')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'µ')"><xsl:value-of select="'\mathrm{\mu}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'µ')"/></xsl:call-template></xsl:when> <!--=micro sign --> + <xsl:when test="starts-with($content,'¶')"><xsl:value-of select="'\P '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¶')"/></xsl:call-template></xsl:when> <!--pilcrow (paragraph sign) --> ++ <xsl:when test="starts-with($content,'·')"><xsl:value-of select="'\cdotp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '·')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'¸')"><xsl:value-of select="'\mbox{\c{}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'¹')"><xsl:value-of select="'{^1}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '¹')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'º')"><xsl:value-of select="'\textordmasculine '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'º')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'»')"><xsl:value-of select="'\mbox{\guillemotright}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '»')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'À')"><xsl:value-of select="'\grave{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'À')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Á')"><xsl:value-of select="'\acute{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Á')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Â')"><xsl:value-of select="'\hat{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Â')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ã')"><xsl:value-of select="'\tilde{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ã')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ä')"><xsl:value-of select="'\ddot{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ä')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'Å')"><xsl:value-of select="'\AA '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Å')"/></xsl:call-template></xsl:when> <!--capital A, ring --> <!-- invalid in math mode --> + <xsl:when test="starts-with($content,'Æ')"><xsl:value-of select="'\AE '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Æ')"/></xsl:call-template></xsl:when> <!--capital AE diphthong (ligature) --> <!-- invalid in math mode --> ++ <xsl:when test="starts-with($content,'Ç')"><xsl:value-of select="'\mbox{\c{C}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ç')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'È')"><xsl:value-of select="'\grave{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'È')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'É')"><xsl:value-of select="'\acute{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'É')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ê')"><xsl:value-of select="'\hat{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ê')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ë')"><xsl:value-of select="'\ddot{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ë')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ì')"><xsl:value-of select="'\grave{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ì')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Í')"><xsl:value-of select="'\acute{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Í')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Î')"><xsl:value-of select="'\hat{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Î')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ï')"><xsl:value-of select="'\ddot{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ï')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ð')"><xsl:value-of select="'\DH '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ð')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ñ')"><xsl:value-of select="'\tilde{N}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ñ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ò')"><xsl:value-of select="'\grave{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ò')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ó')"><xsl:value-of select="'\acute{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ó')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ô')"><xsl:value-of select="'\hat{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ô')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Õ')"><xsl:value-of select="'\tilde{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Õ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ö')"><xsl:value-of select="'\ddot{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ö')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'×')"><xsl:value-of select="'\times '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '×')"/></xsl:call-template></xsl:when> <!--/times B: =multiply sign --> ++ <xsl:when test="starts-with($content,'Ø')"><xsl:value-of select="'\O '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ø')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ù')"><xsl:value-of select="'\grave{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ù')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ú')"><xsl:value-of select="'\acute{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ú')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Û')"><xsl:value-of select="'\hat{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Û')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ü')"><xsl:value-of select="'\ddot{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ü')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ý')"><xsl:value-of select="'\acute{Y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ý')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Þ')"><xsl:value-of select="'\TH '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Þ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ß')"><xsl:value-of select="'\ss '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ß')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'à')"><xsl:value-of select="'\grave{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'à')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'á')"><xsl:value-of select="'\acute{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'á')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'â')"><xsl:value-of select="'\hat{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'â')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ã')"><xsl:value-of select="'\tilde{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ã')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ä')"><xsl:value-of select="'\ddot{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ä')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'å')"><xsl:value-of select="'\aa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'å')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'æ')"><xsl:value-of select="'\ae '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'æ')"/></xsl:call-template></xsl:when> <!--small ae diphthong (ligature) --> <!-- invalid in math mode --> +- ++ <xsl:when test="starts-with($content,'ç')"><xsl:value-of select="'\mbox{\c{c}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ç')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'è')"><xsl:value-of select="'\grave{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'è')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'é')"><xsl:value-of select="'\acute{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'é')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ê')"><xsl:value-of select="'\hat{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ê')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ë')"><xsl:value-of select="'\ddot{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ë')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ì')"><xsl:value-of select="'\grave{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ì')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'í')"><xsl:value-of select="'\acute{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'í')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'î')"><xsl:value-of select="'\hat{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'î')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ï')"><xsl:value-of select="'\ddot{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ï')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ð')"><xsl:value-of select="'\eth '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ð')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ñ')"><xsl:value-of select="'\tilde{n}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ñ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ò')"><xsl:value-of select="'\grave{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ò')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ó')"><xsl:value-of select="'\acute{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ó')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ô')"><xsl:value-of select="'\hat{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ô')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'õ')"><xsl:value-of select="'\tilde{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'õ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ö')"><xsl:value-of select="'\ddot{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ö')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'÷')"><xsl:value-of select="'\div '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '÷')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ø')"><xsl:value-of select="'\o '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ø')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ù')"><xsl:value-of select="'\grave{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ù')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ú')"><xsl:value-of select="'\acute{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ú')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'û')"><xsl:value-of select="'\hat{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'û')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ü')"><xsl:value-of select="'\ddot{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ü')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ý')"><xsl:value-of select="'\acute{y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ý')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'þ')"><xsl:value-of select="'\th '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'þ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ÿ')"><xsl:value-of select="'\ddot{y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ÿ')"/></xsl:call-template></xsl:when> ++<!-- ====================================================================== --> ++<!-- Unicode 3.2 ++ --> ++<!-- ====================================================================== --> ++<xsl:when test="starts-with($content,'Ā')"><xsl:value-of select="'\bar{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ā')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ā')"><xsl:value-of select="'\bar{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ā')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ă')"><xsl:value-of select="'\breve{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ă')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ă')"><xsl:value-of select="'\u{a}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ă')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ć')"><xsl:value-of select="'\acute{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ć')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ć')"><xsl:value-of select="'\acute{c}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ć')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĉ')"><xsl:value-of select="'\hat{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĉ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĉ')"><xsl:value-of select="'\hat{c}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĉ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ċ')"><xsl:value-of select="'\dot{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ċ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ċ')"><xsl:value-of select="'\dot{c}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ċ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Č')"><xsl:value-of select="'\check{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Č')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'č')"><xsl:value-of select="'\check{c}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'č')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ď')"><xsl:value-of select="'\check{D}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ď')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ď')"><xsl:value-of select="'\check{d}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ď')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ē')"><xsl:value-of select="'\bar{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ē')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ē')"><xsl:value-of select="'\bar{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ē')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĕ')"><xsl:value-of select="'\breve{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĕ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĕ')"><xsl:value-of select="'\breve{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĕ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ė')"><xsl:value-of select="'\dot{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ė')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ė')"><xsl:value-of select="'\dot{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ė')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ę')"><xsl:value-of select="'\k{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ę')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ě')"><xsl:value-of select="'\check{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ě')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ě')"><xsl:value-of select="'\check{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ě')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĝ')"><xsl:value-of select="'\hat{G}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĝ')"><xsl:value-of select="'\hat{g}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ğ')"><xsl:value-of select="'\breve{G}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ğ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ğ')"><xsl:value-of select="'\breve{g}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ğ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ġ')"><xsl:value-of select="'\dot{G}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ġ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ġ')"><xsl:value-of select="'\dot{g}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ġ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ģ')"><xsl:value-of select="'\mbox{\c{G}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ģ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ģ')"><xsl:value-of select="'\mbox{\c{g}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ģ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĥ')"><xsl:value-of select="'\hat{H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĥ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĥ')"><xsl:value-of select="'\hat{h}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĥ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ħ')"><xsl:value-of select="'\Elzxh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ħ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĩ')"><xsl:value-of select="'\tilde{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĩ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĩ')"><xsl:value-of select="'\tilde{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĩ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ī')"><xsl:value-of select="'\bar{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ī')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ī')"><xsl:value-of select="'\bar{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ī')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĭ')"><xsl:value-of select="'\breve{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĭ')"><xsl:value-of select="'\breve{\imath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'İ')"><xsl:value-of select="'\dot{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'İ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ı')"><xsl:value-of select="'\imath '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ı')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĵ')"><xsl:value-of select="'\hat{J}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĵ')"><xsl:value-of select="'\hat{\jmath}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ķ')"><xsl:value-of select="'\mbox{\c{K}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ķ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ķ')"><xsl:value-of select="'\mbox{\c{k}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ķ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ĺ')"><xsl:value-of select="'\acute{L}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ĺ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ĺ')"><xsl:value-of select="'\acute{l}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ĺ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ļ')"><xsl:value-of select="'\mbox{\c{L}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ļ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ļ')"><xsl:value-of select="'\mbox{\c{l}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ļ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ľ')"><xsl:value-of select="'\check{L}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ľ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ľ')"><xsl:value-of select="'\check{l}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ľ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ł')"><xsl:value-of select="'\L '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ł')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ł')"><xsl:value-of select="'\l '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ł')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ń')"><xsl:value-of select="'\acute{N}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ń')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ń')"><xsl:value-of select="'\acute{n}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ń')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ņ')"><xsl:value-of select="'\mbox{\c{N}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ņ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ņ')"><xsl:value-of select="'\mbox{\c{n}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ņ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ň')"><xsl:value-of select="'\check{N}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ň')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ň')"><xsl:value-of select="'\check{n}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ň')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ō')"><xsl:value-of select="'\bar{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ō')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ō')"><xsl:value-of select="'\bar{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ō')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŏ')"><xsl:value-of select="'\breve{O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŏ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŏ')"><xsl:value-of select="'\breve{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŏ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ő')"><xsl:value-of select="'\mbox{\H{O}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ő')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ő')"><xsl:value-of select="'\mbox{\H{o}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ő')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Œ')"><xsl:value-of select="'\OE '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Œ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'œ')"><xsl:value-of select="'\oe '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'œ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŕ')"><xsl:value-of select="'\acute{R}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŕ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŕ')"><xsl:value-of select="'\acute{r}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŕ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŗ')"><xsl:value-of select="'\mbox{\c{R}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŗ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŗ')"><xsl:value-of select="'\mbox{\c{r}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŗ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ř')"><xsl:value-of select="'\check{R}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ř')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ř')"><xsl:value-of select="'\check{r}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ř')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ś')"><xsl:value-of select="'\acute{S}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ś')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ś')"><xsl:value-of select="'\acute{s}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ś')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŝ')"><xsl:value-of select="'\hat{S}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŝ')"><xsl:value-of select="'\hat{s}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ş')"><xsl:value-of select="'\mbox{\c{S}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ş')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ş')"><xsl:value-of select="'\mbox{\c{s}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ş')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Š')"><xsl:value-of select="'\check{S}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Š')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'š')"><xsl:value-of select="'\check{s}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'š')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ţ')"><xsl:value-of select="'\mbox{\c{T}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ţ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ţ')"><xsl:value-of select="'\mbox{\c{t}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ţ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ť')"><xsl:value-of select="'\check{T}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ť')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ť')"><xsl:value-of select="'\check{t}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ť')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ũ')"><xsl:value-of select="'\tilde{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ũ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ũ')"><xsl:value-of select="'\tilde{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ũ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ū')"><xsl:value-of select="'\bar{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ū')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ū')"><xsl:value-of select="'\bar{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ū')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŭ')"><xsl:value-of select="'\breve{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŭ')"><xsl:value-of select="'\breve{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ů')"><xsl:value-of select="'\mathring{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ů')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ů')"><xsl:value-of select="'\mathring{u}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ů')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ű')"><xsl:value-of select="'\mbox{\H{U}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ű')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ű')"><xsl:value-of select="'\mbox{\H{u}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ű')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ų')"><xsl:value-of select="'\k{U}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ų')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŵ')"><xsl:value-of select="'\hat{W}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŵ')"><xsl:value-of select="'\hat{w}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ŷ')"><xsl:value-of select="'\hat{Y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ŷ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ŷ')"><xsl:value-of select="'\hat{y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ŷ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ÿ')"><xsl:value-of select="'\ddot{Y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ÿ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ź')"><xsl:value-of select="'\acute{Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ź')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ź')"><xsl:value-of select="'\acute{z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ź')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ż')"><xsl:value-of select="'\dot{Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ż')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ż')"><xsl:value-of select="'\dot{z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ż')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ž')"><xsl:value-of select="'\check{Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ž')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ž')"><xsl:value-of select="'\check{z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ž')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ƒ')"><xsl:value-of select="'f'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ƒ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ƪ')"><xsl:value-of select="'\eth '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ƪ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ǵ')"><xsl:value-of select="'\acute{g}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ǵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɐ')"><xsl:value-of select="'\Elztrna '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɐ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɒ')"><xsl:value-of select="'\Elztrnsa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɒ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɔ')"><xsl:value-of select="'\Elzopeno '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɔ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɖ')"><xsl:value-of select="'\Elzrtld '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɖ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ə')"><xsl:value-of select="'\Elzschwa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ə')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɛ')"><xsl:value-of select="'\varepsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɛ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɣ')"><xsl:value-of select="'\Elzpgamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɣ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɤ')"><xsl:value-of select="'\Elzpbgam '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɤ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɥ')"><xsl:value-of select="'\Elztrnh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɥ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɬ')"><xsl:value-of select="'\Elzbtdl '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɬ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɭ')"><xsl:value-of select="'\Elzrtll '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɯ')"><xsl:value-of select="'\Elztrnm '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɯ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɰ')"><xsl:value-of select="'\Elztrnmlr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɰ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɱ')"><xsl:value-of select="'\Elzltlmr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɱ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɳ')"><xsl:value-of select="'\Elzrtln '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɳ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɷ')"><xsl:value-of select="'\Elzclomeg '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɷ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɹ')"><xsl:value-of select="'\Elztrnr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɹ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɺ')"><xsl:value-of select="'\Elztrnrl '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɺ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɻ')"><xsl:value-of select="'\Elzrttrnr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɻ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɼ')"><xsl:value-of select="'\Elzrl '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɼ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɽ')"><xsl:value-of select="'\Elzrtlr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɽ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ɾ')"><xsl:value-of select="'\Elzfhr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ɾ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʂ')"><xsl:value-of select="'\Elzrtls '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʂ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʃ')"><xsl:value-of select="'\Elzesh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʃ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʇ')"><xsl:value-of select="'\Elztrnt '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʇ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʈ')"><xsl:value-of select="'\Elzrtlt '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʈ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʊ')"><xsl:value-of select="'\Elzpupsil '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʊ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʋ')"><xsl:value-of select="'\Elzpscrv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʋ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʌ')"><xsl:value-of select="'\Elzinvv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʌ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʍ')"><xsl:value-of select="'\Elzinvw '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʍ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʎ')"><xsl:value-of select="'\Elztrny '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʎ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʐ')"><xsl:value-of select="'\Elzrtlz '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʐ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʒ')"><xsl:value-of select="'\Elzyogh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʒ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʔ')"><xsl:value-of select="'\Elzglst '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʔ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʕ')"><xsl:value-of select="'\Elzreglst '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʕ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʖ')"><xsl:value-of select="'\Elzinglst '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʖ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʤ')"><xsl:value-of select="'\Elzdyogh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʤ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ʧ')"><xsl:value-of select="'\Elztesh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʧ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'ʼ')"><xsl:value-of select="'\rasp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ʼ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ˈ')"><xsl:value-of select="'\Elzverts '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ˈ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ˌ')"><xsl:value-of select="'\Elzverti '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ˌ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ː')"><xsl:value-of select="'\Elzlmrk '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ː')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ˑ')"><xsl:value-of select="'\Elzhlmrk '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ˑ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˒')"><xsl:value-of select="'\Elzsbrhr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˒')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˓')"><xsl:value-of select="'\Elzsblhr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˓')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˔')"><xsl:value-of select="'\Elzrais '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˔')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˕')"><xsl:value-of select="'\Elzlow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˕')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˘')"><xsl:value-of select="'\u '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˘')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˙')"><xsl:value-of select="'\dot{}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˙')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˚')"><xsl:value-of select="'\mathring{}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˚')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˛')"><xsl:value-of select="'\mbox{\k{}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˛')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'˝')"><xsl:value-of select="'\mbox{\H{}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '˝')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̀')"><xsl:value-of select="'\grave '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̀')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'́')"><xsl:value-of select="'\acute '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '́')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̂')"><xsl:value-of select="'\hat '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̂')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̃')"><xsl:value-of select="'\tilde '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̃')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̄')"><xsl:value-of select="'\bar '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̄')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̆')"><xsl:value-of select="'\breve '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̆')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̇')"><xsl:value-of select="'\dot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̇')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̈')"><xsl:value-of select="'\ddot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̈')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'̊')"><xsl:value-of select="'\ocirc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̊')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'̋')"><xsl:value-of select="'\H '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̋')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̌')"><xsl:value-of select="'\check '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̌')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̡')"><xsl:value-of select="'\Elzpalh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̡')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'̪')"><xsl:value-of select="'\Elzsbbrg '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '̪')"/></xsl:call-template></xsl:when> + <!-- ====================================================================== --> + <!-- Unicode 3.2 + Greek + Range: 0370-03FF + http://www.unicode.org/charts/PDF/U0370.pdf --> +-<!-- ====================================================================== --> +- <xsl:when test="starts-with($content,'Α')"><xsl:value-of select="'{\rm A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Α')"/></xsl:call-template></xsl:when> <!--greek capital letter alpha --> +- <xsl:when test="starts-with($content,'Β')"><xsl:value-of select="'{\rm B}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Β')"/></xsl:call-template></xsl:when> <!-- greek capital letter beta --> +- <xsl:when test="starts-with($content,'Γ')"><xsl:value-of select="'\Gamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Γ')"/></xsl:call-template></xsl:when> <!--/Gamma capital Gamma, Greek --> +- <xsl:when test="starts-with($content,'Δ')"><xsl:value-of select="'\Delta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Δ')"/></xsl:call-template></xsl:when> <!--/Delta capital Delta, Greek --> +- <xsl:when test="starts-with($content,'Ε')"><xsl:value-of select="'{\rm E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ε')"/></xsl:call-template></xsl:when> <!-- greek capital letter epsilon --> +- <xsl:when test="starts-with($content,'Ζ')"><xsl:value-of select="'{\rm Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ζ')"/></xsl:call-template></xsl:when> <!-- greek capital letter zeta --> +- <xsl:when test="starts-with($content,'Η')"><xsl:value-of select="'{\rm H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Η')"/></xsl:call-template></xsl:when> <!-- greek capital letter eta --> +- <xsl:when test="starts-with($content,'Θ')"><xsl:value-of select="'\Theta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Θ')"/></xsl:call-template></xsl:when> <!--/Theta capital Theta, Greek --> +- <xsl:when test="starts-with($content,'Ι')"><xsl:value-of select="'{\rm I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ι')"/></xsl:call-template></xsl:when> <!-- greek capital letter iota --> +- <xsl:when test="starts-with($content,'Κ')"><xsl:value-of select="'{\rm K}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Κ')"/></xsl:call-template></xsl:when> <!-- greek capital letter kappa --> +- <xsl:when test="starts-with($content,'Λ')"><xsl:value-of select="'\Lambda '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Λ')"/></xsl:call-template></xsl:when> <!--/Lambda capital Lambda, Greek --> +- <xsl:when test="starts-with($content,'Μ')"><xsl:value-of select="'{\rm M}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Μ')"/></xsl:call-template></xsl:when> <!-- greek capital letter mu --> +- <xsl:when test="starts-with($content,'Ν')"><xsl:value-of select="'{\rm N}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ν')"/></xsl:call-template></xsl:when> <!-- greek capital letter nu --> +- <xsl:when test="starts-with($content,'Ξ')"><xsl:value-of select="'\Xi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ξ')"/></xsl:call-template></xsl:when> <!--/Xi capital Xi, Greek --> +- <xsl:when test="starts-with($content,'Ο')"><xsl:value-of select="'{\rm O}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ο')"/></xsl:call-template></xsl:when> <!-- greek capital letter omicron --> +- <xsl:when test="starts-with($content,'Π')"><xsl:value-of select="'\Pi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Π')"/></xsl:call-template></xsl:when> <!--/Pi capital Pi, Greek --> +- <xsl:when test="starts-with($content,'Ρ')"><xsl:value-of select="'{\rm P}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ρ')"/></xsl:call-template></xsl:when> <!-- greek capital letter rho --> +- <xsl:when test="starts-with($content,'Σ')"><xsl:value-of select="'\Sigma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Σ')"/></xsl:call-template></xsl:when> <!--/Sigma capital Sigma, Greek --> +- <xsl:when test="starts-with($content,'Τ')"><xsl:value-of select="'{\rm T}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Τ')"/></xsl:call-template></xsl:when> <!-- greek capital letter tau --> +- <xsl:when test="starts-with($content,'Υ')"><xsl:value-of select="'{\rm Y}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Υ')"/></xsl:call-template></xsl:when> <!-- greek capital letter upsilon --> +- <xsl:when test="starts-with($content,'Φ')"><xsl:value-of select="'\Phi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Φ')"/></xsl:call-template></xsl:when> <!--/Phi capital Phi, Greek --> +- <xsl:when test="starts-with($content,'Χ')"><xsl:value-of select="'{\rm X}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Χ')"/></xsl:call-template></xsl:when> <!-- greek capital letter chi --> +- <xsl:when test="starts-with($content,'Ψ')"><xsl:value-of select="'\Psi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ψ')"/></xsl:call-template></xsl:when> <!--/Psi capital Psi, Greek --> +- <xsl:when test="starts-with($content,'Ω')"><xsl:value-of select="'\Omega '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ω')"/></xsl:call-template></xsl:when> <!--/Omega capital Omega, Greek --> ++<!-- ====================================================================== --> ++<xsl:when test="starts-with($content,'Ά')"><xsl:value-of select="'\acute{A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ά')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Έ')"><xsl:value-of select="'\acute{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Έ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ή')"><xsl:value-of select="'\grave{H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ή')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ί')"><xsl:value-of select="concat('\mathrm{',$apos,'I}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ί')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ό')"><xsl:value-of select="concat('\mathrm{',$apos,'O}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ό')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ύ')"><xsl:value-of select="concat('\mathrm{',$apos,'Y}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ύ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ώ')"><xsl:value-of select="concat('\mathrm{',$apos,'\Omega}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ώ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ΐ')"><xsl:value-of select="'\acute{\ddot{\iota}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ΐ')"/></xsl:call-template></xsl:when> ++ ++<xsl:when test="starts-with($content,'Α')"><xsl:value-of select="'\Alpha '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Α')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Β')"><xsl:value-of select="'\Beta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Β')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Γ')"><xsl:value-of select="'\Gamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Γ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Δ')"><xsl:value-of select="'\Delta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Δ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ε')"><xsl:value-of select="'\Epsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ε')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ζ')"><xsl:value-of select="'\Zeta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ζ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Η')"><xsl:value-of select="'\Eta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Η')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Θ')"><xsl:value-of select="'\Theta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Θ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ι')"><xsl:value-of select="'\Iota '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ι')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Κ')"><xsl:value-of select="'\Kappa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Κ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Λ')"><xsl:value-of select="'\Lambda '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Λ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Μ')"><xsl:value-of select="'M'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Μ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ν')"><xsl:value-of select="'N'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ν')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ξ')"><xsl:value-of select="'\Xi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ξ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ο')"><xsl:value-of select="'O'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ο')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Π')"><xsl:value-of select="'\Pi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Π')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ρ')"><xsl:value-of select="'\Rho '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ρ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Σ')"><xsl:value-of select="'\Sigma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Σ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Τ')"><xsl:value-of select="'\Tau '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Τ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Υ')"><xsl:value-of select="'\Upsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Υ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Φ')"><xsl:value-of select="'\Phi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Φ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Χ')"><xsl:value-of select="'\Chi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Χ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ψ')"><xsl:value-of select="'\Psi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ψ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ω')"><xsl:value-of select="'\Omega '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ω')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'Ϊ')"><xsl:value-of select="'\mathrm{\ddot{I}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϊ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ϋ')"><xsl:value-of select="'\mathrm{\ddot{Y}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϋ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ά')"><xsl:value-of select="'\acute{\alpha}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ά')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'έ')"><xsl:value-of select="'\acute{\epsilon}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'έ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ή')"><xsl:value-of select="'\acute{\eta}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ή')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ί')"><xsl:value-of select="'\acute{\iota}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ί')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ΰ')"><xsl:value-of select="'\acute{\ddot{\upsilon}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ΰ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'α')"><xsl:value-of select="'\alpha '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'α')"/></xsl:call-template></xsl:when> <!--/alpha small alpha, Greek --> + <xsl:when test="starts-with($content,'β')"><xsl:value-of select="'\beta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'β')"/></xsl:call-template></xsl:when> <!--/beta small beta, Greek --> + <xsl:when test="starts-with($content,'γ')"><xsl:value-of select="'\gamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'γ')"/></xsl:call-template></xsl:when> <!--/gamma small gamma, Greek --> +@@ -92,60 +404,143 @@ + <xsl:when test="starts-with($content,'χ')"><xsl:value-of select="'\chi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'χ')"/></xsl:call-template></xsl:when> <!--/chi small chi, Greek --> + <xsl:when test="starts-with($content,'ψ')"><xsl:value-of select="'\psi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ψ')"/></xsl:call-template></xsl:when> <!--/psi small psi, Greek --> + <xsl:when test="starts-with($content,'ω')"><xsl:value-of select="'\omega '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ω')"/></xsl:call-template></xsl:when> <!--/omega small omega, Greek --> ++ <xsl:when test="starts-with($content,'ϊ')"><xsl:value-of select="'\ddot{\iota}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϊ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ϋ')"><xsl:value-of select="'\ddot{\upsilon}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϋ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ό')"><xsl:value-of select="'\acute{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ό')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ύ')"><xsl:value-of select="'\acute{\upsilon}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ύ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ώ')"><xsl:value-of select="'\acute{\omega}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ώ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ϑ')"><xsl:value-of select="'\vartheta '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϑ')"/></xsl:call-template></xsl:when> <!--/vartheta - curly or open theta --> + <xsl:when test="starts-with($content,'ϒ')"><xsl:value-of select="'\Upsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϒ')"/></xsl:call-template></xsl:when> <!--/Upsilon capital Upsilon, Greek --> +- <xsl:when test="starts-with($content,'ϕ')"><xsl:value-of select="'\varphi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϕ')"/></xsl:call-template></xsl:when> <!--/varphi - curly or open phi --> ++ <xsl:when test="starts-with($content,'ϕ')"><xsl:value-of select="'\phi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϕ')"/></xsl:call-template></xsl:when> <!--/varphi - curly or open phi --> + <xsl:when test="starts-with($content,'ϖ')"><xsl:value-of select="'\varpi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϖ')"/></xsl:call-template></xsl:when> <!--/varpi --> ++<xsl:when test="starts-with($content,'Ϛ')"><xsl:value-of select="'\Stigma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϛ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ϝ')"><xsl:value-of select="'\Digamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ϝ')"><xsl:value-of select="'\digamma '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϝ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ϟ')"><xsl:value-of select="'\Koppa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϟ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Ϡ')"><xsl:value-of select="'\Sampi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ϡ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ϰ')"><xsl:value-of select="'\varkappa '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϰ')"/></xsl:call-template></xsl:when> <!--/varkappa --> + <xsl:when test="starts-with($content,'ϱ')"><xsl:value-of select="'\varrho '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϱ')"/></xsl:call-template></xsl:when> <!--/varrho --> +- ++<xsl:when test="starts-with($content,'ϵ')"><xsl:value-of select="'\epsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ϵ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'϶')"><xsl:value-of select="'\backepsilon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '϶')"/></xsl:call-template></xsl:when> + <!-- ====================================================================== --> + <!-- Unicode 3.2 + General Punctuation + Range: 2000-206F + http://www.unicode.org/charts/PDF/U2000.pdf --> + <!-- ====================================================================== --> +- <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{0.5em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- en space (1/2-em) --> +- <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{1em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- emsp - space of width 1em --> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\enspace "' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- en space (1/2-em) --> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\quad "' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- emsp - space of width 1em --> + <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{0.33em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- emsp13 - space of width 1/3 em --> +- <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{0.25em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- ThickSpace - space of width 1/4 em --> +- <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{0.17em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- ThinSpace - space of width 3/18 em --> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\thickspace "' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- ThickSpace - space of width 1/4 em --> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hspace{0.166em}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hphantom{0}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\hphantom{,}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select='"\thinspace "' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> <!-- ThinSpace - space of width 3/18 em --> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select="'\hspace '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'​')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '​')"/></xsl:call-template></xsl:when> <!--zero width space --> ++ <xsl:when test="starts-with($content,'‐')"><xsl:value-of select="'-'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‐')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'–')"><xsl:value-of select="'\endash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '–')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'—')"><xsl:value-of select="'\emdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '—')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'‖')"><xsl:value-of select="'\Vert '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‖')"/></xsl:call-template></xsl:when> <!--/Vert dbl vertical bar --> ++ <xsl:when test="starts-with($content,'‘')"><xsl:value-of select="'\lq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‘')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'’')"><xsl:value-of select="'\rq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '’')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'‛')"><xsl:value-of select="'\Elzreapos '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‛')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'“')"><xsl:value-of select="'\textquotedblleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '“')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'”')"><xsl:value-of select="'\textquotedblright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '”')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'†')"><xsl:value-of select="'\dagger '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '†')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'‡')"><xsl:value-of select="'\ddager '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‡')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'•')"><xsl:value-of select="'\bullet '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '•')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'…')"><xsl:value-of select="'\dots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '…')"/></xsl:call-template></xsl:when> <!--horizontal ellipsis = three dot leader --> + <xsl:when test="starts-with($content,'′')"><xsl:value-of select="'\prime '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '′')"/></xsl:call-template></xsl:when> <!--/prime prime or minute --> ++<xsl:when test="starts-with($content,'″')"><xsl:value-of select="concat('{',$apos,$apos,'}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '″')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'‴')"><xsl:value-of select="concat('{',$apos,$apos,$apos,'}')" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‴')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'‵')"><xsl:value-of select="'\backprime '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '‵')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⁁')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁁')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⁄')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁄')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⁎')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁎')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⁗')"><xsl:value-of select="concat($apos,$apos,$apos,$apos)" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁗')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,' ')"><xsl:value-of select="'\mkern4mu '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ' ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⁡')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁡')"/></xsl:call-template></xsl:when> <!-- ApplyFunction --> + <xsl:when test="starts-with($content,'⁢')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁢')"/></xsl:call-template></xsl:when> <!-- InvisibleTimes --> + <xsl:when test="starts-with($content,'⁣')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⁣')"/></xsl:call-template></xsl:when> <!-- InvisibleComma, used as a separator, e.g., in indices --> + <!-- ====================================================================== --> + <!-- Unicode 3.2 ++ --> ++<!-- ====================================================================== --> ++<xsl:when test="starts-with($content,'₧')"><xsl:value-of select="'\Elzpes'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '₧')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'€')"><xsl:value-of select="'\mbox{\texteuro}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '€')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⃛')"><xsl:value-of select="'\dddot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⃛')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⃜')"><xsl:value-of select="'\ddddot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⃜')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⃧')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⃧')"/></xsl:call-template></xsl:when> ++<!-- ====================================================================== --> ++<!-- Unicode 3.2 + Letterlike Symbols + Range: 2100-214F + http://www.unicode.org/charts/PDF/U2100.pdf --> + <!-- ====================================================================== --> ++<xsl:when test="starts-with($content,'ℂ')"><xsl:value-of select="'\mathbb{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℂ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℊ')"><xsl:value-of select="'\mathscr{g}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℊ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℋ')"><xsl:value-of select="'\mathscr{H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℋ')"/></xsl:call-template></xsl:when> <!--H Hamiltonian --> ++ <xsl:when test="starts-with($content,'ℌ')"><xsl:value-of select="'\mathfrak{H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℌ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℍ')"><xsl:value-of select="'\mathbb{H}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℍ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℎ')"><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℎ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℏ︀')"><xsl:value-of select="'\hbar '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℏ︀')"/></xsl:call-template></xsl:when> <!--/hbar - Planck's over 2pi --> + <xsl:when test="starts-with($content,'ℏ')"><xsl:value-of select="'\hslash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℏ')"/></xsl:call-template></xsl:when> <!--/hslash - variant Planck's over 2pi --> <!-- Required amssymb --> ++<xsl:when test="starts-with($content,'ℐ')"><xsl:value-of select="'\mathscr{I}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℐ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℑ')"><xsl:value-of select="'\Im '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℑ')"/></xsl:call-template></xsl:when> <!--/Im - imaginary --> ++<xsl:when test="starts-with($content,'ℒ')"><xsl:value-of select="'\mathscr{L}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℒ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℓ')"><xsl:value-of select="'\ell '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℓ')"/></xsl:call-template></xsl:when> <!--/ell - cursive small l --> + <xsl:when test="starts-with($content,'ℕ')"><xsl:value-of select="'\mathbb{N}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℕ')"/></xsl:call-template></xsl:when> <!--the semi-ring of natural numbers --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'№')"><xsl:value-of select="'\textnumero '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '№')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'℘')"><xsl:value-of select="'\wp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '℘')"/></xsl:call-template></xsl:when> <!--/wp - Weierstrass p --> + <xsl:when test="starts-with($content,'ℙ')"><xsl:value-of select="'\mathbb{P}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℙ')"/></xsl:call-template></xsl:when> <!--the prime natural numbers --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'ℚ')"><xsl:value-of select="'\mathbb{Q}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℚ')"/></xsl:call-template></xsl:when> <!--the field of rational numbers --> <!-- Required amssymb --> ++<xsl:when test="starts-with($content,'ℛ')"><xsl:value-of select="'\mathscr{R}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℛ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℜ')"><xsl:value-of select="'\Re '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℜ')"/></xsl:call-template></xsl:when> <!--/Re - real --> ++ <xsl:when test="starts-with($content,'ℝ')"><xsl:value-of select="'\mathbb{R}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℝ')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'℞')"><xsl:value-of select="'\Elzxrat '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '℞')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℤ')"><xsl:value-of select="'\mathbb{Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℤ')"/></xsl:call-template></xsl:when> <!--the ring of integers --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'Ω')"><xsl:value-of select="'\Omega '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Ω')"/></xsl:call-template></xsl:when> <!--ohm sign --> + <xsl:when test="starts-with($content,'℧')"><xsl:value-of select="'\mho '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '℧')"/></xsl:call-template></xsl:when> <!--/mho - conductance --> ++<xsl:when test="starts-with($content,'ℨ')"><xsl:value-of select="'\mathfrak{Z}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℨ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'℩')"><xsl:value-of select="'\ElsevierGlyph{2129}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '℩')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'Å')"><xsl:value-of select="'\AA'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'Å')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℬ')"><xsl:value-of select="'\mathscr{B}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℬ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℭ')"><xsl:value-of select="'\mathfrak{C}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℭ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℯ')"><xsl:value-of select="'\mathscr{e}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℯ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℰ')"><xsl:value-of select="'\mathscr{E}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℰ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℱ')"><xsl:value-of select="'\mathscr{F}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℱ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℳ')"><xsl:value-of select="'\mathscr{M}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℳ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'ℴ')"><xsl:value-of select="'\mathscr{o}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℴ')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'ℵ')"><xsl:value-of select="'\aleph '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℵ')"/></xsl:call-template></xsl:when> <!--/aleph aleph, Hebrew --> + <xsl:when test="starts-with($content,'ℶ')"><xsl:value-of select="'\beth '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℶ')"/></xsl:call-template></xsl:when> <!--/beth - beth, Hebrew --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'ℷ')"><xsl:value-of select="'\gimel '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℷ')"/></xsl:call-template></xsl:when> <!--/gimel - gimel, Hebrew --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'ℸ')"><xsl:value-of select="'\daleth '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℸ')"/></xsl:call-template></xsl:when> <!--/daleth - daleth, Hebrew --> <!-- Required amssymb --> ++<xsl:when test="starts-with($content,'ℿ')"><xsl:value-of select="'\BbbPi '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ℿ')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅀')"><xsl:value-of select="'\bbsum '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅀')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅁')"><xsl:value-of select="'\Game '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅁')"/></xsl:call-template></xsl:when> ++ + <xsl:when test="starts-with($content,'ⅅ')"><xsl:value-of select="'D'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ⅅ')"/></xsl:call-template></xsl:when> <!--D for use in differentials, e.g., within integrals --> + <xsl:when test="starts-with($content,'ⅆ')"><xsl:value-of select="'d'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ⅆ')"/></xsl:call-template></xsl:when> <!--d for use in differentials, e.g., within integrals --> + <xsl:when test="starts-with($content,'ⅇ')"><xsl:value-of select="'e'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ⅇ')"/></xsl:call-template></xsl:when> <!--e use for the exponential base of the natural logarithms --> + <xsl:when test="starts-with($content,'ⅈ')"><xsl:value-of select="'i'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ⅈ')"/></xsl:call-template></xsl:when> <!--i for use as a square root of -1 --> + <xsl:when test="starts-with($content,'ⅉ')"><xsl:value-of select="'j'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ⅉ')"/></xsl:call-template></xsl:when> +- ++<!-- ====================================================================== --> ++<!-- Unicode 3.2 ++ --> ++<!-- ====================================================================== --> ++<xsl:when test="starts-with($content,'⅓')"><xsl:value-of select="'\textfrac{1}{3}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅓')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅔')"><xsl:value-of select="'\textfrac{2}{3}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅔')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅕')"><xsl:value-of select="'\textfrac{1}{5}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅕')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅖')"><xsl:value-of select="'\textfrac{2}{5}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅖')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅗')"><xsl:value-of select="'\textfrac{3}{5}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅗')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅘')"><xsl:value-of select="'\textfrac{4}{5}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅘')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅙')"><xsl:value-of select="'\textfrac{1}{6}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅙')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅚')"><xsl:value-of select="'\textfrac{5}{6}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅚')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅛')"><xsl:value-of select="'\textfrac{1}{8}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅛')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅜')"><xsl:value-of select="'\textfrac{3}{8}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅜')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅝')"><xsl:value-of select="'\textfrac{5}{8}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅝')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⅞')"><xsl:value-of select="'\textfrac{7}{8}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⅞')"/></xsl:call-template></xsl:when> + <!-- ====================================================================== --> + <!-- Unicode 3.2 + Arrows +@@ -154,7 +549,7 @@ + <!-- ====================================================================== --> + <xsl:when test="starts-with($content,'←')"><xsl:value-of select="'\leftarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '←')"/></xsl:call-template></xsl:when> <!--/leftarrow /gets A: =leftward arrow --> + <xsl:when test="starts-with($content,'↑')"><xsl:value-of select="'\uparrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↑')"/></xsl:call-template></xsl:when> <!--/uparrow A: =upward arrow --> +- <xsl:when test="starts-with($content,'→')"><xsl:value-of select="'\to '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '→')"/></xsl:call-template></xsl:when> <!--/rightarrow /to A: =rightward arrow --> ++ <xsl:when test="starts-with($content,'→')"><xsl:value-of select="'\rightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '→')"/></xsl:call-template></xsl:when> <!--/rightarrow /to A: =rightward arrow --> + <xsl:when test="starts-with($content,'↓')"><xsl:value-of select="'\downarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↓')"/></xsl:call-template></xsl:when> <!--/downarrow A: =downward arrow --> + <xsl:when test="starts-with($content,'↔')"><xsl:value-of select="'\leftrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↔')"/></xsl:call-template></xsl:when> <!--/leftrightarrow A: l&r arrow --> + <xsl:when test="starts-with($content,'↕')"><xsl:value-of select="'\updownarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↕')"/></xsl:call-template></xsl:when> <!--/updownarrow A: up&down arrow --> +@@ -164,6 +559,7 @@ + <xsl:when test="starts-with($content,'↙')"><xsl:value-of select="'\swarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↙')"/></xsl:call-template></xsl:when> <!--/swarrow A: SW pointing arrow --> + <xsl:when test="starts-with($content,'↚')"><xsl:value-of select="'\nleftarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↚')"/></xsl:call-template></xsl:when> <!--/nleftarrow A: not left arrow --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↛')"><xsl:value-of select="'\nrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↛')"/></xsl:call-template></xsl:when> <!--/nrightarrow A: not right arrow --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'↜')"><xsl:value-of select="'\leftsquigarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↜')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'↝')"><xsl:value-of select="'\rightsquigarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↝')"/></xsl:call-template></xsl:when> <!--/rightsquigarrow A: rt arrow-wavy --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↞')"><xsl:value-of select="'\twoheadleftarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↞')"/></xsl:call-template></xsl:when> <!--/twoheadleftarrow A: --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↠')"><xsl:value-of select="'\twoheadrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↠')"/></xsl:call-template></xsl:when> <!--/twoheadrightarrow A: --> <!-- Required amssymb --> +@@ -178,6 +574,7 @@ + <xsl:when test="starts-with($content,'↮')"><xsl:value-of select="'\nleftrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↮')"/></xsl:call-template></xsl:when> <!--/nleftrightarrow A: not l&r arrow --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↰')"><xsl:value-of select="'\Lsh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↰')"/></xsl:call-template></xsl:when> <!--/Lsh A: --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↱')"><xsl:value-of select="'\Rsh '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↱')"/></xsl:call-template></xsl:when> <!--/Rsh A: --> <!-- Required amssymb --> ++<xsl:when test="starts-with($content,'↳')"><xsl:value-of select="'\ElsevierGlyph{21B3}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↳')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'↶')"><xsl:value-of select="'\curvearrowleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↶')"/></xsl:call-template></xsl:when> <!--/curvearrowleft A: left curved arrow --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↷')"><xsl:value-of select="'\curvearrowright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↷')"/></xsl:call-template></xsl:when> <!--/curvearrowright A: rt curved arrow --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'↺')"><xsl:value-of select="'\circlearrowleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '↺')"/></xsl:call-template></xsl:when> <!--/circlearrowleft A: l arr in circle --> <!-- Required amssymb --> +@@ -191,6 +588,7 @@ + <xsl:when test="starts-with($content,'⇂')"><xsl:value-of select="'\downharpoonright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇂')"/></xsl:call-template></xsl:when> <!--/downharpoonright A: down harpoon-rt --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⇃')"><xsl:value-of select="'\downharpoonleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇃')"/></xsl:call-template></xsl:when> <!--/downharpoonleft A: dn harpoon-left --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⇄')"><xsl:value-of select="'\rightleftarrows '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇄')"/></xsl:call-template></xsl:when> <!--/rightleftarrows A: r arr over l arr --> <!-- Required amssymb --> ++<xsl:when test="starts-with($content,'⇅')"><xsl:value-of select="'\dblarrowupdown '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇅')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⇆')"><xsl:value-of select="'\leftrightarrows '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇆')"/></xsl:call-template></xsl:when> <!--/leftrightarrows A: l arr over r arr --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⇇')"><xsl:value-of select="'\leftleftarrows '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇇')"/></xsl:call-template></xsl:when> <!--/leftleftarrows A: two left arrows --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⇈')"><xsl:value-of select="'\upuparrows '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇈')"/></xsl:call-template></xsl:when> <!--/upuparrows A: two up arrows --> <!-- Required amssymb --> +@@ -205,12 +603,16 @@ + <xsl:when test="starts-with($content,'⇑')"><xsl:value-of select="'\Uparrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇑')"/></xsl:call-template></xsl:when> <!--/Uparrow A: up dbl arrow --> + <xsl:when test="starts-with($content,'⇒')"><xsl:value-of select="'\Rightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇒')"/></xsl:call-template></xsl:when> <!--/Rightarrow A: implies --> + <xsl:when test="starts-with($content,'⇓')"><xsl:value-of select="'\Downarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇓')"/></xsl:call-template></xsl:when> <!--/Downarrow A: down dbl arrow --> +-<!-- <xsl:when test="starts-with($content,'⇔')"><xsl:value-of select="'\Leftrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇔')"/></xsl:call-template></xsl:when> /Leftrightarrow A: l&r dbl arrow --> +- <xsl:when test="starts-with($content,'⇔')"><xsl:value-of select="'\iff '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇔')"/></xsl:call-template></xsl:when> <!--/iff if and only if --> ++ <xsl:when test="starts-with($content,'⇔')"><xsl:value-of select="'\Leftrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇔')"/></xsl:call-template></xsl:when> <!--/Leftrightarrow A: l&r dbl arrow --> ++<!-- <xsl:when test="starts-with($content,'⇔')"><xsl:value-of select="'\iff '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇔')"/></xsl:call-template></xsl:when> /iff if and only if --> + <xsl:when test="starts-with($content,'⇕')"><xsl:value-of select="'\Updownarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇕')"/></xsl:call-template></xsl:when> <!--/Updownarrow A: up&down dbl arrow --> + <xsl:when test="starts-with($content,'⇚')"><xsl:value-of select="'\Lleftarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇚')"/></xsl:call-template></xsl:when> <!--/Lleftarrow A: left triple arrow --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⇛')"><xsl:value-of select="'\Rrightarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇛')"/></xsl:call-template></xsl:when> <!--/Rrightarrow A: right triple arrow --> <!-- Required amssymb --> +- ++<xsl:when test="starts-with($content,'⇝')"><xsl:value-of select="'\rightsquigarrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇝')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⇵')"><xsl:value-of select="'\DownArrowUpArrow '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇵')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⇽')"><xsl:value-of select="'\leftarrowtriangle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇽')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⇾')"><xsl:value-of select="'\rightarrowtriangle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇾')"/></xsl:call-template></xsl:when> ++<xsl:when test="starts-with($content,'⇿')"><xsl:value-of select="'\leftrightarrowtria* '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⇿')"/></xsl:call-template></xsl:when> + <!-- ====================================================================== --> + <!-- Unicode 3.2 + Mathematical Operators +@@ -224,7 +626,6 @@ + <xsl:when test="starts-with($content,'∄')"><xsl:value-of select="'\nexists '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∄')"/></xsl:call-template></xsl:when> <!--/nexists - negated exists --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'∅︀')"><xsl:value-of select="'\emptyset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∅︀')"/></xsl:call-template></xsl:when> <!--/emptyset - zero, slash --> + <xsl:when test="starts-with($content,'∅')"><xsl:value-of select="'\varnothing '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∅')"/></xsl:call-template></xsl:when> <!--/varnothing - circle, slash --> <!-- Required amssymb --> +-<!-- <xsl:when test="starts-with($content,'∆')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∆')"/></xsl:call-template></xsl:when>--> + <xsl:when test="starts-with($content,'∇')"><xsl:value-of select="'\nabla '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∇')"/></xsl:call-template></xsl:when> <!--/nabla del, Hamilton operator --> + <xsl:when test="starts-with($content,'∈')"><xsl:value-of select="'\in '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∈')"/></xsl:call-template></xsl:when> <!--/in R: set membership --> + <xsl:when test="starts-with($content,'∉')"><xsl:value-of select="'\notin '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∉')"/></xsl:call-template></xsl:when> <!--/notin N: negated set membership --> +@@ -236,7 +637,6 @@ + <xsl:when test="starts-with($content,'−')"><xsl:value-of select="'-'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '−')"/></xsl:call-template></xsl:when> <!--B: minus sign --> + <xsl:when test="starts-with($content,'∓')"><xsl:value-of select="'\mp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∓')"/></xsl:call-template></xsl:when> <!--/mp B: minus-or-plus sign --> + <xsl:when test="starts-with($content,'∔')"><xsl:value-of select="'\dotplus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∔')"/></xsl:call-template></xsl:when> <!--/dotplus B: plus sign, dot above --> <!-- Required amssymb --> +-<!-- <xsl:when test="starts-with($content,'∕')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∕')"/></xsl:call-template></xsl:when>--> + <xsl:when test="starts-with($content,'∖')"><xsl:value-of select="'\setminus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∖')"/></xsl:call-template></xsl:when> <!--/setminus B: reverse solidus --> + <xsl:when test="starts-with($content,'∗')"><xsl:value-of select="'\ast '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∗')"/></xsl:call-template></xsl:when> <!--low asterisk --> + <xsl:when test="starts-with($content,'∘')"><xsl:value-of select="'\circ '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∘')"/></xsl:call-template></xsl:when> <!--/circ B: composite function (small circle) --> +@@ -244,11 +644,11 @@ + <xsl:when test="starts-with($content,'√')"><xsl:value-of select="'\surd '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '√')"/></xsl:call-template></xsl:when> <!--/surd radical --> + <xsl:when test="starts-with($content,'∝')"><xsl:value-of select="'\propto '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∝')"/></xsl:call-template></xsl:when> <!--/propto R: is proportional to --> + <xsl:when test="starts-with($content,'∞')"><xsl:value-of select="'\infty '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∞')"/></xsl:call-template></xsl:when> <!--/infty infinity --> +-<!-- <xsl:when test="starts-with($content,'∟')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∟')"/></xsl:call-template></xsl:when> right (90 degree) angle --> ++ <xsl:when test="starts-with($content,'∟')"><xsl:value-of select="'\rightangle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∟')"/></xsl:call-template></xsl:when> <!--/right (90 degree) angle --> + <xsl:when test="starts-with($content,'∠')"><xsl:value-of select="'\angle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∠')"/></xsl:call-template></xsl:when> <!--/angle - angle --> + <xsl:when test="starts-with($content,'∡')"><xsl:value-of select="'\measuredangle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∡')"/></xsl:call-template></xsl:when> <!--/measuredangle - angle-measured --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'∢')"><xsl:value-of select="'\sphericalangle '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∢')"/></xsl:call-template></xsl:when><!--/sphericalangle angle-spherical --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'∣')"><xsl:value-of select="'\mid '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∣')"/></xsl:call-template></xsl:when> <!--/mid R: --> ++ <xsl:when test="starts-with($content,'∣')"><xsl:value-of select="'|'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∣')"/></xsl:call-template></xsl:when> <!--/mid R: --> + <xsl:when test="starts-with($content,'∤︀')"><xsl:value-of select="'\nshortmid '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∤︀')"/></xsl:call-template></xsl:when> <!--/nshortmid --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'∤')"><xsl:value-of select="'\nmid '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∤')"/></xsl:call-template></xsl:when> <!--/nmid --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'∥')"><xsl:value-of select="'\parallel '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∥')"/></xsl:call-template></xsl:when> <!--/parallel R: parallel --> +@@ -262,95 +662,104 @@ + <xsl:when test="starts-with($content,'∬')"><xsl:value-of select="'\iint '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∬')"/></xsl:call-template></xsl:when> <!--double integral operator --> <!-- Required amsmath --> + <xsl:when test="starts-with($content,'∭')"><xsl:value-of select="'\iiint '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∭')"/></xsl:call-template></xsl:when> <!--/iiint triple integral operator --> <!-- Required amsmath --> + <xsl:when test="starts-with($content,'∮')"><xsl:value-of select="'\oint '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∮')"/></xsl:call-template></xsl:when> <!--/oint L: contour integral operator --> +-<!-- <xsl:when test="starts-with($content,'∯')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∯')"/></xsl:call-template></xsl:when>--> +-<!-- <xsl:when test="starts-with($content,'∰')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∰')"/></xsl:call-template></xsl:when>--> +-<!-- <xsl:when test="starts-with($content,'∱')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∱')"/></xsl:call-template></xsl:when>--> +-<!-- <xsl:when test="starts-with($content,'∲')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∲')"/></xsl:call-template></xsl:when>--> +-<!-- <xsl:when test="starts-with($content,'∳')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∳')"/></xsl:call-template></xsl:when>--> ++ <xsl:when test="starts-with($content,'∯')"><xsl:value-of select="'\backslash oiint '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∯')"/></xsl:call-template></xsl:when> <!-- \surfintegral --> ++ <xsl:when test="starts-with($content,'∰')"><xsl:value-of select="'\backslash oiiint '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∰')"/></xsl:call-template></xsl:when> <!-- \volintegral --> ++ <xsl:when test="starts-with($content,'∱')"><xsl:value-of select="'\clwintegral '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∱')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'∲')"><xsl:value-of select="'\ElsevierGlyph{2232}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∲')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'∳')"><xsl:value-of select="'\ElsevierGlyph{2233}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∳')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'∴')"><xsl:value-of select="'\therefore '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∴')"/></xsl:call-template></xsl:when> <!--/therefore R: therefore --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'∵')"><xsl:value-of select="'\because '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∵')"/></xsl:call-template></xsl:when> <!--/because R: because --> <!-- Required amssymb --> + <!-- ? --> <xsl:when test="starts-with($content,'∶')"><xsl:value-of select="':'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∶')"/></xsl:call-template></xsl:when> <!--/ratio --> +-<!-- ? --> <xsl:when test="starts-with($content,'∷')"><xsl:value-of select="'\colon\colon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∷')"/></xsl:call-template></xsl:when> <!--/Colon, two colons --> +-<!-- ? --> <xsl:when test="starts-with($content,'∸')"><xsl:value-of select="'\dot{-}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∸')"/></xsl:call-template></xsl:when> <!--/dotminus B: minus sign, dot above --> ++ <xsl:when test="starts-with($content,'∷')"><xsl:value-of select="'\Colon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∷')"/></xsl:call-template></xsl:when> <!--/Colon, two colons --> ++ <xsl:when test="starts-with($content,'∸')"><xsl:value-of select="'\dotminus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∸')"/></xsl:call-template></xsl:when> <!--/dotminus B: minus sign, dot above --> + <!-- <xsl:when test="starts-with($content,'∹')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∹')"/></xsl:call-template></xsl:when> --> +-<!-- <xsl:when test="starts-with($content,'∺')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∺')"/></xsl:call-template></xsl:when> minus with four dots, geometric properties --> +-<!-- <xsl:when test="starts-with($content,'∻')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∻')"/></xsl:call-template></xsl:when> homothetic --> ++ <xsl:when test="starts-with($content,'∺')"><xsl:value-of select="'\mathbin{{:}\!\!{-}\!\!{:}}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∺')"/></xsl:call-template></xsl:when> <!-- minus with four dots, geometric properties --> ++ <xsl:when test="starts-with($content,'∻')"><xsl:value-of select="'\kernelcontraction '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∻')"/></xsl:call-template></xsl:when> <!-- homothetic --> + <xsl:when test="starts-with($content,'∼')"><xsl:value-of select="'\sim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∼')"/></xsl:call-template></xsl:when> <!--/sim R: similar --> + <xsl:when test="starts-with($content,'∽')"><xsl:value-of select="'\backsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∽')"/></xsl:call-template></xsl:when> <!--/backsim R: reverse similar --> <!-- Required amssymb --> +-<!-- <xsl:when test="starts-with($content,'∾')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∾')"/></xsl:call-template></xsl:when> most positive --> ++ <xsl:when test="starts-with($content,'∾')"><xsl:value-of select="'\lazysinv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∾')"/></xsl:call-template></xsl:when> <!-- most positive --> + <!-- <xsl:when test="starts-with($content,'∿')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '∿')"/></xsl:call-template></xsl:when> ac current --> + <xsl:when test="starts-with($content,'≀')"><xsl:value-of select="'\wr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≀')"/></xsl:call-template></xsl:when> <!--/wr B: wreath product --> + <xsl:when test="starts-with($content,'≁')"><xsl:value-of select="'\nsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≁')"/></xsl:call-template></xsl:when> <!--/nsim N: not similar --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≂̸')"><xsl:value-of select="'\neqsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≂̸')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≂')"><xsl:value-of select="'\eqsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≂')"/></xsl:call-template></xsl:when> <!--/esim R: equals, similar --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≃')"><xsl:value-of select="'\simeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≃')"/></xsl:call-template></xsl:when> <!--/simeq R: similar, equals --> +- <xsl:when test="starts-with($content,'≄')"><xsl:value-of select="'\not\simeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≄')"/></xsl:call-template></xsl:when> <!--/nsimeq N: not similar, equals --> ++ <xsl:when test="starts-with($content,'≄')"><xsl:value-of select="'\nsime '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≄')"/></xsl:call-template></xsl:when> <!--/nsimeq N: not similar, equals --> + <xsl:when test="starts-with($content,'≅')"><xsl:value-of select="'\cong '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≅')"/></xsl:call-template></xsl:when> <!--/cong R: congruent with --> +-<!-- <xsl:when test="starts-with($content,'≆')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≆')"/></xsl:call-template></xsl:when> similar, not equals --> ++ <xsl:when test="starts-with($content,'≆')"><xsl:value-of select="'\approxnotequal '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≆')"/></xsl:call-template></xsl:when><!-- similar, not equals --> + <xsl:when test="starts-with($content,'≇')"><xsl:value-of select="'\ncong '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≇')"/></xsl:call-template></xsl:when> <!--/ncong N: not congruent with --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≈')"><xsl:value-of select="'\approx '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≈')"/></xsl:call-template></xsl:when> <!--/approx R: approximate --> ++ <xsl:when test="starts-with($content,'≈')"><xsl:value-of select="'\approx '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≈')"/></xsl:call-template></xsl:when> <!--/approx R: approximate --> + <!-- <xsl:when test="starts-with($content,'≉̸')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≉̸')"/></xsl:call-template></xsl:when> not, vert, approximate --> +- <xsl:when test="starts-with($content,'≉')"><xsl:value-of select="'\not\approx '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≉')"/></xsl:call-template></xsl:when> <!--/napprox N: not approximate --> ++ <xsl:when test="starts-with($content,'≉')"><xsl:value-of select="'\napprox '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≉')"/></xsl:call-template></xsl:when> <!--/napprox N: not approximate --> + <xsl:when test="starts-with($content,'≊')"><xsl:value-of select="'\approxeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≊')"/></xsl:call-template></xsl:when> <!--/approxeq R: approximate, equals --> <!-- Required amssymb --> +-<!-- <xsl:when test="starts-with($content,'≋')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≋')"/></xsl:call-template></xsl:when> approximately identical to --> +-<!-- <xsl:when test="starts-with($content,'≌')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≌')"/></xsl:call-template></xsl:when> /backcong R: reverse congruent --> ++ <xsl:when test="starts-with($content,'≋̸')"><xsl:value-of select="'\not\apid '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≋̸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'≋')"><xsl:value-of select="'\tildetrpl '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≋')"/></xsl:call-template></xsl:when> <!-- approximately identical to --> ++ <xsl:when test="starts-with($content,'≌')"><xsl:value-of select="'\allequal '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≌')"/></xsl:call-template></xsl:when> <!-- /backcong R: reverse congruent --> + <xsl:when test="starts-with($content,'≍')"><xsl:value-of select="'\asymp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≍')"/></xsl:call-template></xsl:when> <!--/asymp R: asymptotically equal to --> +- <xsl:when test="starts-with($content,'≎')"><xsl:value-of select="'\Bumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≎')"/></xsl:call-template></xsl:when> <!--/Bumpeq R: bumpy equals --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≏')"><xsl:value-of select="'\bumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≏')"/></xsl:call-template></xsl:when> <!--/bumpeq R: bumpy equals, equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≎̸')"><xsl:value-of select="'\nBumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≎̸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'≎')"><xsl:value-of select="'\Bumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≎')"/></xsl:call-template></xsl:when> <!--/Bumpeq R: bumpy equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≏̸')"><xsl:value-of select="'\nbumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≏̸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'≏')"><xsl:value-of select="'\bumpeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≏')"/></xsl:call-template></xsl:when> <!--/bumpeq R: bumpy equals, equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≐̸')"><xsl:value-of select="'\not\doteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≐̸')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≐')"><xsl:value-of select="'\doteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≐')"/></xsl:call-template></xsl:when> <!--/doteq R: equals, single dot above --> +- <xsl:when test="starts-with($content,'≑')"><xsl:value-of select="'\doteqdot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≑')"/></xsl:call-template></xsl:when> <!--/doteqdot /Doteq R: eq, even dots --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≒')"><xsl:value-of select="'\fallingdotseq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≒')"/></xsl:call-template></xsl:when> <!--/fallingdotseq R: eq, falling dots --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≑')"><xsl:value-of select="'\Doteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≑')"/></xsl:call-template></xsl:when> <!--/doteqdot /Doteq R: eq, even dots --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≒')"><xsl:value-of select="'\fallingdotseq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≒')"/></xsl:call-template></xsl:when><!--/fallingdotseq R: eq, falling dots --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≓')"><xsl:value-of select="'\risingdotseq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≓')"/></xsl:call-template></xsl:when> <!--/risingdotseq R: eq, rising dots --> <!-- Required amssymb --> +-<!-- <xsl:when test="starts-with($content,'≔')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≔')"/></xsl:call-template></xsl:when> /coloneq R: colon, equals --> +-<!-- <xsl:when test="starts-with($content,'≕')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≕')"/></xsl:call-template></xsl:when> /eqcolon R: equals, colon --> +- <xsl:when test="starts-with($content,'≖')"><xsl:value-of select="'\eqcirc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≖')"/></xsl:call-template></xsl:when> <!--/eqcirc R: circle on equals sign --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≗')"><xsl:value-of select="'\circeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≗')"/></xsl:call-template></xsl:when> <!--/circeq R: circle, equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≔')"><xsl:value-of select="'\coloneq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≔')"/></xsl:call-template></xsl:when> <!--/coloneq R: colon, equals --> ++ <xsl:when test="starts-with($content,'≕')"><xsl:value-of select="'\eqcolon '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≕')"/></xsl:call-template></xsl:when> <!--/eqcolon R: equals, colon --> ++ <xsl:when test="starts-with($content,'≖')"><xsl:value-of select="'\eqcirc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≖')"/></xsl:call-template></xsl:when> <!--/eqcirc R: circle on equals sign --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≗')"><xsl:value-of select="'\circeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≗')"/></xsl:call-template></xsl:when> <!--/circeq R: circle, equals --> <!-- Required amssymb --> + <!-- ? --> <xsl:when test="starts-with($content,'≘')"><xsl:value-of select="'\stackrel{\frown}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≘')"/></xsl:call-template></xsl:when> +-<!-- ? --> <xsl:when test="starts-with($content,'≙')"><xsl:value-of select="'\stackrel{\wedge}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≙')"/></xsl:call-template></xsl:when> <!--/wedgeq R: corresponds to (wedge, equals) --> +-<!-- ? --> <xsl:when test="starts-with($content,'≚')"><xsl:value-of select="'\stackrel{\vee}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≚')"/></xsl:call-template></xsl:when> <!--logical or, equals --> +-<!-- ? --> <xsl:when test="starts-with($content,'≛')"><xsl:value-of select="'\stackrel{\star}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≛')"/></xsl:call-template></xsl:when> <!--equal, asterisk above --> ++ <xsl:when test="starts-with($content,'≙')"><xsl:value-of select="'\wedgeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≙')"/></xsl:call-template></xsl:when> <!--/wedgeq R: corresponds to (wedge, equals) --> ++ <xsl:when test="starts-with($content,'≚')"><xsl:value-of select="'\ElsevierGlyph{225A}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≚')"/></xsl:call-template></xsl:when> <!--logical or, equals --> ++ <xsl:when test="starts-with($content,'≛')"><xsl:value-of select="'\starequal '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≛')"/></xsl:call-template></xsl:when> <!--equal, asterisk above --> + <xsl:when test="starts-with($content,'≜')"><xsl:value-of select="'\triangleq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≜')"/></xsl:call-template></xsl:when> <!--/triangleq R: triangle, equals --> <!-- Required amssymb --> + <!-- ? --> <xsl:when test="starts-with($content,'≝')"><xsl:value-of select="'\stackrel{\scriptscriptstyle\mathrm{def}}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≝')"/></xsl:call-template></xsl:when> + <!-- ? --> <xsl:when test="starts-with($content,'≞')"><xsl:value-of select="'\stackrel{\scriptscriptstyle\mathrm{m}}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≞')"/></xsl:call-template></xsl:when> +-<!-- ? --> <xsl:when test="starts-with($content,'≟')"><xsl:value-of select="'\stackrel{?}{=}'" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≟')"/></xsl:call-template></xsl:when> <!--/questeq R: equal with questionmark --> ++ <xsl:when test="starts-with($content,'≟')"><xsl:value-of select="'\questeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≟')"/></xsl:call-template></xsl:when> <!--/questeq R: equal with questionmark --> + <!-- <xsl:when test="starts-with($content,'≠︀')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≠︀')"/></xsl:call-template></xsl:when> not equal, dot --> + <xsl:when test="starts-with($content,'≠')"><xsl:value-of select="'\ne '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≠')"/></xsl:call-template></xsl:when> <!--/ne /neq R: not equal --> + <!-- <xsl:when test="starts-with($content,'≡⃥')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≡⃥')"/></xsl:call-template></xsl:when> reverse not equivalent --> + <xsl:when test="starts-with($content,'≡')"><xsl:value-of select="'\equiv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≡')"/></xsl:call-template></xsl:when> <!--/equiv R: identical with --> +- <xsl:when test="starts-with($content,'≢')"><xsl:value-of select="'\not\equiv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≢')"/></xsl:call-template></xsl:when> <!--/nequiv N: not identical with --> ++ <xsl:when test="starts-with($content,'≢')"><xsl:value-of select="'\nequiv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≢')"/></xsl:call-template></xsl:when> <!--/nequiv N: not identical with --> + <!-- <xsl:when test="starts-with($content,'≣')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≣')"/></xsl:call-template></xsl:when> --> + <xsl:when test="starts-with($content,'≤')"><xsl:value-of select="'\le '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≤')"/></xsl:call-template></xsl:when> <!--/leq /le R: less-than-or-equal --> + <xsl:when test="starts-with($content,'≥')"><xsl:value-of select="'\ge '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≥')"/></xsl:call-template></xsl:when> <!--/geq /ge R: greater-than-or-equal --> + <xsl:when test="starts-with($content,'≦')"><xsl:value-of select="'\leqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≦')"/></xsl:call-template></xsl:when> <!--/leqq R: less, double equals --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≧')"><xsl:value-of select="'\geqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≧')"/></xsl:call-template></xsl:when> <!--/geqq R: greater, double equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≨︀')"><xsl:value-of select="'\lvertneqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≨︀')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≨')"><xsl:value-of select="'\lneqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≨')"/></xsl:call-template></xsl:when> <!--/lneqq N: less, not double equals --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≩︀')"><xsl:value-of select="'\gvertneqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≩︀')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≩')"><xsl:value-of select="'\gneqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≩')"/></xsl:call-template></xsl:when> <!--/gneqq N: greater, not dbl equals --> <!-- Required amssymb --> + <!-- <xsl:when test="starts-with($content,'≪̸︀')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≪̸︀')"/></xsl:call-template></xsl:when> not much less than, variant --> +-<!-- <xsl:when test="starts-with($content,'≪̸')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≪̸')"/></xsl:call-template></xsl:when> not, vert, much less than --> ++ <xsl:when test="starts-with($content,'≪̸')"><xsl:value-of select="'\NotLessLess '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≪̸')"/></xsl:call-template></xsl:when> <!-- not, vert, much less than --> + <xsl:when test="starts-with($content,'≪')"><xsl:value-of select="'\ll '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≪')"/></xsl:call-template></xsl:when> <!--/ll R: double less-than sign --> + <!-- <xsl:when test="starts-with($content,'≫̸︀')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≫̸︀')"/></xsl:call-template></xsl:when> not much greater than, variant --> +-<!-- <xsl:when test="starts-with($content,'≫̸')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≫̸')"/></xsl:call-template></xsl:when> not, vert, much greater than --> ++ <xsl:when test="starts-with($content,'≫̸')"><xsl:value-of select="'\NotGreaterGreater '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≫̸')"/></xsl:call-template></xsl:when> <!-- not, vert, much greater than --> + <xsl:when test="starts-with($content,'≫')"><xsl:value-of select="'\gg '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≫')"/></xsl:call-template></xsl:when> <!--/gg R: dbl greater-than sign --> + <xsl:when test="starts-with($content,'≬')"><xsl:value-of select="'\between '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≬')"/></xsl:call-template></xsl:when> <!--/between R: between --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≭')"><xsl:value-of select="'\not\asymp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≭')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'≭')"><xsl:value-of select="'\not\kern-0.3em\times '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≭')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≮')"><xsl:value-of select="'\nless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≮')"/></xsl:call-template></xsl:when> <!--/nless N: not less-than --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≯')"><xsl:value-of select="'\ngtr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≯')"/></xsl:call-template></xsl:when> <!--/ngtr N: not greater-than --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≰⃥')"><xsl:value-of select="'\nleq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≰⃥')"/></xsl:call-template></xsl:when> <!--/nleq N: not less-than-or-equal --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≰')"><xsl:value-of select="'\nleqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≰')"/></xsl:call-template></xsl:when> <!--/nleqq N: not less, dbl equals --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≱⃥')"><xsl:value-of select="'\ngeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≱⃥')"/></xsl:call-template></xsl:when> <!--/ngeq N: not greater-than-or-equal --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≱')"><xsl:value-of select="'\ngeqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≱')"/></xsl:call-template></xsl:when> <!--/ngeqq N: not greater, dbl equals --> <!-- Required amssymb --> ++<!-- <xsl:when test="starts-with($content,'≰⃥')"><xsl:value-of select="'\nleq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≰⃥')"/></xsl:call-template></xsl:when> /nleq N: not less-than-or-equal --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≰')"><xsl:value-of select="'\nleq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≰')"/></xsl:call-template></xsl:when> <!--/nleqq N: not less, dbl equals --> <!-- Required amssymb --> ++<!-- <xsl:when test="starts-with($content,'≱⃥')"><xsl:value-of select="'\ngeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≱⃥')"/></xsl:call-template></xsl:when> /ngeq N: not greater-than-or-equal --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≱')"><xsl:value-of select="'\ngeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≱')"/></xsl:call-template></xsl:when> <!--/ngeqq N: not greater, dbl equals --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≲')"><xsl:value-of select="'\lesssim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≲')"/></xsl:call-template></xsl:when> <!--/lesssim R: less, similar --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≳')"><xsl:value-of select="'\gtrsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≳')"/></xsl:call-template></xsl:when> <!--/gtrsim R: greater, similar --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≴')"><xsl:value-of select="'\not\lesssim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≴')"/></xsl:call-template></xsl:when> <!--not less, similar --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≵')"><xsl:value-of select="'\not\gtrsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≵')"/></xsl:call-template></xsl:when> <!--not greater, similar --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≴')"><xsl:value-of select="'\ElsevierGlyph{2274} '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≴')"/></xsl:call-template></xsl:when> <!--not less, similar --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≵')"><xsl:value-of select="'\ElsevierGlyph{2275} '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≵')"/></xsl:call-template></xsl:when> <!--not greater, similar --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≶')"><xsl:value-of select="'\lessgtr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≶')"/></xsl:call-template></xsl:when> <!--/lessgtr R: less, greater --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≷')"><xsl:value-of select="'\gtrless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≷')"/></xsl:call-template></xsl:when> <!--/gtrless R: greater, less --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≸')"><xsl:value-of select="'\not\lessgtr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≸')"/></xsl:call-template></xsl:when> <!--not less, greater --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'≹')"><xsl:value-of select="'\not\gtrless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≹')"/></xsl:call-template></xsl:when> <!--not greater, less --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≸')"><xsl:value-of select="'\notlessgreater '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≸')"/></xsl:call-template></xsl:when> <!--not less, greater --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≹')"><xsl:value-of select="'\notgreaterless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≹')"/></xsl:call-template></xsl:when> <!--not greater, less --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≺')"><xsl:value-of select="'\prec '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≺')"/></xsl:call-template></xsl:when> <!--/prec R: precedes --> + <xsl:when test="starts-with($content,'≻')"><xsl:value-of select="'\succ '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≻')"/></xsl:call-template></xsl:when> <!--/succ R: succeeds --> + <xsl:when test="starts-with($content,'≼')"><xsl:value-of select="'\preccurlyeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≼')"/></xsl:call-template></xsl:when> <!--/preccurlyeq R: precedes, curly eq --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'≽')"><xsl:value-of select="'\succcurlyeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≽')"/></xsl:call-template></xsl:when> <!--/succcurlyeq R: succeeds, curly eq --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≾̸')"><xsl:value-of select="'\nprecsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≾̸')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≾')"><xsl:value-of select="'\precsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≾')"/></xsl:call-template></xsl:when> <!--/precsim R: precedes, similar --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'≿̸')"><xsl:value-of select="'\nsuccsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≿̸')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'≿')"><xsl:value-of select="'\succsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '≿')"/></xsl:call-template></xsl:when> <!--/succsim R: succeeds, similar --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⊀')"><xsl:value-of select="'\nprec '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊀')"/></xsl:call-template></xsl:when> <!--/nprec N: not precedes --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⊁')"><xsl:value-of select="'\nsucc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊁')"/></xsl:call-template></xsl:when> <!--/nsucc N: not succeeds --> <!-- Required amssymb --> +@@ -360,21 +769,59 @@ + <xsl:when test="starts-with($content,'⊅')"><xsl:value-of select="'\not\supset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊅')"/></xsl:call-template></xsl:when> <!--not superset --> + <xsl:when test="starts-with($content,'⊆')"><xsl:value-of select="'\subseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊆')"/></xsl:call-template></xsl:when> <!--/subseteq R: subset, equals --> + <xsl:when test="starts-with($content,'⊇')"><xsl:value-of select="'\supseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊇')"/></xsl:call-template></xsl:when> <!--/supseteq R: superset, equals --> ++ <xsl:when test="starts-with($content,'⊈')"><xsl:value-of select="'\nsubseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊈')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊉')"><xsl:value-of select="'\nsupseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊉')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊊︀')"><xsl:value-of select="'\varsubsetneqq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊊︀')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊊')"><xsl:value-of select="'\subsetneq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊊')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊋︀')"><xsl:value-of select="'\varsupsetneq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊋︀')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊋')"><xsl:value-of select="'\supsetneq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊋')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊍')"><xsl:value-of select="'\cupdot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊍')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⊎')"><xsl:value-of select="'\uplus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊎')"/></xsl:call-template></xsl:when> <!--/uplus B: plus sign in union --> ++ <xsl:when test="starts-with($content,'⊏̸')"><xsl:value-of select="'\NotSquareSubset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊏̸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊏')"><xsl:value-of select="'\sqsubset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊏')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊐̸')"><xsl:value-of select="'\NotSquareSuperset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊐̸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊐')"><xsl:value-of select="'\sqsupset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊐')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊑')"><xsl:value-of select="'\sqsubseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊑')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊒')"><xsl:value-of select="'\sqsupseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊒')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⊓')"><xsl:value-of select="'\sqcap '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊓')"/></xsl:call-template></xsl:when> <!--/sqcap B: square intersection --> +- <xsl:when test="starts-with($content,'⊔')"><xsl:value-of select="'\bigsqcup '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊔')"/></xsl:call-template></xsl:when> <!--/sqcup B: square union --> ++ <xsl:when test="starts-with($content,'⊔')"><xsl:value-of select="'\sqcup '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊔')"/></xsl:call-template></xsl:when> <!--/sqcup B: square union --> + <xsl:when test="starts-with($content,'⊕')"><xsl:value-of select="'\oplus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊕')"/></xsl:call-template></xsl:when> <!--/oplus B: plus sign in circle --> + <xsl:when test="starts-with($content,'⊖')"><xsl:value-of select="'\ominus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊖')"/></xsl:call-template></xsl:when> <!--/ominus B: minus sign in circle --> + <xsl:when test="starts-with($content,'⊗')"><xsl:value-of select="'\otimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊗')"/></xsl:call-template></xsl:when> <!--/otimes B: multiply sign in circle --> + <xsl:when test="starts-with($content,'⊘')"><xsl:value-of select="'\oslash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊘')"/></xsl:call-template></xsl:when> <!--/oslash B: solidus in circle --> +-<!-- ? --> <xsl:when test="starts-with($content,'⊙')"><xsl:value-of select="'\odot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊙')"/></xsl:call-template></xsl:when> <!--/odot B: middle dot in circle --> <!--/bigodot L: circle dot operator --> ++ <xsl:when test="starts-with($content,'⊙')"><xsl:value-of select="'\odot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊙')"/></xsl:call-template></xsl:when> <!--/odot B: middle dot in circle --> <!--/bigodot L: circle dot operator --> ++ <xsl:when test="starts-with($content,'⊚')"><xsl:value-of select="'\circledcirc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊚')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊛')"><xsl:value-of select="'\circledast '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊛')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊝')"><xsl:value-of select="'\circleddash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊝')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊞')"><xsl:value-of select="'\boxplus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊞')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⊟')"><xsl:value-of select="'\boxminus '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊟')"/></xsl:call-template></xsl:when> <!--/boxminus B: minus sign in box --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'⊠')"><xsl:value-of select="'\boxtimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊠')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊡')"><xsl:value-of select="'\boxdot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊡')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊢')"><xsl:value-of select="'\vdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊢')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊣')"><xsl:value-of select="'\dashv '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊣')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⊤')"><xsl:value-of select="'\top '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊤')"/></xsl:call-template></xsl:when> <!--/top top --> + <xsl:when test="starts-with($content,'⊥')"><xsl:value-of select="'\perp '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊥')"/></xsl:call-template></xsl:when> <!--/perp R: perpendicular --><!--/bot bottom --> +- <xsl:when test="starts-with($content,'⊦')"><xsl:value-of select="'\vdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊦')"/></xsl:call-template></xsl:when> <!--/vdash R: vertical, dash --> +- <xsl:when test="starts-with($content,'⊧')"><xsl:value-of select="'\vDash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊧')"/></xsl:call-template></xsl:when> <!--/vDash R: vertical, dbl dash --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'⊨')"><xsl:value-of select="'\models '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊨')"/></xsl:call-template></xsl:when> <!--/models R: --> ++<!-- <xsl:when test="starts-with($content,'⊦')"><xsl:value-of select="'\vdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊦')"/></xsl:call-template></xsl:when> /vdash R: vertical, dash --> ++ <xsl:when test="starts-with($content,'⊧')"><xsl:value-of select="'\models '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊧')"/></xsl:call-template></xsl:when> <!--/vDash R: vertical, dbl dash --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'⊨')"><xsl:value-of select="'\vDash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊨')"/></xsl:call-template></xsl:when> <!--/models R: --> ++ <xsl:when test="starts-with($content,'⊩')"><xsl:value-of select="'\Vdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊩')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⊪')"><xsl:value-of select="'\Vvdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊪')"/></xsl:call-template></xsl:when> <!--/Vvdash R: triple vertical, dash --> <!-- Required amssymb --> ++ <xsl:when test="starts-with($content,'⊫')"><xsl:value-of select="'\VDash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊫')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊬')"><xsl:value-of select="'\nvdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊬')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊭')"><xsl:value-of select="'\nvDash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊭')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊮')"><xsl:value-of select="'\nVdash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊮')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊯')"><xsl:value-of select="'\nVDash '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊯')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊲')"><xsl:value-of select="'\vartriangleleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊲')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊳')"><xsl:value-of select="'\vartriangleright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊳')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊴')"><xsl:value-of select="'\trianglelefteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊴')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊵')"><xsl:value-of select="'\trianglerighteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊵')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊶')"><xsl:value-of select="'\original '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊶')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊷')"><xsl:value-of select="'\image '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊷')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊸')"><xsl:value-of select="'\multimap '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊸')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊹')"><xsl:value-of select="'\hermitconjmatrix '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊹')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊺')"><xsl:value-of select="'\intercal '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊺')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊻')"><xsl:value-of select="'\veebar '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊻')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⊾')"><xsl:value-of select="'\rightanglearc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⊾')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⋀')"><xsl:value-of select="'\bigwedge '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋀')"/></xsl:call-template></xsl:when> <!--/bigwedge L: logical or operator --> + <xsl:when test="starts-with($content,'⋁')"><xsl:value-of select="'\bigvee '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋁')"/></xsl:call-template></xsl:when> <!--/bigcap L: intersection operator --> + <xsl:when test="starts-with($content,'⋂')"><xsl:value-of select="'\bigcap '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋂')"/></xsl:call-template></xsl:when> <!--/bigvee L: logical and operator --> +@@ -384,11 +831,41 @@ + <xsl:when test="starts-with($content,'⋆')"><xsl:value-of select="'\star '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋆')"/></xsl:call-template></xsl:when> <!--/star B: small star, filled --> + <xsl:when test="starts-with($content,'⋇')"><xsl:value-of select="'\divideontimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋇')"/></xsl:call-template></xsl:when> <!--/divideontimes B: division on times --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'⋈')"><xsl:value-of select="'\bowtie '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋈')"/></xsl:call-template></xsl:when> <!--/bowtie R: --> ++ <xsl:when test="starts-with($content,'⋉')"><xsl:value-of select="'\ltimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋉')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋊')"><xsl:value-of select="'\rtimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋊')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋋')"><xsl:value-of select="'\leftthreetimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋋')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋌')"><xsl:value-of select="'\rightthreetimes '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋌')"/></xsl:call-template></xsl:when> + <xsl:when test="starts-with($content,'⋍')"><xsl:value-of select="'\backsimeq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋍')"/></xsl:call-template></xsl:when> <!--/backsimeq R: reverse similar, eq --> <!-- Required amssymb --> +- <xsl:when test="starts-with($content,'⋯')"><xsl:value-of select="'\cdots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋯')"/></xsl:call-template></xsl:when> <!--/cdots, three dots, centered --> +-<!-- <xsl:when test="starts-with($content,'⋰')"><xsl:value-of select="' '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋰')"/></xsl:call-template></xsl:when> three dots, ascending --> +- <xsl:when test="starts-with($content,'⋱')"><xsl:value-of select="'\ddots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋱')"/></xsl:call-template></xsl:when> <!--/ddots, three dots, descending --> +- ++ <xsl:when test="starts-with($content,'⋎')"><xsl:value-of select="'\curlyvee '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋎')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋏')"><xsl:value-of select="'\curlywedge '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋏')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋐')"><xsl:value-of select="'\Subset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋐')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋑')"><xsl:value-of select="'\Supset '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋑')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋒')"><xsl:value-of select="'\Cap '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋒')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋓')"><xsl:value-of select="'\Cup '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋓')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋔')"><xsl:value-of select="'\pitchfork '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋔')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋖')"><xsl:value-of select="'\lessdot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋖')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋗')"><xsl:value-of select="'\gtrdot '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋗')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋘')"><xsl:value-of select="'\verymuchless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋘')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋙')"><xsl:value-of select="'\ggg '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋙')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋚')"><xsl:value-of select="'\lesseqgtr '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋚')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋛')"><xsl:value-of select="'\gtreqless '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋛')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋞')"><xsl:value-of select="'\curlyeqprec '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋞')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋟')"><xsl:value-of select="'\curlyeqsucc '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋟')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋢')"><xsl:value-of select="'\not\sqsubseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋢')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋣')"><xsl:value-of select="'\not\sqsupseteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋣')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋥')"><xsl:value-of select="'\Elzsqspne '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋥')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋦')"><xsl:value-of select="'\lnsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋦')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋧')"><xsl:value-of select="'\gnsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋧')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋨')"><xsl:value-of select="'\precnsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋨')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋩')"><xsl:value-of select="'\succnsim '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋩')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋪')"><xsl:value-of select="'\ntriangleleft '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋪')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋫')"><xsl:value-of select="'\ntriangleright '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋫')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋬')"><xsl:value-of select="'\ntrianglelefteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋬')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋭')"><xsl:value-of select="'\ntrianglerighteq '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋭')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋮')"><xsl:value-of select="'\vdots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋮')"/></xsl:call-template></xsl:when> ++ <xsl:when test="starts-with($content,'⋯')"><xsl:value-of select="'\cdots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋯')"/></xsl:call-template></xsl:when> <!--/cdots, three dots, centered --> ++ <xsl:when test="starts-with($content,'⋰')"><xsl:value-of select="'\backslash adots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋰')"/></xsl:call-template></xsl:when> <!-- three dots, ascending --> ++ <xsl:when test="starts-with($content,'⋱')"><xsl:value-of select="'\ddots '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '⋱')"/></xsl:call-template></xsl:when> <!--/ddots, three dots, descending --> + <!-- ====================================================================== --> + <!-- Unicode 3.2 + Miscellaneous Technical +@@ -404,20 +881,22 @@ + <!-- ====================================================================== --> + <xsl:when test="starts-with($content,'□')"><xsl:value-of select="'\square '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '□')"/></xsl:call-template></xsl:when> <!--/square, square --> <!-- Required amssymb --> + <xsl:when test="starts-with($content,'▪')"><xsl:value-of select="'\blacksquare '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '▪')"/></xsl:call-template></xsl:when> <!--/blacksquare, square, filled --> <!-- Required amssymb --> ++ ++ <xsl:when test='starts-with($content,"ƛ")'><xsl:value-of select='"\lambda\!\!\!{}^{-}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, 'ƛ')"/></xsl:call-template></xsl:when> ++ ++<!-- Double brackets (only supported as workaround in MediaWiki). --> ++ <xsl:when test='starts-with($content,"〚")'><xsl:value-of select='"[\!["' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '〚')"/></xsl:call-template></xsl:when> ++ <xsl:when test='starts-with($content,"〛")'><xsl:value-of select='"]\!]"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '〛')"/></xsl:call-template></xsl:when> ++ ++<!-- Entities undefined in Unicode, but used by OOo for parenteses. --> ++ <xsl:when test='starts-with($content,"")'><xsl:value-of select='"("' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '')"/></xsl:call-template></xsl:when> ++ <xsl:when test='starts-with($content,"")'><xsl:value-of select='")"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '')"/></xsl:call-template></xsl:when> + + <xsl:when test='starts-with($content,"'")'><xsl:value-of select='"\text{'}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select='substring-after($content, "'")'/></xsl:call-template></xsl:when><!-- \text required amslatex --> + + <xsl:when test='starts-with($content,"{")'><xsl:value-of select='"\{"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '{')"/></xsl:call-template></xsl:when> + <xsl:when test='starts-with($content,"}")'><xsl:value-of select='"\}"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '}')"/></xsl:call-template></xsl:when> +- +-<!--- special characters --> +- <xsl:when test='starts-with($content,"$")'><xsl:value-of select='"\$"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '$')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"#")'><xsl:value-of select='"\#"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '#')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"&")'><xsl:value-of select='"\&"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '&')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"%")'><xsl:value-of select='"\%"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '%')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"_")'><xsl:value-of select='"\_"' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '_')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"\")'><xsl:value-of select='"\backslash "' /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, '\')"/></xsl:call-template></xsl:when> +- ++ + <xsl:otherwise> + <xsl:value-of select="substring($content,1,1)"/> + <xsl:call-template name="replaceEntities"> +@@ -445,7 +924,12 @@ + <xsl:when test='starts-with($content,"&")'><xsl:value-of select='"\&"' /><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '&')"/></xsl:call-template></xsl:when> + <xsl:when test='starts-with($content,"%")'><xsl:value-of select='"\%"' /><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '%')"/></xsl:call-template></xsl:when> + <xsl:when test='starts-with($content,"_")'><xsl:value-of select='"\_"' /><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '_')"/></xsl:call-template></xsl:when> +- <xsl:when test='starts-with($content,"\")'><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '\')"/></xsl:call-template></xsl:when> ++ <xsl:when test='starts-with($content,"\")'><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '\')"/></xsl:call-template></xsl:when> ++ ++ <!-- Ignore "lower than" and "greater than" symbols, which break the MediaWiki parser in text mode. --> ++ <xsl:when test='starts-with($content,">")'><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '>')"/></xsl:call-template></xsl:when> ++ <xsl:when test='starts-with($content,"<")'><xsl:call-template name="replaceMtextEntities"><xsl:with-param name="content" select="substring-after($content, '<')"/></xsl:call-template></xsl:when> ++ + <xsl:otherwise> + <xsl:value-of select="substring($content,1,1)"/> + <xsl:call-template name="replaceMtextEntities"> +--- misc/xsltml_2.1.2/glayout.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/glayout.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -1,12 +1,13 @@ + <?xml version='1.0' encoding="UTF-8"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +- xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:oomath="http://www.w3.org/1998/Math/MathML" + version='1.0'> + + <!-- ====================================================================== --> +-<!-- $Id: glayout.xsl,v 1.5 2003/06/10 12:24:04 shade33 Exp $ ++<!-- $Id: glayout.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> + +@@ -92,17 +93,16 @@ + + <xsl:template match="m:mfenced"> + <xsl:choose> +- <xsl:when test="@open"> +- <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')='{'"> ++ <xsl:when test="@oomath:open"> ++ <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{'"> + <xsl:text>\left</xsl:text> + </xsl:if> +- <xsl:if test="@open='{' or @open='}'"> +- <xsl:text>\</xsl:text> +- </xsl:if> +- <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')!='{' and (translate(@close,'{}[]()|','{{{{{{{')='{' or not(@close))"> ++ <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:close))"> + <xsl:text>\left.</xsl:text> +- </xsl:if> +- <xsl:value-of select="@open"/> ++ </xsl:if> ++ <xsl:call-template name="replaceEntities"> ++ <xsl:with-param name="content" select="@oomath:open"/> ++ </xsl:call-template> + </xsl:when> + <xsl:otherwise><xsl:text>\left(</xsl:text></xsl:otherwise> + </xsl:choose> +@@ -128,26 +128,30 @@ + </xsl:if> + </xsl:for-each> + <xsl:choose> +- <xsl:when test="@close"> +- <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')='{'"> ++ <xsl:when test="@oomath:close"> ++ <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{'"> + <xsl:text>\right</xsl:text> + </xsl:if> +- <xsl:if test="@close='{' or @close='}'"> +- <xsl:text>\</xsl:text> +- </xsl:if> +- <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')!='{' and (translate(@open,'{}[]()|','{{{{{{{')='{' or not(@open))"> ++ <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:open))"> + <xsl:text>\right.</xsl:text> + </xsl:if> +- <xsl:value-of select="@close"/> ++ <xsl:call-template name="replaceEntities"> ++ <xsl:with-param name="content" select="@oomath:close"/> ++ </xsl:call-template> + </xsl:when> + <xsl:otherwise><xsl:text>\right)</xsl:text></xsl:otherwise> + </xsl:choose> + </xsl:template> + + <xsl:template match="m:mphantom"> +- <xsl:text>\phantom{</xsl:text> +- <xsl:apply-templates/> ++<!-- Not supported by MediaWiki. --> ++<!-- ++ <xsl:text>\phantom{</xsl:text> ++ --> ++ <xsl:apply-templates/> ++<!-- + <xsl:text>}</xsl:text> ++ --> + </xsl:template> + + <xsl:template match="m:menclose"> +@@ -193,15 +197,21 @@ + </xsl:call-template> + <xsl:text>}{$</xsl:text> + </xsl:if> +- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> ++ <xsl:if test="@color or @mathcolor"> ++ <xsl:variable name="color"> ++ <xsl:choose> ++ <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when> ++ <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when> ++ </xsl:choose> ++ </xsl:variable> + <xsl:text>\textcolor[rgb]{</xsl:text> + <xsl:call-template name="color"> +- <xsl:with-param name="color" select="@color|@mathcolor"/> ++ <xsl:with-param name="color" select="$color"/> + </xsl:call-template> + <xsl:text>}{</xsl:text> + </xsl:if> + <xsl:apply-templates/> +- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> ++ <xsl:if test="@color or @mathcolor"> + <xsl:text>}</xsl:text> + </xsl:if> + <xsl:if test="@background"> +--- misc/xsltml_2.1.2/mmltex.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/mmltex.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -6,9 +6,9 @@ + <xsl:output method="text" indent="no" encoding="UTF-8"/> + + <!-- ====================================================================== --> +-<!-- $Id: mmltex.xsl,v 1.7 2003/06/10 12:24:04 shade33 Exp $ ++<!-- $Id: mmltex.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> + +--- misc/xsltml_2.1.2/scripts.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/scripts.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -1,12 +1,13 @@ + <?xml version='1.0' encoding="UTF-8"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +- xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:oomath="http://www.w3.org/1998/Math/MathML" + version='1.0'> + + <!-- ====================================================================== --> +-<!-- $Id: scripts.xsl,v 1.4 2003/06/10 12:24:04 shade33 Exp $ ++<!-- $Id: scripts.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> + +@@ -23,7 +24,7 @@ + </xsl:call-template> + <xsl:text>}</xsl:text> + </xsl:when> +- <xsl:when test="$over='︷'"> <!-- OverBrace - over brace --> ++ <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace --> + <xsl:text>\overbrace{</xsl:text> + <xsl:call-template name="munder"> + <xsl:with-param name="base" select="$base"/> +@@ -64,7 +65,7 @@ + </xsl:call-template> + <xsl:text>}</xsl:text> + </xsl:when> +- <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace --> ++ <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace --> + <xsl:text>\underbrace{</xsl:text> + <xsl:call-template name="mover"> + <xsl:with-param name="base" select="$base"/> +@@ -153,7 +154,7 @@ + <xsl:apply-templates select="./*[1]"/> + <xsl:text>}</xsl:text> + </xsl:when> +- <xsl:when test="$over='︷'"> <!-- OverBrace - over brace --> ++ <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace --> + <xsl:text>\overbrace{</xsl:text> + <xsl:apply-templates select="./*[1]"/> + <xsl:text>}</xsl:text> +@@ -192,10 +193,51 @@ + <xsl:text>\ddot{</xsl:text> + <xsl:apply-templates select="./*[1]"/> + <xsl:text>}</xsl:text> +- </xsl:when> +- <xsl:when test="$over='̂' or $over='^'"> <!-- Hat or circ - circumflex accent --> ++ </xsl:when> ++ <xsl:when test="$over='´'"> <!-- Acute accent "´" --> ++ <xsl:text>\acute{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='`'"> <!-- Grave accent "`" --> ++ <xsl:text>\grave{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='ˇ'"> <!-- Caron (Mandarin Chinese third tone) "ˇ" --> ++ <xsl:text>\check{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='˘'"> <!-- Breve accent "˘" --> ++ <xsl:text>\breve{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='˚'"> <!-- ring above "˚" --> ++ <xsl:text>\overset{\circ}{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='ˉ'"> <!-- modifier letter Macron (Mandarin Chinese first tone) "ˉ" --> ++ <xsl:text>\bar{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='¨'"> <!-- Diaeresis "¨" --> ++ <xsl:text>\ddot{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ <xsl:when test="$over='⃗'"> <!-- Vector --> ++ <xsl:text>\vec{</xsl:text> ++ <xsl:apply-templates select="./*[1]"/> ++ <xsl:text>}</xsl:text> ++ </xsl:when> ++ ++ <xsl:when test="$over='̂' or $over='^' or $over='ˆ'"> <!-- Hat or circ - circumflex accent --> + <xsl:choose> +- <xsl:when test="@accent='true'"> ++ <xsl:when test="@oomath:accent='true'"> + <xsl:text>\widehat{</xsl:text> + </xsl:when> + <xsl:otherwise> +@@ -244,7 +281,7 @@ + <xsl:apply-templates select="./*[1]"/> + <xsl:text>}</xsl:text> + </xsl:when> +- <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace --> ++ <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace --> + <xsl:text>\underbrace{</xsl:text> + <xsl:apply-templates select="./*[1]"/> + <xsl:text>}</xsl:text> +--- misc/xsltml_2.1.2/tables.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/tables.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -1,130 +1,218 @@ +-<?xml version='1.0' encoding="UTF-8"?> +-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +- xmlns:m="http://www.w3.org/1998/Math/MathML" +- version='1.0'> +- +-<!-- ====================================================================== --> +-<!-- $id: tables.xsl, 2002/17/05 Exp $ +- This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for +- copyright and other information --> +-<!-- ====================================================================== --> +- +-<xsl:template match="m:mtd[@columnspan]"> +- <xsl:text>\multicolumn{</xsl:text> +- <xsl:value-of select="@columnspan"/> +- <xsl:text>}{c}{</xsl:text> +- <xsl:apply-templates/> +- <xsl:text>}</xsl:text> +- <xsl:if test="count(following-sibling::*)>0"> +- <xsl:text>& </xsl:text> +- </xsl:if> +-</xsl:template> +- +- +-<xsl:template match="m:mtd"> +- <xsl:if test="@columnalign='right' or @columnalign='center'"> +- <xsl:text>\hfill </xsl:text> +- </xsl:if> +- <xsl:apply-templates/> +- <xsl:if test="@columnalign='left' or @columnalign='center'"> +- <xsl:text>\hfill </xsl:text> +- </xsl:if> +- <xsl:if test="count(following-sibling::*)>0"> +-<!-- this test valid for Sablotron, another form - test="not(position()=last())". +- Also for m:mtd[@columnspan] and m:mtr --> +- <xsl:text>& </xsl:text> +- </xsl:if> +-</xsl:template> +- +-<xsl:template match="m:mtr"> +- <xsl:apply-templates/> +- <xsl:if test="count(following-sibling::*)>0"> +- <xsl:text>\\ </xsl:text> +- </xsl:if> +-</xsl:template> +- +-<xsl:template match="m:mtable"> +- <xsl:text>\begin{array}{</xsl:text> +- <xsl:if test="@frame='solid'"> +- <xsl:text>|</xsl:text> +- </xsl:if> +- <xsl:variable name="numbercols" select="count(./m:mtr[1]/m:mtd[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/> +- <xsl:choose> +- <xsl:when test="@columnalign"> +- <xsl:variable name="colalign"> +- <xsl:call-template name="colalign"> +- <xsl:with-param name="colalign" select="@columnalign"/> +- </xsl:call-template> +- </xsl:variable> +- <xsl:choose> +- <xsl:when test="string-length($colalign) > $numbercols"> +- <xsl:value-of select="substring($colalign,1,$numbercols)"/> +- </xsl:when> +- <xsl:when test="string-length($colalign) < $numbercols"> +- <xsl:value-of select="$colalign"/> +- <xsl:call-template name="generate-string"> +- <xsl:with-param name="text" select="substring($colalign,string-length($colalign))"/> +- <xsl:with-param name="count" select="$numbercols - string-length($colalign)"/> +- </xsl:call-template> +- </xsl:when> +- <xsl:otherwise> +- <xsl:value-of select="$colalign"/> +- </xsl:otherwise> +- </xsl:choose> +- </xsl:when> +- <xsl:otherwise> +- <xsl:call-template name="generate-string"> +- <xsl:with-param name="text" select="'c'"/> +- <xsl:with-param name="count" select="$numbercols"/> +- </xsl:call-template> +- </xsl:otherwise> +- </xsl:choose> +- <xsl:if test="@frame='solid'"> +- <xsl:text>|</xsl:text> +- </xsl:if> +- <xsl:text>}</xsl:text> +- <xsl:if test="@frame='solid'"> +- <xsl:text>\hline </xsl:text> +- </xsl:if> +- <xsl:apply-templates/> +- <xsl:if test="@frame='solid'"> +- <xsl:text>\\ \hline</xsl:text> +- </xsl:if> +- <xsl:text>\end{array}</xsl:text> +-</xsl:template> +- +-<xsl:template name="colalign"> +- <xsl:param name="colalign"/> +- <xsl:choose> +- <xsl:when test="contains($colalign,' ')"> +- <xsl:value-of select="substring($colalign,1,1)"/> +- <xsl:call-template name="colalign"> +- <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/> +- </xsl:call-template> +- </xsl:when> +- <xsl:otherwise> +- <xsl:value-of select="substring($colalign,1,1)"/> +- </xsl:otherwise> +- </xsl:choose> +-</xsl:template> +- +-<xsl:template name="generate-string"> +-<!-- template from XSLT Standard Library v1.1 --> +- <xsl:param name="text"/> +- <xsl:param name="count"/> +- +- <xsl:choose> +- <xsl:when test="string-length($text) = 0 or $count <= 0"/> +- +- <xsl:otherwise> +- <xsl:value-of select="$text"/> +- <xsl:call-template name="generate-string"> +- <xsl:with-param name="text" select="$text"/> +- <xsl:with-param name="count" select="$count - 1"/> +- </xsl:call-template> +- </xsl:otherwise> +- </xsl:choose> +-</xsl:template> +- +-</xsl:stylesheet> +\ No newline at end of file ++<?xml version='1.0' encoding="UTF-8"?> ++<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ++ xmlns:m="http://www.w3.org/1998/Math/MathML" ++ version='1.0'> ++ ++<!-- ====================================================================== --> ++<!-- $Id: tables.xsl 2755 2008-03-07 20:35:56Z hauma $ ++ This file is part of the XSLT MathML Library distribution. ++ See ./README or http://xsltml.sf.net for ++ copyright and other information --> ++<!-- ====================================================================== --> ++ ++<xsl:template match="m:mtd[@columnspan]"> ++ <xsl:text>\multicolumn{</xsl:text> ++ <xsl:value-of select="@columnspan"/> ++ <xsl:text>}{c}{</xsl:text> ++ <xsl:apply-templates/> ++ <xsl:text>}</xsl:text> ++ <xsl:if test="count(following-sibling::*)>0"> ++ <xsl:text>& </xsl:text> ++ </xsl:if> ++</xsl:template> ++ ++ ++<xsl:template match="m:mtd"> ++ <xsl:if test="@columnalign='right' or @columnalign='center'"> ++ <xsl:text>\hfill </xsl:text> ++ </xsl:if> ++ <xsl:apply-templates/> ++ <xsl:if test="@columnalign='left' or @columnalign='center'"> ++ <xsl:text>\hfill </xsl:text> ++ </xsl:if> ++</xsl:template> ++ ++<xsl:template match="m:mtr"> ++ <xsl:for-each select="*"> ++ <xsl:apply-templates select="current()"/> ++ <xsl:if test="not(position()=last())"> ++ <xsl:text>& </xsl:text> ++ </xsl:if> ++ </xsl:for-each> ++ <xsl:if test="not(position()=last())"> ++ <xsl:text>\\ </xsl:text> ++ <xsl:if test="../@rowlines"> ++ <xsl:variable name="line"> ++ <xsl:call-template name="getToken"> ++ <xsl:with-param name="text" select="../@rowlines"/> ++ <xsl:with-param name="position" select="position()"/> ++ </xsl:call-template> ++ </xsl:variable> ++ <xsl:if test="$line='solid'"> ++ <xsl:text>\hline </xsl:text> ++ </xsl:if> ++ </xsl:if> ++ </xsl:if> ++</xsl:template> ++ ++<xsl:template match="m:mtable"> ++ <xsl:text>\begin{array}{</xsl:text> ++ <xsl:if test="@frame='solid'"> ++ <xsl:text>|</xsl:text> ++ </xsl:if> ++ <xsl:variable name="numbercols" select="count(./m:mtr[1]/*[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/> ++ <xsl:choose> ++ <xsl:when test="@columnalign and @columnlines"> ++ <xsl:call-template name="generateAlignString"> ++ <xsl:with-param name="columnalignstring" select="@columnalign"/> ++ <xsl:with-param name="columnlinestring" select="@columnlines"/> ++ <xsl:with-param name="count" select="$numbercols"/> ++ </xsl:call-template> ++ </xsl:when> ++ <xsl:when test="@columnlines"> ++ <xsl:call-template name="generateAlignString"> ++ <xsl:with-param name="columnlinestring" select="@columnlines"/> ++ <xsl:with-param name="count" select="$numbercols"/> ++ </xsl:call-template> ++ </xsl:when> ++ <xsl:when test="@columnalign"> ++ <xsl:call-template name="generateAlignString"> ++ <xsl:with-param name="columnalignstring" select="@columnalign"/> ++ <xsl:with-param name="count" select="$numbercols"/> ++ </xsl:call-template> ++ </xsl:when> ++ <xsl:otherwise> ++ <xsl:call-template name="generateAlignString"> ++ <xsl:with-param name="count" select="$numbercols"/> ++ </xsl:call-template> ++ </xsl:otherwise> ++ </xsl:choose> ++ <xsl:if test="@frame='solid'"> ++ <xsl:text>|</xsl:text> ++ </xsl:if> ++ <xsl:text>}</xsl:text> ++ <xsl:if test="@frame='solid'"> ++ <xsl:text>\hline </xsl:text> ++ </xsl:if> ++ <xsl:apply-templates/> ++ <xsl:if test="@frame='solid'"> ++ <xsl:text>\\ \hline </xsl:text> ++ </xsl:if> ++ <xsl:text>\end{array}</xsl:text> ++</xsl:template> ++ ++<xsl:template name="colalign"> ++ <xsl:param name="colalign"/> ++ <xsl:choose> ++ <xsl:when test="contains($colalign,' ')"> ++ <xsl:value-of select="substring($colalign,1,1)"/> ++ <xsl:call-template name="colalign"> ++ <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/> ++ </xsl:call-template> ++ </xsl:when> ++ <xsl:otherwise> ++ <xsl:value-of select="substring($colalign,1,1)"/> ++ </xsl:otherwise> ++ </xsl:choose> ++</xsl:template> ++ ++<xsl:template name="generate-string"> ++<!-- template from XSLT Standard Library v1.1 --> ++ <xsl:param name="text"/> ++ <xsl:param name="count"/> ++ ++ <xsl:choose> ++ <xsl:when test="string-length($text) = 0 or $count <= 0"/> ++ ++ <xsl:otherwise> ++ <xsl:value-of select="$text"/> ++ <xsl:call-template name="generate-string"> ++ <xsl:with-param name="text" select="$text"/> ++ <xsl:with-param name="count" select="$count - 1"/> ++ </xsl:call-template> ++ </xsl:otherwise> ++ </xsl:choose> ++</xsl:template> ++ ++<xsl:template name="generateAlignString"> ++ <xsl:param name="columnalignstring">center</xsl:param> ++ <xsl:param name="columnlinestring"/> ++ <xsl:param name="count"/> ++ <xsl:choose> ++ <xsl:when test="$count <= 0"/> ++ <xsl:otherwise> ++ <xsl:variable name="columnalign"> ++ <xsl:call-template name="getToken"> ++ <xsl:with-param name="text" select="$columnalignstring"/> ++ <xsl:with-param name="position" select="1"/> ++ </xsl:call-template> ++ </xsl:variable> ++ <xsl:variable name="columnline"> ++ <xsl:call-template name="getToken"> ++ <xsl:with-param name="text" select="$columnlinestring"/> ++ <xsl:with-param name="position" select="1"/> ++ </xsl:call-template> ++ </xsl:variable> ++ <xsl:value-of select="substring($columnalign,1,1)"/> ++ <xsl:if test="$columnline='solid' and $count>1"><xsl:text>|</xsl:text></xsl:if> ++ <xsl:variable name="leftPartOrLastTokenA"> ++ <xsl:choose> ++ <xsl:when test="substring-after($columnalignstring,' ')"> ++ <xsl:value-of select="substring-after($columnalignstring,' ')"/> ++ </xsl:when> ++ <xsl:otherwise> ++ <xsl:value-of select="$columnalignstring"/> ++ </xsl:otherwise> ++ </xsl:choose> ++ </xsl:variable> ++ <xsl:variable name="leftPartOrLastTokenB"> ++ <xsl:choose> ++ <xsl:when test="substring-after($columnlinestring,' ')"> ++ <xsl:value-of select="substring-after($columnlinestring,' ')"/> ++ </xsl:when> ++ <xsl:otherwise> ++ <xsl:value-of select="$columnlinestring"/> ++ </xsl:otherwise> ++ </xsl:choose> ++ </xsl:variable> ++ <xsl:call-template name="generateAlignString"> ++ <xsl:with-param name="columnalignstring" select="$leftPartOrLastTokenA"/> ++ <xsl:with-param name="columnlinestring" select="$leftPartOrLastTokenB"/> ++ <xsl:with-param name="count" select="$count - 1"/> ++ </xsl:call-template> ++ </xsl:otherwise> ++ </xsl:choose> ++</xsl:template> ++ ++ ++<xsl:template name="getToken"> ++ <xsl:param name="text"/> ++ <xsl:param name="char" select="string(' ')"/> ++ <xsl:param name="position"/> ++ <xsl:choose> ++ <xsl:when test="$position = 1 or not(contains($text ,$char))"> ++ <xsl:choose> ++ <xsl:when test="contains($text ,$char)"> ++ <xsl:value-of select="substring-before($text,$char)"/> ++ </xsl:when> ++ <xsl:otherwise> ++ <xsl:value-of select="$text"/> ++ </xsl:otherwise> ++ </xsl:choose> ++ </xsl:when> ++ <xsl:when test="contains($text ,$char) and $position > 1"> ++ <xsl:variable name="last" select="substring-after($text,$char)"/> ++ <xsl:choose> ++ <xsl:when test="$position > 1"> ++ <xsl:call-template name="getToken"> ++ <xsl:with-param name="text" select="$last"/> ++ <xsl:with-param name="char" select="$char"/> ++ <xsl:with-param name="position" select="$position - 1"/> ++ </xsl:call-template> ++ </xsl:when> ++ </xsl:choose> ++ </xsl:when> ++ </xsl:choose> ++ </xsl:template> ++ ++</xsl:stylesheet> +\ No newline at end of file +--- misc/xsltml_2.1.2/tokens.xsl 2009-03-27 08:11:02.000000000 +0100 ++++ misc/build/xsltml_2.1.2/tokens.xsl 2008-03-07 21:36:34.000000000 +0100 +@@ -1,12 +1,13 @@ + <?xml version='1.0' encoding="UTF-8"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +- xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:m="http://www.w3.org/1998/Math/MathML" ++ xmlns:oomath="http://www.w3.org/1998/Math/MathML" + version='1.0'> + + <!-- ====================================================================== --> +-<!-- $Id: tokens.xsl,v 1.7 2003/06/10 12:24:05 shade33 Exp $ ++<!-- $Id: tokens.xsl 2755 2008-03-07 20:35:56Z hauma $ + This file is part of the XSLT MathML Library distribution. +- See ./README or http://www.raleigh.ru/MathML/mmltex for ++ See ./README or http://xsltml.sf.net for + copyright and other information --> + <!-- ====================================================================== --> + +@@ -22,7 +23,15 @@ + </xsl:template> + + <xsl:template name="mi"> ++ <xsl:variable name="op"> ++ <xsl:value-of select="concat(' ',normalize-space(.),' ')"/> ++ </xsl:variable> + <xsl:choose> ++ <xsl:when test="contains(' arccos cos csc exp ker limsup min sinh arcsin cosh deg gcd lg ln Pr sup arctan cot det hom lim log sec tan arg coth dim inf liminf max sin tanh ',$op)"> ++ <xsl:text>\</xsl:text> ++ <xsl:value-of select="normalize-space(.)"/> ++ <xsl:text> </xsl:text> ++ </xsl:when> + <xsl:when test="string-length(normalize-space(.))>1 and not(@mathvariant)"> + <xsl:text>\mathrm{</xsl:text> + <xsl:apply-templates/> +@@ -51,10 +60,10 @@ + <xsl:template name="mo"> + <xsl:if test="translate(normalize-space(.),'()[]}|','{{{{{{')='{'"> + <xsl:choose> +- <xsl:when test="not(@stretchy='false') and count(preceding-sibling::m:mo[translate(normalize-space(.),'()[]}|','{{{{{{')='{'])mod 2=0 and following-sibling::m:mo[1][not(@stretchy='false')][translate(normalize-space(.),'()[]}|','{{{{{{')='{']"> ++ <xsl:when test="not(@oomath:stretchy='false') and count(preceding-sibling::m:mo[translate(normalize-space(.),'()[]}|','{{{{{{')='{'])mod 2=0 and following-sibling::m:mo[1][not(@oomath:stretchy='false')][translate(normalize-space(.),'()[]}|','{{{{{{')='{']"> + <xsl:text>\left</xsl:text> + </xsl:when> +- <xsl:when test="not(@stretchy='false') and count(preceding-sibling::m:mo[translate(normalize-space(.),'()[]}|','{{{{{{')='{'])mod 2=1 and preceding-sibling::m:mo[1][not(@stretchy='false')][translate(normalize-space(.),'()[]}|','{{{{{{')='{']"> ++ <xsl:when test="not(@oomath:stretchy='false') and count(preceding-sibling::m:mo[translate(normalize-space(.),'()[]}|','{{{{{{')='{'])mod 2=1 and preceding-sibling::m:mo[1][not(@oomath:stretchy='false')][translate(normalize-space(.),'()[]}|','{{{{{{')='{']"> + <xsl:text>\right</xsl:text> + </xsl:when> + </xsl:choose> +@@ -67,10 +76,13 @@ + <xsl:call-template name="replaceMtextEntities"> + <xsl:with-param name="content" select="normalize-space(.)"/> + </xsl:call-template> +- </xsl:variable> +- <xsl:text>\text{</xsl:text> +- <xsl:value-of select="$content"/> +- <xsl:text>}</xsl:text> ++ </xsl:variable> ++ <!-- Empty text content breaks the MediaWiki parser. --> ++ <xsl:if test="string-length($content) > 0"> ++ <xsl:text>\text{</xsl:text> ++ <xsl:value-of select="$content"/> ++ <xsl:text>}</xsl:text> ++ </xsl:if> + </xsl:template> + + <xsl:template match="m:mspace"> +@@ -111,10 +123,16 @@ + </xsl:call-template> + <xsl:text>}{$</xsl:text> + </xsl:if> +- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 --> ++ <xsl:if test="@color or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 --> ++ <xsl:variable name="color"> ++ <xsl:choose> ++ <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when> ++ <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when> ++ </xsl:choose> ++ </xsl:variable> + <xsl:text>\textcolor[rgb]{</xsl:text> + <xsl:call-template name="color"> +- <xsl:with-param name="color" select="@color|@mathcolor"/> ++ <xsl:with-param name="color" select="$color"/> + </xsl:call-template> + <xsl:text>}{</xsl:text> + </xsl:if> |