1--- misc/xsltml_2.1.2/cmarkup.xsl 2009-03-27 08:11:02.000000000 +0100 2+++ misc/build/xsltml_2.1.2/cmarkup.xsl 2008-03-07 21:36:34.000000000 +0100 3@@ -5,9 +5,9 @@ 4 version='1.0'> 5 6 <!-- ====================================================================== --> 7-<!-- $Id: cmarkup.xsl,v 1.8 2003/06/10 12:24:04 shade33 Exp $ 8+<!-- $Id: cmarkup.xsl 2755 2008-03-07 20:35:56Z hauma $ 9 This file is part of the XSLT MathML Library distribution. 10- See ./README or http://www.raleigh.ru/MathML/mmltex for 11+ See ./README or http://xsltml.sf.net for 12 copyright and other information --> 13 <!-- ====================================================================== --> 14 15@@ -156,7 +156,7 @@ 16 <xsl:text> & \text{if $</xsl:text> 17 <xsl:apply-templates select="*[2]"/> 18 <xsl:text>$}</xsl:text> 19- <xsl:if test="not(position()=last()) or ../m:otherwise"><xsl:text>\\ </xsl:text></xsl:if> 20+ <xsl:if test="not(position()=last()) or ../m:otherwise"><xsl:text>\\ </xsl:text></xsl:if> 21 </xsl:template> 22 23 <xsl:template match="m:otherwise"> 24@@ -223,7 +223,7 @@ 25 <xsl:template match="m:apply[*[1][self::m:minus] and count(*)=2]"> 26 <xsl:text>-</xsl:text> 27 <xsl:apply-templates select="*[2]"> 28- <xsl:with-param name="p" select="5"/> 29+ <xsl:with-param name="p" select="2"/> 30 </xsl:apply-templates> 31 </xsl:template> 32 33@@ -234,7 +234,8 @@ 34 <xsl:with-param name="p" select="$p"/> 35 <xsl:with-param name="this-p" select="2"/> 36 </xsl:call-template> 37-</xsl:template> 38+</xsl:template> 39+ 40 41 <!-- 4.4.3.6 plus--> 42 <xsl:template match="m:apply[*[1][self::m:plus]]"> 43@@ -585,12 +586,15 @@ 44 </xsl:template> 45 46 <xsl:template match="m:apply[*[1][self::m:partialdiff]]" priority="1"> 47- <xsl:text>\frac{\partial^{</xsl:text> 48+ <xsl:text>\frac{\partial</xsl:text> 49 <xsl:choose> 50 <xsl:when test="m:degree"> 51+ <xsl:text>^{</xsl:text> 52 <xsl:apply-templates select="m:degree/node()"/> 53+ <xsl:text>}</xsl:text> 54 </xsl:when> 55 <xsl:when test="m:bvar/m:degree[string(number(.))='NaN']"> 56+ <xsl:text>^{</xsl:text> 57 <xsl:for-each select="m:bvar/m:degree"> 58 <xsl:apply-templates select="node()"/> 59 <xsl:if test="position()<last()"><xsl:text>+</xsl:text></xsl:if> 60@@ -599,12 +603,15 @@ 61 <xsl:text>+</xsl:text> 62 <xsl:value-of select="count(m:bvar[not(m:degree)])"/> 63 </xsl:if> 64+ <xsl:text>}</xsl:text> 65+ </xsl:when> 66+ <xsl:when test="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)]) > 1"> 67+ <xsl:text>^{</xsl:text> 68+ <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> 69+ <xsl:text>}</xsl:text> 70 </xsl:when> 71- <xsl:otherwise> 72- <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> 73- </xsl:otherwise> 74 </xsl:choose> 75- <xsl:text>}</xsl:text> 76+ <xsl:text> </xsl:text> 77 <xsl:apply-templates select="*[last()]"/> 78 <xsl:text>}{</xsl:text> 79 <xsl:for-each select="m:bvar"> 80@@ -943,7 +950,7 @@ 81 <xsl:text>\left(\begin{array}{c}</xsl:text> 82 <xsl:for-each select="*"> 83 <xsl:apply-templates select="."/> 84- <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> 85+ <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> 86 </xsl:for-each> 87 <xsl:text>\end{array}\right)</xsl:text> 88 </xsl:template> 89@@ -961,7 +968,7 @@ 90 <xsl:apply-templates select="."/> 91 <xsl:if test="position()!=last()"><xsl:text> & </xsl:text></xsl:if> 92 </xsl:for-each> 93- <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> 94+ <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if> 95 </xsl:template> 96 97 <!-- 4.4.10.4 determinant --> 98@@ -1103,4 +1110,4 @@ 99 <xsl:if test="$this-p < $p"><xsl:text>)</xsl:text></xsl:if> 100 </xsl:template> 101 102-</xsl:stylesheet> 103+</xsl:stylesheet> 104\ No newline at end of file 105--- misc/xsltml_2.1.2/entities.xsl 2009-03-27 08:11:02.000000000 +0100 106+++ misc/build/xsltml_2.1.2/entities.xsl 2008-03-07 21:36:34.000000000 +0100 107@@ -4,17 +4,56 @@ 108 version='1.0'> 109 110 <!-- ====================================================================== --> 111-<!-- $Id: entities.xsl,v 1.13 2003/06/10 12:28:03 shade33 Exp $ 112+<!-- $Id: entities.xsl 2755 2008-03-07 20:35:56Z hauma $ 113 This file is part of the XSLT MathML Library distribution. 114- See ./README or http://www.raleigh.ru/MathML/mmltex for 115+ See ./README or http://xsltml.sf.net for 116 copyright and other information --> 117 <!-- ====================================================================== --> 118+<xsl:variable name="apos">'</xsl:variable> 119+ 120+<!-- 121+ Missing MathML equivalents for: 122+ 123+ a \leslant b 124+ a \geslant b 125+ 126+ Unsupported in WikiMedia: 127+ 128+ \oiint x 129+ \oiiint x 130+ ƛ 131+ \adots 132+ 133+ --> 134 135 <xsl:template name="replaceEntities"> 136 <xsl:param name="content"/> 137 <xsl:if test="string-length($content)>0"> 138 <xsl:choose> 139 <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> 140+ <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> 141+ <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> 142+ <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> 143+ <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> 144+ <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> 145+ <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> 146+ <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> 147+ <!-- Note: \less is not supported by WikiMedia. --> 148+ <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> 149+ <!-- Note: \greater is not supported by WikiMedia. --> 150+ <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> 151+ <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> 152+ <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> 153+ <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> 154+ <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> 155+ <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> 156+ <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> 157+ <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> 158+ <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> 159+ <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> 160+ <!-- Note: \textasciitilde is not supported by WikiMedia. --> 161+ <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> 162+ 163 <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 --> 164 <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 --> 165 <!-- ====================================================================== --> 166@@ -22,51 +61,324 @@ 167 C1 Controls and Latin-1 Supplement 168 Range: 0080-00FF 169 http://www.unicode.org/charts/PDF/U0080.pdf --> 170-<!-- ====================================================================== --> 171+<!-- ====================================================================== --> 172+ <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> 173+ <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> 174 <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 --> 175+ <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> 176 <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 --> 177 <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 --> 178+ <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> 179 <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 --> 180+ <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> 181+ <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> 182 <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 --> 183+ <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> 184 <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 --> 185+ <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> 186+ <!-- 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?). --> 187+ <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> 188 <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 --> 189- <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 --> 190+ <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> 191+ <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> 192+ <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> 193+ <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 --> 194 <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) --> 195+ <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> 196+ <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> 197+ <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> 198+ <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> 199+ <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> 200+ <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> 201+ <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> 202+ <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> 203+ <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> 204+ <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> 205 <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 --> 206 <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 --> 207+ <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> 208+ <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> 209+ <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> 210+ <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> 211+ <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> 212+ <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> 213+ <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> 214+ <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> 215+ <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> 216+ <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> 217+ <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> 218+ <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> 219+ <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> 220+ <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> 221+ <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> 222+ <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> 223 <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 --> 224+ <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> 225+ <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> 226+ <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> 227+ <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> 228+ <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> 229+ <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> 230+ <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> 231+ <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> 232+ <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> 233+ <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> 234+ <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> 235+ <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> 236+ <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> 237+ <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> 238 <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 --> 239- 240+ <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> 241+ <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> 242+ <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> 243+ <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> 244+ <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> 245+ <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> 246+ <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> 247+ <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> 248+ <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> 249+ <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> 250+ <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> 251+ <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> 252+ <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> 253+ <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> 254+ <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> 255+ <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> 256+ <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> 257+ <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> 258+ <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> 259+ <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> 260+ <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> 261+ <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> 262+ <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> 263+ <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> 264+ <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> 265+<!-- ====================================================================== --> 266+<!-- Unicode 3.2 267+ --> 268+<!-- ====================================================================== --> 269+<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> 270+<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> 271+<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> 272+<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> 273+<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> 274+<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> 275+<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> 276+<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> 277+<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> 278+<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> 279+<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> 280+<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> 281+<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> 282+<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> 283+<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> 284+<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> 285+<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> 286+<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> 287+<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> 288+<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> 289+<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> 290+<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> 291+<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> 292+<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> 293+<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> 294+<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> 295+<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> 296+<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> 297+<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> 298+<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> 299+<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> 300+<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> 301+<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> 302+<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> 303+<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> 304+<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> 305+<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> 306+<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> 307+<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> 308+<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> 309+<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> 310+<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> 311+<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> 312+<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> 313+<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> 314+<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> 315+<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> 316+<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> 317+<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> 318+<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> 319+<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> 320+<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> 321+ <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> 322+ <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> 323+<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> 324+<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> 325+<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> 326+<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> 327+<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> 328+<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> 329+<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> 330+<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> 331+<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> 332+<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> 333+<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> 334+<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> 335+ <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> 336+ <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> 337+<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> 338+<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> 339+<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> 340+<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> 341+<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> 342+<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> 343+<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> 344+<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> 345+<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> 346+<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> 347+<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> 348+<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> 349+<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> 350+<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> 351+<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> 352+<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> 353+<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> 354+<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> 355+<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> 356+<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> 357+<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> 358+<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> 359+<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> 360+<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> 361+<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> 362+<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> 363+<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> 364+<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> 365+<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> 366+<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> 367+<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> 368+<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> 369+<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> 370+<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> 371+<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> 372+<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> 373+<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> 374+<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> 375+<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> 376+<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> 377+<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> 378+<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> 379+<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> 380+<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> 381+<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> 382+<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> 383+<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> 384+<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> 385+<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> 386+<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> 387+<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> 388+<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> 389+<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> 390+<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> 391+<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> 392+<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> 393+<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> 394+<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> 395+<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> 396+<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> 397+<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> 398+<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> 399+<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> 400+<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> 401+<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> 402+<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> 403+<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> 404+<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> 405+<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> 406+<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> 407+<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> 408+<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> 409+<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> 410+<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> 411+<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> 412+<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> 413+<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> 414+<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> 415+<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> 416+<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> 417+<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> 418+ <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> 419+<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> 420+<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> 421+<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> 422+<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> 423+<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> 424+<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> 425+<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> 426+<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> 427+<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> 428+<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> 429+<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> 430+<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> 431+<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> 432+<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> 433+<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> 434+<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> 435+<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> 436+<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> 437+<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> 438+<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> 439+<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> 440+ <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> 441+ <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> 442+<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> 443+<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> 444+<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> 445 <!-- ====================================================================== --> 446 <!-- Unicode 3.2 447 Greek 448 Range: 0370-03FF 449 http://www.unicode.org/charts/PDF/U0370.pdf --> 450-<!-- ====================================================================== --> 451- <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 --> 452- <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 --> 453- <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 --> 454- <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 --> 455- <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 --> 456- <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 --> 457- <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 --> 458- <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 --> 459- <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 --> 460- <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 --> 461- <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 --> 462- <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 --> 463- <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 --> 464- <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 --> 465- <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 --> 466- <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 --> 467- <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 --> 468- <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 --> 469- <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 --> 470- <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 --> 471- <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 --> 472- <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 --> 473- <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 --> 474- <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 --> 475+<!-- ====================================================================== --> 476+<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> 477+<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> 478+<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> 479+<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> 480+<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> 481+<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> 482+<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> 483+<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> 484+ 485+<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> 486+<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> 487+<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> 488+<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> 489+<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> 490+<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> 491+<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> 492+<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> 493+<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> 494+<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> 495+<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> 496+<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> 497+<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> 498+<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> 499+<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> 500+<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> 501+<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> 502+<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> 503+<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> 504+<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> 505+<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> 506+<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> 507+<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> 508+<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> 509+ <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> 510+<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> 511+<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> 512+<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> 513+<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> 514+<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> 515+<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> 516 <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 --> 517 <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 --> 518 <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 --> 519@@ -92,60 +404,143 @@ 520 <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 --> 521 <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 --> 522 <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 --> 523+ <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> 524+<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> 525+<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> 526+<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> 527+<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> 528 <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 --> 529 <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 --> 530- <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 --> 531+ <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 --> 532 <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 --> 533+<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> 534+<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> 535+<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> 536+<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> 537+<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> 538 <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 --> 539 <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 --> 540- 541+<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> 542+<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> 543 <!-- ====================================================================== --> 544 <!-- Unicode 3.2 545 General Punctuation 546 Range: 2000-206F 547 http://www.unicode.org/charts/PDF/U2000.pdf --> 548 <!-- ====================================================================== --> 549- <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) --> 550- <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 --> 551+ <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) --> 552+ <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 --> 553 <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 --> 554- <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 --> 555- <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 --> 556+ <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 --> 557+ <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> 558+ <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> 559+ <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> 560+ <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 --> 561+ <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> 562 <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 --> 563+ <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> 564+ <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> 565+ <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> 566 <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 --> 567+ <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> 568+ <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> 569+<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> 570+ <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> 571+ <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> 572+<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> 573+<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> 574+<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> 575 <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 --> 576 <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 --> 577+<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> 578+<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> 579+<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> 580+<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> 581+<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> 582+<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> 583+<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> 584+ <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> 585 <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 --> 586 <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 --> 587 <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 --> 588 <!-- ====================================================================== --> 589 <!-- Unicode 3.2 590+ --> 591+<!-- ====================================================================== --> 592+<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> 593+<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> 594+<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> 595+<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> 596+<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> 597+<!-- ====================================================================== --> 598+<!-- Unicode 3.2 599 Letterlike Symbols 600 Range: 2100-214F 601 http://www.unicode.org/charts/PDF/U2100.pdf --> 602 <!-- ====================================================================== --> 603+<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> 604+<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> 605 <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 --> 606+ <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> 607+<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> 608+<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> 609 <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 --> 610 <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 --> 611+<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> 612 <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 --> 613+<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> 614 <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 --> 615 <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 --> 616+ <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> 617 <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 --> 618 <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 --> 619 <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 --> 620+<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> 621 <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 --> 622+ <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> 623+ <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> 624 <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 --> 625 <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 --> 626 <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 --> 627+<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> 628+<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> 629+<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> 630+<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> 631+<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> 632+<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> 633+<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> 634+<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> 635+<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> 636+<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> 637 <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 --> 638 <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 --> 639 <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 --> 640 <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 --> 641+<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> 642+<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> 643+<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> 644+ 645 <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 --> 646 <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 --> 647 <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 --> 648 <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 --> 649 <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> 650- 651+<!-- ====================================================================== --> 652+<!-- Unicode 3.2 653+ --> 654+<!-- ====================================================================== --> 655+<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> 656+<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> 657+<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> 658+<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> 659+<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> 660+<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> 661+<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> 662+<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> 663+<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> 664+<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> 665+<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> 666+<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> 667 <!-- ====================================================================== --> 668 <!-- Unicode 3.2 669 Arrows 670@@ -154,7 +549,7 @@ 671 <!-- ====================================================================== --> 672 <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 --> 673 <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 --> 674- <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 --> 675+ <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 --> 676 <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 --> 677 <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 --> 678 <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 --> 679@@ -164,6 +559,7 @@ 680 <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 --> 681 <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 --> 682 <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 --> 683+ <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> 684 <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 --> 685 <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 --> 686 <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 --> 687@@ -178,6 +574,7 @@ 688 <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 --> 689 <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 --> 690 <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 --> 691+<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> 692 <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 --> 693 <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 --> 694 <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 --> 695@@ -191,6 +588,7 @@ 696 <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 --> 697 <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 --> 698 <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 --> 699+<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> 700 <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 --> 701 <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 --> 702 <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 --> 703@@ -205,12 +603,16 @@ 704 <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 --> 705 <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 --> 706 <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 --> 707-<!-- <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 --> 708- <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 --> 709+ <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 --> 710+<!-- <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 --> 711 <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 --> 712 <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 --> 713 <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 --> 714- 715+<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> 716+<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> 717+<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> 718+<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> 719+<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> 720 <!-- ====================================================================== --> 721 <!-- Unicode 3.2 722 Mathematical Operators 723@@ -224,7 +626,6 @@ 724 <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 --> 725 <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 --> 726 <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 --> 727-<!-- <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>--> 728 <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 --> 729 <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 --> 730 <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 --> 731@@ -236,7 +637,6 @@ 732 <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 --> 733 <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 --> 734 <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 --> 735-<!-- <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>--> 736 <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 --> 737 <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 --> 738 <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) --> 739@@ -244,11 +644,11 @@ 740 <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 --> 741 <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 --> 742 <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 --> 743-<!-- <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 --> 744+ <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 --> 745 <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 --> 746 <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 --> 747 <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 --> 748- <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: --> 749+ <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: --> 750 <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 --> 751 <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 --> 752 <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 --> 753@@ -262,95 +662,104 @@ 754 <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 --> 755 <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 --> 756 <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 --> 757-<!-- <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>--> 758-<!-- <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>--> 759-<!-- <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>--> 760-<!-- <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>--> 761-<!-- <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>--> 762+ <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 --> 763+ <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 --> 764+ <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> 765+ <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> 766+ <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> 767 <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 --> 768 <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 --> 769 <!-- ? --> <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 --> 770-<!-- ? --> <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 --> 771-<!-- ? --> <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 --> 772+ <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 --> 773+ <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 --> 774 <!-- <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> --> 775-<!-- <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 --> 776-<!-- <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 --> 777+ <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 --> 778+ <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 --> 779 <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 --> 780 <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 --> 781-<!-- <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 --> 782+ <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 --> 783 <!-- <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 --> 784 <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 --> 785 <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 --> 786+ <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> 787 <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 --> 788 <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 --> 789- <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 --> 790+ <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 --> 791 <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 --> 792-<!-- <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 --> 793+ <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 --> 794 <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 --> 795- <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 --> 796+ <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 --> 797 <!-- <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 --> 798- <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 --> 799+ <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 --> 800 <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 --> 801-<!-- <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 --> 802-<!-- <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 --> 803+ <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> 804+ <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 --> 805+ <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 --> 806 <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 --> 807- <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 --> 808- <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 --> 809+ <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> 810+ <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 --> 811+ <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> 812+ <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 --> 813+ <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> 814 <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 --> 815- <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 --> 816- <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 --> 817+ <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 --> 818+ <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 --> 819 <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 --> 820-<!-- <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 --> 821-<!-- <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 --> 822- <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 --> 823- <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 --> 824+ <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 --> 825+ <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 --> 826+ <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 --> 827+ <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 --> 828 <!-- ? --> <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> 829-<!-- ? --> <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) --> 830-<!-- ? --> <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 --> 831-<!-- ? --> <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 --> 832+ <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) --> 833+ <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 --> 834+ <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 --> 835 <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 --> 836 <!-- ? --> <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> 837 <!-- ? --> <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> 838-<!-- ? --> <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 --> 839+ <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 --> 840 <!-- <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 --> 841 <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 --> 842 <!-- <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 --> 843 <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 --> 844- <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 --> 845+ <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 --> 846 <!-- <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> --> 847 <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 --> 848 <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 --> 849 <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 --> 850 <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 --> 851+ <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> 852 <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 --> 853+ <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> 854 <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 --> 855 <!-- <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 --> 856-<!-- <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 --> 857+ <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 --> 858 <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 --> 859 <!-- <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 --> 860-<!-- <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 --> 861+ <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 --> 862 <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 --> 863 <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 --> 864- <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> 865+ <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> 866 <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 --> 867 <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 --> 868- <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 --> 869- <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 --> 870- <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 --> 871- <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 --> 872+<!-- <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 --> 873+ <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 --> 874+<!-- <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 --> 875+ <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 --> 876 <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 --> 877 <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 --> 878- <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 --> 879- <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 --> 880+ <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 --> 881+ <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 --> 882 <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 --> 883 <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 --> 884- <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 --> 885- <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 --> 886+ <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 --> 887+ <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 --> 888 <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 --> 889 <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 --> 890 <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 --> 891 <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 --> 892+ <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> 893 <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 --> 894+ <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> 895 <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 --> 896 <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 --> 897 <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 --> 898@@ -360,21 +769,59 @@ 899 <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 --> 900 <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 --> 901 <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 --> 902+ <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> 903+ <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> 904+ <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> 905+ <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> 906+ <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> 907+ <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> 908+ <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> 909 <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 --> 910+ <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> 911+ <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> 912+ <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> 913+ <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> 914+ <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> 915+ <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> 916 <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 --> 917- <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 --> 918+ <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 --> 919 <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 --> 920 <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 --> 921 <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 --> 922 <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 --> 923-<!-- ? --> <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 --> 924+ <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 --> 925+ <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> 926+ <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> 927+ <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> 928+ <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> 929 <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 --> 930+ <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> 931+ <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> 932+ <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> 933+ <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> 934 <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 --> 935 <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 --> 936- <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 --> 937- <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 --> 938- <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: --> 939+<!-- <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 --> 940+ <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 --> 941+ <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: --> 942+ <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> 943 <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 --> 944+ <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> 945+ <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> 946+ <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> 947+ <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> 948+ <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> 949+ <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> 950+ <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> 951+ <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> 952+ <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> 953+ <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> 954+ <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> 955+ <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> 956+ <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> 957+ <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> 958+ <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> 959+ <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> 960 <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 --> 961 <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 --> 962 <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 --> 963@@ -384,11 +831,41 @@ 964 <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 --> 965 <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 --> 966 <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: --> 967+ <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> 968+ <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> 969+ <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> 970+ <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> 971 <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 --> 972- <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 --> 973-<!-- <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 --> 974- <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 --> 975- 976+ <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> 977+ <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> 978+ <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> 979+ <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> 980+ <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> 981+ <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> 982+ <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> 983+ <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> 984+ <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> 985+ <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> 986+ <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> 987+ <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> 988+ <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> 989+ <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> 990+ <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> 991+ <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> 992+ <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> 993+ <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> 994+ <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> 995+ <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> 996+ <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> 997+ <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> 998+ <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> 999+ <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> 1000+ <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> 1001+ <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> 1002+ <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> 1003+ <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 --> 1004+ <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 --> 1005+ <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 --> 1006 <!-- ====================================================================== --> 1007 <!-- Unicode 3.2 1008 Miscellaneous Technical 1009@@ -404,20 +881,22 @@ 1010 <!-- ====================================================================== --> 1011 <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 --> 1012 <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 --> 1013+ 1014+ <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> 1015+ 1016+<!-- Double brackets (only supported as workaround in MediaWiki). --> 1017+ <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> 1018+ <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> 1019+ 1020+<!-- Entities undefined in Unicode, but used by OOo for parenteses. --> 1021+ <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> 1022+ <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> 1023 1024 <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 --> 1025 1026 <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> 1027 <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> 1028- 1029-<!--- special characters --> 1030- <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> 1031- <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> 1032- <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> 1033- <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> 1034- <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> 1035- <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> 1036- 1037+ 1038 <xsl:otherwise> 1039 <xsl:value-of select="substring($content,1,1)"/> 1040 <xsl:call-template name="replaceEntities"> 1041@@ -445,7 +924,12 @@ 1042 <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> 1043 <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> 1044 <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> 1045- <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> 1046+ <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> 1047+ 1048+ <!-- Ignore "lower than" and "greater than" symbols, which break the MediaWiki parser in text mode. --> 1049+ <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> 1050+ <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> 1051+ 1052 <xsl:otherwise> 1053 <xsl:value-of select="substring($content,1,1)"/> 1054 <xsl:call-template name="replaceMtextEntities"> 1055--- misc/xsltml_2.1.2/glayout.xsl 2009-03-27 08:11:02.000000000 +0100 1056+++ misc/build/xsltml_2.1.2/glayout.xsl 2008-03-07 21:36:34.000000000 +0100 1057@@ -1,12 +1,13 @@ 1058 <?xml version='1.0' encoding="UTF-8"?> 1059 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 1060- xmlns:m="http://www.w3.org/1998/Math/MathML" 1061+ xmlns:m="http://www.w3.org/1998/Math/MathML" 1062+ xmlns:oomath="http://www.w3.org/1998/Math/MathML" 1063 version='1.0'> 1064 1065 <!-- ====================================================================== --> 1066-<!-- $Id: glayout.xsl,v 1.5 2003/06/10 12:24:04 shade33 Exp $ 1067+<!-- $Id: glayout.xsl 2755 2008-03-07 20:35:56Z hauma $ 1068 This file is part of the XSLT MathML Library distribution. 1069- See ./README or http://www.raleigh.ru/MathML/mmltex for 1070+ See ./README or http://xsltml.sf.net for 1071 copyright and other information --> 1072 <!-- ====================================================================== --> 1073 1074@@ -92,17 +93,16 @@ 1075 1076 <xsl:template match="m:mfenced"> 1077 <xsl:choose> 1078- <xsl:when test="@open"> 1079- <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')='{'"> 1080+ <xsl:when test="@oomath:open"> 1081+ <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{'"> 1082 <xsl:text>\left</xsl:text> 1083 </xsl:if> 1084- <xsl:if test="@open='{' or @open='}'"> 1085- <xsl:text>\</xsl:text> 1086- </xsl:if> 1087- <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')!='{' and (translate(@close,'{}[]()|','{{{{{{{')='{' or not(@close))"> 1088+ <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:close))"> 1089 <xsl:text>\left.</xsl:text> 1090- </xsl:if> 1091- <xsl:value-of select="@open"/> 1092+ </xsl:if> 1093+ <xsl:call-template name="replaceEntities"> 1094+ <xsl:with-param name="content" select="@oomath:open"/> 1095+ </xsl:call-template> 1096 </xsl:when> 1097 <xsl:otherwise><xsl:text>\left(</xsl:text></xsl:otherwise> 1098 </xsl:choose> 1099@@ -128,26 +128,30 @@ 1100 </xsl:if> 1101 </xsl:for-each> 1102 <xsl:choose> 1103- <xsl:when test="@close"> 1104- <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')='{'"> 1105+ <xsl:when test="@oomath:close"> 1106+ <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{'"> 1107 <xsl:text>\right</xsl:text> 1108 </xsl:if> 1109- <xsl:if test="@close='{' or @close='}'"> 1110- <xsl:text>\</xsl:text> 1111- </xsl:if> 1112- <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')!='{' and (translate(@open,'{}[]()|','{{{{{{{')='{' or not(@open))"> 1113+ <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:open))"> 1114 <xsl:text>\right.</xsl:text> 1115 </xsl:if> 1116- <xsl:value-of select="@close"/> 1117+ <xsl:call-template name="replaceEntities"> 1118+ <xsl:with-param name="content" select="@oomath:close"/> 1119+ </xsl:call-template> 1120 </xsl:when> 1121 <xsl:otherwise><xsl:text>\right)</xsl:text></xsl:otherwise> 1122 </xsl:choose> 1123 </xsl:template> 1124 1125 <xsl:template match="m:mphantom"> 1126- <xsl:text>\phantom{</xsl:text> 1127- <xsl:apply-templates/> 1128+<!-- Not supported by MediaWiki. --> 1129+<!-- 1130+ <xsl:text>\phantom{</xsl:text> 1131+ --> 1132+ <xsl:apply-templates/> 1133+<!-- 1134 <xsl:text>}</xsl:text> 1135+ --> 1136 </xsl:template> 1137 1138 <xsl:template match="m:menclose"> 1139@@ -193,15 +197,21 @@ 1140 </xsl:call-template> 1141 <xsl:text>}{$</xsl:text> 1142 </xsl:if> 1143- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> 1144+ <xsl:if test="@color or @mathcolor"> 1145+ <xsl:variable name="color"> 1146+ <xsl:choose> 1147+ <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when> 1148+ <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when> 1149+ </xsl:choose> 1150+ </xsl:variable> 1151 <xsl:text>\textcolor[rgb]{</xsl:text> 1152 <xsl:call-template name="color"> 1153- <xsl:with-param name="color" select="@color|@mathcolor"/> 1154+ <xsl:with-param name="color" select="$color"/> 1155 </xsl:call-template> 1156 <xsl:text>}{</xsl:text> 1157 </xsl:if> 1158 <xsl:apply-templates/> 1159- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> 1160+ <xsl:if test="@color or @mathcolor"> 1161 <xsl:text>}</xsl:text> 1162 </xsl:if> 1163 <xsl:if test="@background"> 1164@@ -219,4 +229,4 @@ 1165 <xsl:apply-templates/> 1166 </xsl:template> 1167 1168-</xsl:stylesheet> 1169+</xsl:stylesheet> 1170\ No newline at end of file 1171--- misc/xsltml_2.1.2/mmltex.xsl 2009-03-27 08:11:02.000000000 +0100 1172+++ misc/build/xsltml_2.1.2/mmltex.xsl 2008-03-07 21:36:34.000000000 +0100 1173@@ -6,9 +6,9 @@ 1174 <xsl:output method="text" indent="no" encoding="UTF-8"/> 1175 1176 <!-- ====================================================================== --> 1177-<!-- $Id: mmltex.xsl,v 1.7 2003/06/10 12:24:04 shade33 Exp $ 1178+<!-- $Id: mmltex.xsl 2755 2008-03-07 20:35:56Z hauma $ 1179 This file is part of the XSLT MathML Library distribution. 1180- See ./README or http://www.raleigh.ru/MathML/mmltex for 1181+ See ./README or http://xsltml.sf.net for 1182 copyright and other information --> 1183 <!-- ====================================================================== --> 1184 1185@@ -33,4 +33,4 @@ 1186 <xsl:text>
\]</xsl:text> 1187 </xsl:template> 1188 1189-</xsl:stylesheet> 1190+</xsl:stylesheet> 1191\ No newline at end of file 1192--- misc/xsltml_2.1.2/scripts.xsl 2009-03-27 08:11:02.000000000 +0100 1193+++ misc/build/xsltml_2.1.2/scripts.xsl 2008-03-07 21:36:34.000000000 +0100 1194@@ -1,12 +1,13 @@ 1195 <?xml version='1.0' encoding="UTF-8"?> 1196 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 1197- xmlns:m="http://www.w3.org/1998/Math/MathML" 1198+ xmlns:m="http://www.w3.org/1998/Math/MathML" 1199+ xmlns:oomath="http://www.w3.org/1998/Math/MathML" 1200 version='1.0'> 1201 1202 <!-- ====================================================================== --> 1203-<!-- $Id: scripts.xsl,v 1.4 2003/06/10 12:24:04 shade33 Exp $ 1204+<!-- $Id: scripts.xsl 2755 2008-03-07 20:35:56Z hauma $ 1205 This file is part of the XSLT MathML Library distribution. 1206- See ./README or http://www.raleigh.ru/MathML/mmltex for 1207+ See ./README or http://xsltml.sf.net for 1208 copyright and other information --> 1209 <!-- ====================================================================== --> 1210 1211@@ -23,7 +24,7 @@ 1212 </xsl:call-template> 1213 <xsl:text>}</xsl:text> 1214 </xsl:when> 1215- <xsl:when test="$over='︷'"> <!-- OverBrace - over brace --> 1216+ <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace --> 1217 <xsl:text>\overbrace{</xsl:text> 1218 <xsl:call-template name="munder"> 1219 <xsl:with-param name="base" select="$base"/> 1220@@ -64,7 +65,7 @@ 1221 </xsl:call-template> 1222 <xsl:text>}</xsl:text> 1223 </xsl:when> 1224- <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace --> 1225+ <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace --> 1226 <xsl:text>\underbrace{</xsl:text> 1227 <xsl:call-template name="mover"> 1228 <xsl:with-param name="base" select="$base"/> 1229@@ -153,7 +154,7 @@ 1230 <xsl:apply-templates select="./*[1]"/> 1231 <xsl:text>}</xsl:text> 1232 </xsl:when> 1233- <xsl:when test="$over='︷'"> <!-- OverBrace - over brace --> 1234+ <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace --> 1235 <xsl:text>\overbrace{</xsl:text> 1236 <xsl:apply-templates select="./*[1]"/> 1237 <xsl:text>}</xsl:text> 1238@@ -192,10 +193,46 @@ 1239 <xsl:text>\ddot{</xsl:text> 1240 <xsl:apply-templates select="./*[1]"/> 1241 <xsl:text>}</xsl:text> 1242- </xsl:when> 1243- <xsl:when test="$over='̂' or $over='^'"> <!-- Hat or circ - circumflex accent --> 1244+ </xsl:when> 1245+ <xsl:when test="$over='´'"> <!-- Acute accent "´" --> 1246+ <xsl:text>\acute{</xsl:text> 1247+ <xsl:apply-templates select="./*[1]"/> 1248+ <xsl:text>}</xsl:text> 1249+ </xsl:when> 1250+ <xsl:when test="$over='`'"> <!-- Grave accent "`" --> 1251+ <xsl:text>\grave{</xsl:text> 1252+ <xsl:apply-templates select="./*[1]"/> 1253+ <xsl:text>}</xsl:text> 1254+ </xsl:when> 1255+ <xsl:when test="$over='ˇ'"> <!-- Caron (Mandarin Chinese third tone) "ˇ" --> 1256+ <xsl:text>\check{</xsl:text> 1257+ <xsl:apply-templates select="./*[1]"/> 1258+ <xsl:text>}</xsl:text> 1259+ </xsl:when> 1260+ <xsl:when test="$over='˘'"> <!-- Breve accent "˘" --> 1261+ <xsl:text>\breve{</xsl:text> 1262+ <xsl:apply-templates select="./*[1]"/> 1263+ <xsl:text>}</xsl:text> 1264+ </xsl:when> 1265+ <xsl:when test="$over='˚'"> <!-- ring above "˚" --> 1266+ <xsl:text>\overset{\circ}{</xsl:text> 1267+ <xsl:apply-templates select="./*[1]"/> 1268+ <xsl:text>}</xsl:text> 1269+ </xsl:when> 1270+ <xsl:when test="$over='ˉ'"> <!-- modifier letter Macron (Mandarin Chinese first tone) "ˉ" --> 1271+ <xsl:text>\bar{</xsl:text> 1272+ <xsl:apply-templates select="./*[1]"/> 1273+ <xsl:text>}</xsl:text> 1274+ </xsl:when> 1275+ <xsl:when test="$over='¨'"> <!-- Diaeresis "¨" --> 1276+ <xsl:text>\ddot{</xsl:text> 1277+ <xsl:apply-templates select="./*[1]"/> 1278+ <xsl:text>}</xsl:text> 1279+ </xsl:when> 1280+ 1281+ <xsl:when test="$over='̂' or $over='^' or $over='ˆ'"> <!-- Hat or circ - circumflex accent --> 1282 <xsl:choose> 1283- <xsl:when test="@accent='true'"> 1284+ <xsl:when test="@oomath:accent='true'"> 1285 <xsl:text>\widehat{</xsl:text> 1286 </xsl:when> 1287 <xsl:otherwise> 1288@@ -244,7 +281,7 @@ 1289 <xsl:apply-templates select="./*[1]"/> 1290 <xsl:text>}</xsl:text> 1291 </xsl:when> 1292- <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace --> 1293+ <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace --> 1294 <xsl:text>\underbrace{</xsl:text> 1295 <xsl:apply-templates select="./*[1]"/> 1296 <xsl:text>}</xsl:text> 1297@@ -372,4 +409,4 @@ 1298 </xsl:choose> 1299 </xsl:template> 1300 1301-</xsl:stylesheet> 1302+</xsl:stylesheet> 1303\ No newline at end of file 1304--- misc/xsltml_2.1.2/tables.xsl 2009-03-27 08:11:02.000000000 +0100 1305+++ misc/build/xsltml_2.1.2/tables.xsl 2008-03-07 21:36:34.000000000 +0100 1306@@ -1,130 +1,218 @@ 1307-<?xml version='1.0' encoding="UTF-8"?> 1308-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 1309- xmlns:m="http://www.w3.org/1998/Math/MathML" 1310- version='1.0'> 1311- 1312-<!-- ====================================================================== --> 1313-<!-- $id: tables.xsl, 2002/17/05 Exp $ 1314- This file is part of the XSLT MathML Library distribution. 1315- See ./README or http://www.raleigh.ru/MathML/mmltex for 1316- copyright and other information --> 1317-<!-- ====================================================================== --> 1318- 1319-<xsl:template match="m:mtd[@columnspan]"> 1320- <xsl:text>\multicolumn{</xsl:text> 1321- <xsl:value-of select="@columnspan"/> 1322- <xsl:text>}{c}{</xsl:text> 1323- <xsl:apply-templates/> 1324- <xsl:text>}</xsl:text> 1325- <xsl:if test="count(following-sibling::*)>0"> 1326- <xsl:text>& </xsl:text> 1327- </xsl:if> 1328-</xsl:template> 1329- 1330- 1331-<xsl:template match="m:mtd"> 1332- <xsl:if test="@columnalign='right' or @columnalign='center'"> 1333- <xsl:text>\hfill </xsl:text> 1334- </xsl:if> 1335- <xsl:apply-templates/> 1336- <xsl:if test="@columnalign='left' or @columnalign='center'"> 1337- <xsl:text>\hfill </xsl:text> 1338- </xsl:if> 1339- <xsl:if test="count(following-sibling::*)>0"> 1340-<!-- this test valid for Sablotron, another form - test="not(position()=last())". 1341- Also for m:mtd[@columnspan] and m:mtr --> 1342- <xsl:text>& </xsl:text> 1343- </xsl:if> 1344-</xsl:template> 1345- 1346-<xsl:template match="m:mtr"> 1347- <xsl:apply-templates/> 1348- <xsl:if test="count(following-sibling::*)>0"> 1349- <xsl:text>\\ </xsl:text> 1350- </xsl:if> 1351-</xsl:template> 1352- 1353-<xsl:template match="m:mtable"> 1354- <xsl:text>\begin{array}{</xsl:text> 1355- <xsl:if test="@frame='solid'"> 1356- <xsl:text>|</xsl:text> 1357- </xsl:if> 1358- <xsl:variable name="numbercols" select="count(./m:mtr[1]/m:mtd[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/> 1359- <xsl:choose> 1360- <xsl:when test="@columnalign"> 1361- <xsl:variable name="colalign"> 1362- <xsl:call-template name="colalign"> 1363- <xsl:with-param name="colalign" select="@columnalign"/> 1364- </xsl:call-template> 1365- </xsl:variable> 1366- <xsl:choose> 1367- <xsl:when test="string-length($colalign) > $numbercols"> 1368- <xsl:value-of select="substring($colalign,1,$numbercols)"/> 1369- </xsl:when> 1370- <xsl:when test="string-length($colalign) < $numbercols"> 1371- <xsl:value-of select="$colalign"/> 1372- <xsl:call-template name="generate-string"> 1373- <xsl:with-param name="text" select="substring($colalign,string-length($colalign))"/> 1374- <xsl:with-param name="count" select="$numbercols - string-length($colalign)"/> 1375- </xsl:call-template> 1376- </xsl:when> 1377- <xsl:otherwise> 1378- <xsl:value-of select="$colalign"/> 1379- </xsl:otherwise> 1380- </xsl:choose> 1381- </xsl:when> 1382- <xsl:otherwise> 1383- <xsl:call-template name="generate-string"> 1384- <xsl:with-param name="text" select="'c'"/> 1385- <xsl:with-param name="count" select="$numbercols"/> 1386- </xsl:call-template> 1387- </xsl:otherwise> 1388- </xsl:choose> 1389- <xsl:if test="@frame='solid'"> 1390- <xsl:text>|</xsl:text> 1391- </xsl:if> 1392- <xsl:text>}</xsl:text> 1393- <xsl:if test="@frame='solid'"> 1394- <xsl:text>\hline </xsl:text> 1395- </xsl:if> 1396- <xsl:apply-templates/> 1397- <xsl:if test="@frame='solid'"> 1398- <xsl:text>\\ \hline</xsl:text> 1399- </xsl:if> 1400- <xsl:text>\end{array}</xsl:text> 1401-</xsl:template> 1402- 1403-<xsl:template name="colalign"> 1404- <xsl:param name="colalign"/> 1405- <xsl:choose> 1406- <xsl:when test="contains($colalign,' ')"> 1407- <xsl:value-of select="substring($colalign,1,1)"/> 1408- <xsl:call-template name="colalign"> 1409- <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/> 1410- </xsl:call-template> 1411- </xsl:when> 1412- <xsl:otherwise> 1413- <xsl:value-of select="substring($colalign,1,1)"/> 1414- </xsl:otherwise> 1415- </xsl:choose> 1416-</xsl:template> 1417- 1418-<xsl:template name="generate-string"> 1419-<!-- template from XSLT Standard Library v1.1 --> 1420- <xsl:param name="text"/> 1421- <xsl:param name="count"/> 1422- 1423- <xsl:choose> 1424- <xsl:when test="string-length($text) = 0 or $count <= 0"/> 1425- 1426- <xsl:otherwise> 1427- <xsl:value-of select="$text"/> 1428- <xsl:call-template name="generate-string"> 1429- <xsl:with-param name="text" select="$text"/> 1430- <xsl:with-param name="count" select="$count - 1"/> 1431- </xsl:call-template> 1432- </xsl:otherwise> 1433- </xsl:choose> 1434-</xsl:template> 1435- 1436-</xsl:stylesheet> 1437+<?xml version='1.0' encoding="UTF-8"?> 1438+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 1439+ xmlns:m="http://www.w3.org/1998/Math/MathML" 1440+ version='1.0'> 1441+ 1442+<!-- ====================================================================== --> 1443+<!-- $Id: tables.xsl 2755 2008-03-07 20:35:56Z hauma $ 1444+ This file is part of the XSLT MathML Library distribution. 1445+ See ./README or http://xsltml.sf.net for 1446+ copyright and other information --> 1447+<!-- ====================================================================== --> 1448+ 1449+<xsl:template match="m:mtd[@columnspan]"> 1450+ <xsl:text>\multicolumn{</xsl:text> 1451+ <xsl:value-of select="@columnspan"/> 1452+ <xsl:text>}{c}{</xsl:text> 1453+ <xsl:apply-templates/> 1454+ <xsl:text>}</xsl:text> 1455+ <xsl:if test="count(following-sibling::*)>0"> 1456+ <xsl:text>& </xsl:text> 1457+ </xsl:if> 1458+</xsl:template> 1459+ 1460+ 1461+<xsl:template match="m:mtd"> 1462+ <xsl:if test="@columnalign='right' or @columnalign='center'"> 1463+ <xsl:text>\hfill </xsl:text> 1464+ </xsl:if> 1465+ <xsl:apply-templates/> 1466+ <xsl:if test="@columnalign='left' or @columnalign='center'"> 1467+ <xsl:text>\hfill </xsl:text> 1468+ </xsl:if> 1469+</xsl:template> 1470+ 1471+<xsl:template match="m:mtr"> 1472+ <xsl:for-each select="*"> 1473+ <xsl:apply-templates select="current()"/> 1474+ <xsl:if test="not(position()=last())"> 1475+ <xsl:text>& </xsl:text> 1476+ </xsl:if> 1477+ </xsl:for-each> 1478+ <xsl:if test="not(position()=last())"> 1479+ <xsl:text>\\ </xsl:text> 1480+ <xsl:if test="../@rowlines"> 1481+ <xsl:variable name="line"> 1482+ <xsl:call-template name="getToken"> 1483+ <xsl:with-param name="text" select="../@rowlines"/> 1484+ <xsl:with-param name="position" select="position()"/> 1485+ </xsl:call-template> 1486+ </xsl:variable> 1487+ <xsl:if test="$line='solid'"> 1488+ <xsl:text>\hline </xsl:text> 1489+ </xsl:if> 1490+ </xsl:if> 1491+ </xsl:if> 1492+</xsl:template> 1493+ 1494+<xsl:template match="m:mtable"> 1495+ <xsl:text>\begin{array}{</xsl:text> 1496+ <xsl:if test="@frame='solid'"> 1497+ <xsl:text>|</xsl:text> 1498+ </xsl:if> 1499+ <xsl:variable name="numbercols" select="count(./m:mtr[1]/*[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/> 1500+ <xsl:choose> 1501+ <xsl:when test="@columnalign and @columnlines"> 1502+ <xsl:call-template name="generateAlignString"> 1503+ <xsl:with-param name="columnalignstring" select="@columnalign"/> 1504+ <xsl:with-param name="columnlinestring" select="@columnlines"/> 1505+ <xsl:with-param name="count" select="$numbercols"/> 1506+ </xsl:call-template> 1507+ </xsl:when> 1508+ <xsl:when test="@columnlines"> 1509+ <xsl:call-template name="generateAlignString"> 1510+ <xsl:with-param name="columnlinestring" select="@columnlines"/> 1511+ <xsl:with-param name="count" select="$numbercols"/> 1512+ </xsl:call-template> 1513+ </xsl:when> 1514+ <xsl:when test="@columnalign"> 1515+ <xsl:call-template name="generateAlignString"> 1516+ <xsl:with-param name="columnalignstring" select="@columnalign"/> 1517+ <xsl:with-param name="count" select="$numbercols"/> 1518+ </xsl:call-template> 1519+ </xsl:when> 1520+ <xsl:otherwise> 1521+ <xsl:call-template name="generateAlignString"> 1522+ <xsl:with-param name="count" select="$numbercols"/> 1523+ </xsl:call-template> 1524+ </xsl:otherwise> 1525+ </xsl:choose> 1526+ <xsl:if test="@frame='solid'"> 1527+ <xsl:text>|</xsl:text> 1528+ </xsl:if> 1529+ <xsl:text>}</xsl:text> 1530+ <xsl:if test="@frame='solid'"> 1531+ <xsl:text>\hline </xsl:text> 1532+ </xsl:if> 1533+ <xsl:apply-templates/> 1534+ <xsl:if test="@frame='solid'"> 1535+ <xsl:text>\\ \hline </xsl:text> 1536+ </xsl:if> 1537+ <xsl:text>\end{array}</xsl:text> 1538+</xsl:template> 1539+ 1540+<xsl:template name="colalign"> 1541+ <xsl:param name="colalign"/> 1542+ <xsl:choose> 1543+ <xsl:when test="contains($colalign,' ')"> 1544+ <xsl:value-of select="substring($colalign,1,1)"/> 1545+ <xsl:call-template name="colalign"> 1546+ <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/> 1547+ </xsl:call-template> 1548+ </xsl:when> 1549+ <xsl:otherwise> 1550+ <xsl:value-of select="substring($colalign,1,1)"/> 1551+ </xsl:otherwise> 1552+ </xsl:choose> 1553+</xsl:template> 1554+ 1555+<xsl:template name="generate-string"> 1556+<!-- template from XSLT Standard Library v1.1 --> 1557+ <xsl:param name="text"/> 1558+ <xsl:param name="count"/> 1559+ 1560+ <xsl:choose> 1561+ <xsl:when test="string-length($text) = 0 or $count <= 0"/> 1562+ 1563+ <xsl:otherwise> 1564+ <xsl:value-of select="$text"/> 1565+ <xsl:call-template name="generate-string"> 1566+ <xsl:with-param name="text" select="$text"/> 1567+ <xsl:with-param name="count" select="$count - 1"/> 1568+ </xsl:call-template> 1569+ </xsl:otherwise> 1570+ </xsl:choose> 1571+</xsl:template> 1572+ 1573+<xsl:template name="generateAlignString"> 1574+ <xsl:param name="columnalignstring">center</xsl:param> 1575+ <xsl:param name="columnlinestring"/> 1576+ <xsl:param name="count"/> 1577+ <xsl:choose> 1578+ <xsl:when test="$count <= 0"/> 1579+ <xsl:otherwise> 1580+ <xsl:variable name="columnalign"> 1581+ <xsl:call-template name="getToken"> 1582+ <xsl:with-param name="text" select="$columnalignstring"/> 1583+ <xsl:with-param name="position" select="1"/> 1584+ </xsl:call-template> 1585+ </xsl:variable> 1586+ <xsl:variable name="columnline"> 1587+ <xsl:call-template name="getToken"> 1588+ <xsl:with-param name="text" select="$columnlinestring"/> 1589+ <xsl:with-param name="position" select="1"/> 1590+ </xsl:call-template> 1591+ </xsl:variable> 1592+ <xsl:value-of select="substring($columnalign,1,1)"/> 1593+ <xsl:if test="$columnline='solid' and $count>1"><xsl:text>|</xsl:text></xsl:if> 1594+ <xsl:variable name="leftPartOrLastTokenA"> 1595+ <xsl:choose> 1596+ <xsl:when test="substring-after($columnalignstring,' ')"> 1597+ <xsl:value-of select="substring-after($columnalignstring,' ')"/> 1598+ </xsl:when> 1599+ <xsl:otherwise> 1600+ <xsl:value-of select="$columnalignstring"/> 1601+ </xsl:otherwise> 1602+ </xsl:choose> 1603+ </xsl:variable> 1604+ <xsl:variable name="leftPartOrLastTokenB"> 1605+ <xsl:choose> 1606+ <xsl:when test="substring-after($columnlinestring,' ')"> 1607+ <xsl:value-of select="substring-after($columnlinestring,' ')"/> 1608+ </xsl:when> 1609+ <xsl:otherwise> 1610+ <xsl:value-of select="$columnlinestring"/> 1611+ </xsl:otherwise> 1612+ </xsl:choose> 1613+ </xsl:variable> 1614+ <xsl:call-template name="generateAlignString"> 1615+ <xsl:with-param name="columnalignstring" select="$leftPartOrLastTokenA"/> 1616+ <xsl:with-param name="columnlinestring" select="$leftPartOrLastTokenB"/> 1617+ <xsl:with-param name="count" select="$count - 1"/> 1618+ </xsl:call-template> 1619+ </xsl:otherwise> 1620+ </xsl:choose> 1621+</xsl:template> 1622+ 1623+ 1624+<xsl:template name="getToken"> 1625+ <xsl:param name="text"/> 1626+ <xsl:param name="char" select="string(' ')"/> 1627+ <xsl:param name="position"/> 1628+ <xsl:choose> 1629+ <xsl:when test="$position = 1 or not(contains($text ,$char))"> 1630+ <xsl:choose> 1631+ <xsl:when test="contains($text ,$char)"> 1632+ <xsl:value-of select="substring-before($text,$char)"/> 1633+ </xsl:when> 1634+ <xsl:otherwise> 1635+ <xsl:value-of select="$text"/> 1636+ </xsl:otherwise> 1637+ </xsl:choose> 1638+ </xsl:when> 1639+ <xsl:when test="contains($text ,$char) and $position > 1"> 1640+ <xsl:variable name="last" select="substring-after($text,$char)"/> 1641+ <xsl:choose> 1642+ <xsl:when test="$position > 1"> 1643+ <xsl:call-template name="getToken"> 1644+ <xsl:with-param name="text" select="$last"/> 1645+ <xsl:with-param name="char" select="$char"/> 1646+ <xsl:with-param name="position" select="$position - 1"/> 1647+ </xsl:call-template> 1648+ </xsl:when> 1649+ </xsl:choose> 1650+ </xsl:when> 1651+ </xsl:choose> 1652+ </xsl:template> 1653+ 1654+</xsl:stylesheet> 1655\ No newline at end of file 1656--- misc/xsltml_2.1.2/tokens.xsl 2009-03-27 08:11:02.000000000 +0100 1657+++ misc/build/xsltml_2.1.2/tokens.xsl 2008-03-07 21:36:34.000000000 +0100 1658@@ -1,12 +1,13 @@ 1659 <?xml version='1.0' encoding="UTF-8"?> 1660 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 1661- xmlns:m="http://www.w3.org/1998/Math/MathML" 1662+ xmlns:m="http://www.w3.org/1998/Math/MathML" 1663+ xmlns:oomath="http://www.w3.org/1998/Math/MathML" 1664 version='1.0'> 1665 1666 <!-- ====================================================================== --> 1667-<!-- $Id: tokens.xsl,v 1.7 2003/06/10 12:24:05 shade33 Exp $ 1668+<!-- $Id: tokens.xsl 2755 2008-03-07 20:35:56Z hauma $ 1669 This file is part of the XSLT MathML Library distribution. 1670- See ./README or http://www.raleigh.ru/MathML/mmltex for 1671+ See ./README or http://xsltml.sf.net for 1672 copyright and other information --> 1673 <!-- ====================================================================== --> 1674 1675@@ -22,7 +23,15 @@ 1676 </xsl:template> 1677 1678 <xsl:template name="mi"> 1679+ <xsl:variable name="op"> 1680+ <xsl:value-of select="concat(' ',normalize-space(.),' ')"/> 1681+ </xsl:variable> 1682 <xsl:choose> 1683+ <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)"> 1684+ <xsl:text>\</xsl:text> 1685+ <xsl:value-of select="normalize-space(.)"/> 1686+ <xsl:text> </xsl:text> 1687+ </xsl:when> 1688 <xsl:when test="string-length(normalize-space(.))>1 and not(@mathvariant)"> 1689 <xsl:text>\mathrm{</xsl:text> 1690 <xsl:apply-templates/> 1691@@ -51,10 +60,10 @@ 1692 <xsl:template name="mo"> 1693 <xsl:if test="translate(normalize-space(.),'()[]}|','{{{{{{')='{'"> 1694 <xsl:choose> 1695- <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(.),'()[]}|','{{{{{{')='{']"> 1696+ <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(.),'()[]}|','{{{{{{')='{']"> 1697 <xsl:text>\left</xsl:text> 1698 </xsl:when> 1699- <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(.),'()[]}|','{{{{{{')='{']"> 1700+ <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(.),'()[]}|','{{{{{{')='{']"> 1701 <xsl:text>\right</xsl:text> 1702 </xsl:when> 1703 </xsl:choose> 1704@@ -67,10 +76,13 @@ 1705 <xsl:call-template name="replaceMtextEntities"> 1706 <xsl:with-param name="content" select="normalize-space(.)"/> 1707 </xsl:call-template> 1708- </xsl:variable> 1709- <xsl:text>\text{</xsl:text> 1710- <xsl:value-of select="$content"/> 1711- <xsl:text>}</xsl:text> 1712+ </xsl:variable> 1713+ <!-- Empty text content breaks the MediaWiki parser. --> 1714+ <xsl:if test="string-length($content) > 0"> 1715+ <xsl:text>\text{</xsl:text> 1716+ <xsl:value-of select="$content"/> 1717+ <xsl:text>}</xsl:text> 1718+ </xsl:if> 1719 </xsl:template> 1720 1721 <xsl:template match="m:mspace"> 1722@@ -111,10 +123,16 @@ 1723 </xsl:call-template> 1724 <xsl:text>}{$</xsl:text> 1725 </xsl:if> 1726- <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 --> 1727+ <xsl:if test="@color or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 --> 1728+ <xsl:variable name="color"> 1729+ <xsl:choose> 1730+ <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when> 1731+ <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when> 1732+ </xsl:choose> 1733+ </xsl:variable> 1734 <xsl:text>\textcolor[rgb]{</xsl:text> 1735 <xsl:call-template name="color"> 1736- <xsl:with-param name="color" select="@color|@mathcolor"/> 1737+ <xsl:with-param name="color" select="$color"/> 1738 </xsl:call-template> 1739 <xsl:text>}{</xsl:text> 1740 </xsl:if> 1741@@ -325,4 +343,4 @@ 1742 </xsl:call-template> 1743 </xsl:template> 1744 1745-</xsl:stylesheet> 1746+</xsl:stylesheet> 1747\ No newline at end of file 1748