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
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 <!-- ====================================================================== -->
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>
23 <xsl:template match="m:otherwise">
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>
34 <xsl:with-param name="p" select="$p"/>
35 <xsl:with-param name="this-p" select="2"/>
42 <xsl:template match="m:apply[*[1][self::m:plus]]">
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>
50 <xsl:when test="m:degree">
51 + <xsl:text>^{</xsl:text>
52 <xsl:apply-templates select="m:degree/node()"/>
53 + <xsl:text>}</xsl:text>
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>
61 <xsl:text>+</xsl:text>
62 <xsl:value-of select="count(m:bvar[not(m:degree)])"/>
64 + <xsl:text>}</xsl:text>
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>
72 - <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/>
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">
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>
87 <xsl:text>\end{array}\right)</xsl:text>
90 <xsl:apply-templates select="."/>
91 <xsl:if test="position()!=last()"><xsl:text> & </xsl:text></xsl:if>
93 - <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if>
94 + <xsl:if test="position()!=last()"><xsl:text>\\ </xsl:text></xsl:if>
97 <!-- 4.4.10.4 determinant -->
98 --- misc/xsltml_2.1.2/entities.xsl 2009-03-27 08:11:02.000000000 +0100
99 +++ misc/build/xsltml_2.1.2/entities.xsl 2008-03-07 21:36:34.000000000 +0100
103 <!-- ====================================================================== -->
104 -<!-- $Id: entities.xsl,v 1.13 2003/06/10 12:28:03 shade33 Exp $
105 +<!-- $Id: entities.xsl 2755 2008-03-07 20:35:56Z hauma $
106 This file is part of the XSLT MathML Library distribution.
107 - See ./README or http://www.raleigh.ru/MathML/mmltex for
108 + See ./README or http://xsltml.sf.net for
109 copyright and other information -->
110 <!-- ====================================================================== -->
111 +<xsl:variable name="apos">'</xsl:variable>
114 + Missing MathML equivalents for:
119 + Unsupported in WikiMedia:
128 <xsl:template name="replaceEntities">
129 <xsl:param name="content"/>
130 <xsl:if test="string-length($content)>0">
132 <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>
133 + <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>
134 + <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>
135 + <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>
136 + <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>
137 + <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>
138 + <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>
139 + <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>
140 + <!-- Note: \less is not supported by WikiMedia. -->
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 + <!-- Note: \greater is not supported by WikiMedia. -->
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="'\lbrack '" /><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="'\backslash '" /><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="'\rbrack '" /><xsl:call-template name="replaceEntities"><xsl:with-param name="content" select="substring-after($content, ']')"/></xsl:call-template></xsl:when>
147 + <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>
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 + <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>
150 + <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>
151 + <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>
152 + <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>
153 + <!-- Note: \textasciitilde is not supported by WikiMedia. -->
154 + <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>
156 <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 -->
157 <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 -->
158 <!-- ====================================================================== -->
160 C1 Controls and Latin-1 Supplement
162 http://www.unicode.org/charts/PDF/U0080.pdf -->
163 -<!-- ====================================================================== -->
164 +<!-- ====================================================================== -->
165 + <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>
166 + <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>
167 <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 -->
168 + <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>
169 <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 -->
170 <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 -->
171 + <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>
172 <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 -->
173 + <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>
174 + <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>
175 <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 -->
176 + <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>
177 <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 -->
178 + <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>
179 + <!-- 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?). -->
180 + <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>
181 <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 -->
182 - <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 -->
183 + <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>
184 + <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>
185 + <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>
186 + <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 -->
187 <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) -->
188 + <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>
189 + <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>
190 + <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>
191 + <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>
192 + <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>
193 + <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>
194 + <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>
195 + <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>
196 + <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>
197 + <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>
198 <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 -->
199 <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 -->
200 + <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>
201 + <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>
202 + <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>
203 + <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>
204 + <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>
205 + <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>
206 + <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>
207 + <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>
208 + <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>
209 + <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>
210 + <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>
211 + <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>
212 + <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>
213 + <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>
214 + <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>
215 + <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>
216 <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 -->
217 + <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>
218 + <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>
219 + <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>
220 + <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>
221 + <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>
222 + <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>
223 + <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>
224 + <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>
225 + <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>
226 + <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>
227 + <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>
228 + <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>
229 + <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>
230 + <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>
231 <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 -->
233 + <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>
234 + <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>
235 + <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>
236 + <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>
237 + <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>
238 + <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>
239 + <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>
240 + <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>
241 + <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>
242 + <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>
243 + <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>
244 + <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>
245 + <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>
246 + <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>
247 + <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>
248 + <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>
249 + <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>
250 + <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>
251 + <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>
252 + <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>
253 + <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>
254 + <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>
255 + <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>
256 + <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>
257 + <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>
258 +<!-- ====================================================================== -->
261 +<!-- ====================================================================== -->
262 +<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>
263 +<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>
264 +<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>
265 +<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>
266 +<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>
267 +<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>
268 +<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>
269 +<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>
270 +<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>
271 +<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>
272 +<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>
273 +<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>
274 +<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>
275 +<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>
276 +<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>
277 +<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>
278 +<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>
279 +<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>
280 +<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>
281 +<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>
282 +<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>
283 +<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>
284 +<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>
285 +<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>
286 +<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>
287 +<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>
288 +<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>
289 +<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>
290 +<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>
291 +<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>
292 +<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>
293 +<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>
294 +<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>
295 +<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>
296 +<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>
297 +<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>
298 +<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>
299 +<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>
300 +<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>
301 +<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>
302 +<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>
303 +<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>
304 +<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>
305 +<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>
306 +<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>
307 +<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>
308 +<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>
309 +<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>
310 +<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>
311 +<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>
312 +<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>
313 +<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>
314 + <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>
315 + <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>
316 +<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>
317 +<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>
318 +<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>
319 +<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>
320 +<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>
321 +<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>
322 +<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>
323 +<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>
324 +<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>
325 +<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>
326 +<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>
327 +<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>
328 + <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>
329 + <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>
330 +<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>
331 +<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>
332 +<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>
333 +<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>
334 +<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>
335 +<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>
336 +<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>
337 +<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>
338 +<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>
339 +<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>
340 +<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>
341 +<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>
342 +<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>
343 +<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>
344 +<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>
345 +<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>
346 +<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>
347 +<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>
348 +<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>
349 +<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>
350 +<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>
351 +<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>
352 +<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>
353 +<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>
354 +<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>
355 +<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>
356 +<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>
357 +<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>
358 +<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>
359 +<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>
360 +<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>
361 +<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>
362 +<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>
363 +<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>
364 +<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>
365 +<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>
366 +<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>
367 +<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>
368 +<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>
369 +<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>
370 +<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>
371 +<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>
372 +<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>
373 +<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>
374 +<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>
375 +<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>
376 +<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>
377 +<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>
378 +<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>
379 +<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>
380 +<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>
381 +<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>
382 +<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>
383 +<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>
384 +<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>
385 +<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>
386 +<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>
387 +<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>
388 +<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>
389 +<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>
390 +<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>
391 +<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>
392 +<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>
393 +<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>
394 +<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>
395 +<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>
396 +<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>
397 +<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>
398 +<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>
399 +<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>
400 +<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>
401 +<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>
402 +<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>
403 +<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>
404 +<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>
405 +<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>
406 +<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>
407 +<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>
408 +<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>
409 +<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>
410 +<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>
411 + <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>
412 +<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>
413 +<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>
414 +<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>
415 +<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>
416 +<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>
417 +<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>
418 +<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>
419 +<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>
420 +<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>
421 +<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>
422 +<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>
423 +<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>
424 +<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>
425 +<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>
426 +<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>
427 +<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>
428 +<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>
429 +<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>
430 +<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>
431 +<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>
432 +<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>
433 + <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>
434 + <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>
435 +<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>
436 +<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>
437 +<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>
438 <!-- ====================================================================== -->
442 http://www.unicode.org/charts/PDF/U0370.pdf -->
443 -<!-- ====================================================================== -->
444 - <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 -->
445 - <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 -->
446 - <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 -->
447 - <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 -->
448 - <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 -->
449 - <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 -->
450 - <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 -->
451 - <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 -->
452 - <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 -->
453 - <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 -->
454 - <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 -->
455 - <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 -->
456 - <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 -->
457 - <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 -->
458 - <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 -->
459 - <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 -->
460 - <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 -->
461 - <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 -->
462 - <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 -->
463 - <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 -->
464 - <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 -->
465 - <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 -->
466 - <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 -->
467 - <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 -->
468 +<!-- ====================================================================== -->
469 +<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>
470 +<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>
471 +<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>
472 +<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>
473 +<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>
474 +<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>
475 +<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>
476 +<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>
478 +<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>
479 +<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>
480 +<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>
481 +<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>
482 +<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>
483 +<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>
484 +<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>
485 +<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>
486 +<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>
487 +<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>
488 +<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>
489 +<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>
490 +<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>
491 +<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>
492 +<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>
493 +<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>
494 +<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>
495 +<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>
496 +<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>
497 +<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>
498 +<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>
499 +<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>
500 +<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>
501 +<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>
502 + <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>
503 +<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>
504 +<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>
505 +<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>
506 +<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>
507 +<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>
508 +<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>
509 <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 -->
510 <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 -->
511 <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 -->
512 @@ -92,60 +404,143 @@
513 <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 -->
514 <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 -->
515 <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 -->
516 + <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>
517 +<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>
518 +<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>
519 +<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>
520 +<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>
521 <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 -->
522 <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 -->
523 - <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 -->
524 + <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 -->
525 <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 -->
526 +<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>
527 +<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>
528 +<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>
529 +<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>
530 +<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>
531 <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 -->
532 <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 -->
534 +<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>
535 +<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>
536 <!-- ====================================================================== -->
540 http://www.unicode.org/charts/PDF/U2000.pdf -->
541 <!-- ====================================================================== -->
542 - <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) -->
543 - <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 -->
544 + <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) -->
545 + <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 -->
546 <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 -->
547 - <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 -->
548 - <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 -->
549 + <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 -->
550 + <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>
551 + <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>
552 + <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>
553 + <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 -->
554 + <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>
555 <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 -->
556 + <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>
557 + <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>
558 + <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>
559 <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 -->
560 + <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>
561 + <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>
562 +<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>
563 + <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>
564 + <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>
565 +<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>
566 +<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>
567 +<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>
568 <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 -->
569 <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 -->
570 +<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>
571 +<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>
572 +<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>
573 +<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>
574 +<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>
575 +<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>
576 +<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>
577 + <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>
578 <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 -->
579 <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 -->
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> <!-- InvisibleComma, used as a separator, e.g., in indices -->
581 <!-- ====================================================================== -->
584 +<!-- ====================================================================== -->
585 +<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>
586 +<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>
587 +<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>
588 +<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>
589 +<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>
590 +<!-- ====================================================================== -->
594 http://www.unicode.org/charts/PDF/U2100.pdf -->
595 <!-- ====================================================================== -->
596 +<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>
597 +<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>
598 <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 -->
599 + <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>
600 +<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>
601 +<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>
602 <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 -->
603 <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 -->
604 +<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>
605 <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 -->
606 +<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>
607 <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 -->
608 <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 -->
609 + <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>
610 <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 -->
611 <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 -->
612 <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 -->
613 +<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>
614 <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 -->
615 + <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>
616 + <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>
617 <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 -->
618 <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 -->
619 <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 -->
620 +<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>
621 +<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>
622 +<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>
623 +<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>
624 +<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>
625 +<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>
626 +<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>
627 +<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>
628 +<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>
629 +<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>
630 <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 -->
631 <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 -->
632 <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 -->
633 <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 -->
634 +<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>
635 +<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>
636 +<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>
638 <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 -->
639 <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 -->
640 <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 -->
641 <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 -->
642 <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>
644 +<!-- ====================================================================== -->
647 +<!-- ====================================================================== -->
648 +<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>
649 +<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>
650 +<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>
651 +<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>
652 +<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>
653 +<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>
654 +<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>
655 +<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>
656 +<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>
657 +<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>
658 +<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>
659 +<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>
660 <!-- ====================================================================== -->
664 <!-- ====================================================================== -->
665 <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 -->
666 <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 -->
667 - <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 -->
668 + <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 -->
669 <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 -->
670 <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 -->
671 <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 -->
673 <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 -->
674 <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 -->
675 <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 -->
676 + <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>
677 <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 -->
678 <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 -->
679 <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 -->
681 <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 -->
682 <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 -->
683 <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 -->
684 +<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>
685 <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 -->
686 <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 -->
687 <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 -->
689 <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 -->
690 <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 -->
691 <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 -->
692 +<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>
693 <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 -->
694 <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 -->
695 <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 -->
696 @@ -205,12 +603,16 @@
697 <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 -->
698 <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 -->
699 <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 -->
700 -<!-- <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 -->
701 - <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 -->
702 + <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 -->
703 +<!-- <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 -->
704 <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 -->
705 <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 -->
706 <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 -->
708 +<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>
709 +<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>
710 +<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>
711 +<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>
712 +<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>
713 <!-- ====================================================================== -->
715 Mathematical Operators
717 <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 -->
718 <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 -->
719 <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 -->
720 -<!-- <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>-->
721 <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 -->
722 <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 -->
723 <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 -->
725 <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 -->
726 <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 -->
727 <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 -->
728 -<!-- <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>-->
729 <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 -->
730 <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 -->
731 <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) -->
732 @@ -244,11 +644,11 @@
733 <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 -->
734 <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 -->
735 <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 -->
736 -<!-- <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 -->
737 + <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 -->
738 <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 -->
739 <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 -->
740 <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 -->
741 - <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: -->
742 + <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: -->
743 <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 -->
744 <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 -->
745 <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 -->
746 @@ -262,95 +662,104 @@
747 <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 -->
748 <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 -->
749 <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 -->
750 -<!-- <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>-->
751 -<!-- <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>-->
752 -<!-- <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>-->
753 -<!-- <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>-->
754 -<!-- <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>-->
755 + <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 -->
756 + <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 -->
757 + <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>
758 + <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>
759 + <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>
760 <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 -->
761 <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 -->
762 <!-- ? --> <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 -->
763 -<!-- ? --> <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 -->
764 -<!-- ? --> <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 -->
765 + <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 -->
766 + <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 -->
767 <!-- <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> -->
768 -<!-- <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 -->
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> homothetic -->
770 + <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 -->
771 + <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 -->
772 <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 -->
773 <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 -->
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> most positive -->
775 + <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 -->
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> ac current -->
777 <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 -->
778 <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 -->
779 + <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>
780 <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 -->
781 <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 -->
782 - <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 -->
783 + <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 -->
784 <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 -->
785 -<!-- <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 -->
786 + <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 -->
787 <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 -->
788 - <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 -->
789 + <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 -->
790 <!-- <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 -->
791 - <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 -->
792 + <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 -->
793 <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 -->
794 -<!-- <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 -->
795 -<!-- <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 -->
796 + <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>
797 + <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 -->
798 + <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 -->
799 <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 -->
800 - <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 -->
801 - <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 -->
802 + <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>
803 + <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 -->
804 + <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>
805 + <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 -->
806 + <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>
807 <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 -->
808 - <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 -->
809 - <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 -->
810 + <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 -->
811 + <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 -->
812 <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 -->
813 -<!-- <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 -->
814 -<!-- <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 -->
815 - <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 -->
816 - <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 -->
817 + <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 -->
818 + <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 -->
819 + <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 -->
820 + <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 -->
821 <!-- ? --> <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>
822 -<!-- ? --> <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) -->
823 -<!-- ? --> <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 -->
824 -<!-- ? --> <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 -->
825 + <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) -->
826 + <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 -->
827 + <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 -->
828 <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 -->
829 <!-- ? --> <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>
830 <!-- ? --> <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>
831 -<!-- ? --> <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 -->
832 + <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 -->
833 <!-- <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 -->
834 <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 -->
835 <!-- <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 -->
836 <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 -->
837 - <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 -->
838 + <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 -->
839 <!-- <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> -->
840 <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 -->
841 <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 -->
842 <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 -->
843 <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 -->
844 + <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>
845 <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 -->
846 + <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>
847 <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 -->
848 <!-- <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 -->
849 -<!-- <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 -->
850 + <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 -->
851 <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 -->
852 <!-- <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 -->
853 -<!-- <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 -->
854 + <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 -->
855 <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 -->
856 <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 -->
857 - <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>
858 + <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>
859 <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 -->
860 <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 -->
861 - <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 -->
862 - <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 -->
863 - <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 -->
864 - <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 -->
865 +<!-- <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 -->
866 + <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 -->
867 +<!-- <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 -->
868 + <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 -->
869 <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 -->
870 <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 -->
871 - <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 -->
872 - <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 -->
873 + <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 -->
874 + <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 -->
875 <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 -->
876 <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 -->
877 - <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 -->
878 - <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 -->
879 + <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 -->
880 + <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 -->
881 <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 -->
882 <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 -->
883 <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 -->
884 <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 -->
885 + <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>
886 <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 -->
887 + <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>
888 <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 -->
889 <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 -->
890 <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 -->
891 @@ -360,21 +769,59 @@
892 <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 -->
893 <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 -->
894 <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 -->
895 + <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>
896 + <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>
897 + <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>
898 + <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>
899 + <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>
900 + <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>
901 + <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>
902 <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 -->
903 + <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>
904 + <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>
905 + <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>
906 + <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>
907 + <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>
908 + <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>
909 <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 -->
910 - <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 -->
911 + <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 -->
912 <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 -->
913 <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 -->
914 <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 -->
915 <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 -->
916 -<!-- ? --> <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 -->
917 + <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 -->
918 + <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>
919 + <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>
920 + <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>
921 + <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>
922 <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 -->
923 + <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>
924 + <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>
925 + <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>
926 + <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>
927 <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 -->
928 <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 -->
929 - <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 -->
930 - <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 -->
931 - <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: -->
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> /vdash R: vertical, dash -->
933 + <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 -->
934 + <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: -->
935 + <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>
936 <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 -->
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>
938 + <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>
939 + <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>
940 + <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>
941 + <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>
942 + <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>
943 + <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>
944 + <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>
945 + <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>
946 + <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>
947 + <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>
948 + <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>
949 + <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>
950 + <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>
951 + <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>
952 + <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>
953 <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 -->
954 <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 -->
955 <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 -->
956 @@ -384,11 +831,41 @@
957 <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 -->
958 <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 -->
959 <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: -->
960 + <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>
961 + <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>
962 + <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>
963 + <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>
964 <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 -->
965 - <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 -->
966 -<!-- <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 -->
967 - <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 -->
969 + <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>
970 + <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>
971 + <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>
972 + <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>
973 + <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>
974 + <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>
975 + <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>
976 + <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>
977 + <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>
978 + <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>
979 + <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>
980 + <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>
981 + <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>
982 + <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>
983 + <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>
984 + <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>
985 + <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>
986 + <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>
987 + <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>
988 + <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>
989 + <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>
990 + <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>
991 + <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>
992 + <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>
993 + <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>
994 + <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>
995 + <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>
996 + <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 -->
997 + <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 -->
998 + <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 -->
999 <!-- ====================================================================== -->
1001 Miscellaneous Technical
1002 @@ -404,20 +881,22 @@
1003 <!-- ====================================================================== -->
1004 <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 -->
1005 <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 -->
1007 + <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>
1009 +<!-- Double brackets (only supported as workaround in MediaWiki). -->
1010 + <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>
1011 + <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>
1013 +<!-- Entities undefined in Unicode, but used by OOo for parenteses. -->
1014 + <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>
1015 + <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>
1017 <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 -->
1019 <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>
1020 <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 -<!--- special characters -->
1023 - <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>
1024 - <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>
1025 - <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>
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 - <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>
1032 <xsl:value-of select="substring($content,1,1)"/>
1033 <xsl:call-template name="replaceEntities">
1034 @@ -445,7 +924,12 @@
1035 <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>
1036 <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>
1037 <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>
1038 - <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>
1039 + <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>
1041 + <!-- Ignore "lower than" and "greater than" symbols, which break the MediaWiki parser in text mode. -->
1042 + <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>
1043 + <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:value-of select="substring($content,1,1)"/>
1047 <xsl:call-template name="replaceMtextEntities">
1048 --- misc/xsltml_2.1.2/glayout.xsl 2009-03-27 08:11:02.000000000 +0100
1049 +++ misc/build/xsltml_2.1.2/glayout.xsl 2008-03-07 21:36:34.000000000 +0100
1051 <?xml version='1.0' encoding="UTF-8"?>
1052 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
1053 - xmlns:m="http://www.w3.org/1998/Math/MathML"
1054 + xmlns:m="http://www.w3.org/1998/Math/MathML"
1055 + xmlns:oomath="http://www.w3.org/1998/Math/MathML"
1058 <!-- ====================================================================== -->
1059 -<!-- $Id: glayout.xsl,v 1.5 2003/06/10 12:24:04 shade33 Exp $
1060 +<!-- $Id: glayout.xsl 2755 2008-03-07 20:35:56Z hauma $
1061 This file is part of the XSLT MathML Library distribution.
1062 - See ./README or http://www.raleigh.ru/MathML/mmltex for
1063 + See ./README or http://xsltml.sf.net for
1064 copyright and other information -->
1065 <!-- ====================================================================== -->
1069 <xsl:template match="m:mfenced">
1071 - <xsl:when test="@open">
1072 - <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')='{'">
1073 + <xsl:when test="@oomath:open">
1074 + <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{'">
1075 <xsl:text>\left</xsl:text>
1077 - <xsl:if test="@open='{' or @open='}'">
1078 - <xsl:text>\</xsl:text>
1080 - <xsl:if test="translate(@open,'{}[]()|','{{{{{{{')!='{' and (translate(@close,'{}[]()|','{{{{{{{')='{' or not(@close))">
1081 + <xsl:if test="translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:close))">
1082 <xsl:text>\left.</xsl:text>
1084 - <xsl:value-of select="@open"/>
1086 + <xsl:call-template name="replaceEntities">
1087 + <xsl:with-param name="content" select="@oomath:open"/>
1088 + </xsl:call-template>
1090 <xsl:otherwise><xsl:text>\left(</xsl:text></xsl:otherwise>
1092 @@ -128,26 +128,30 @@
1096 - <xsl:when test="@close">
1097 - <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')='{'">
1098 + <xsl:when test="@oomath:close">
1099 + <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')='{'">
1100 <xsl:text>\right</xsl:text>
1102 - <xsl:if test="@close='{' or @close='}'">
1103 - <xsl:text>\</xsl:text>
1105 - <xsl:if test="translate(@close,'{}[]()|','{{{{{{{')!='{' and (translate(@open,'{}[]()|','{{{{{{{')='{' or not(@open))">
1106 + <xsl:if test="translate(@oomath:close,'{}[]()|∣','{{{{{{{{{{')!='{' and (translate(@oomath:open,'{}[]()|∣','{{{{{{{{{{')='{' or not(@oomath:open))">
1107 <xsl:text>\right.</xsl:text>
1109 - <xsl:value-of select="@close"/>
1110 + <xsl:call-template name="replaceEntities">
1111 + <xsl:with-param name="content" select="@oomath:close"/>
1112 + </xsl:call-template>
1114 <xsl:otherwise><xsl:text>\right)</xsl:text></xsl:otherwise>
1118 <xsl:template match="m:mphantom">
1119 - <xsl:text>\phantom{</xsl:text>
1120 - <xsl:apply-templates/>
1121 +<!-- Not supported by MediaWiki. -->
1123 + <xsl:text>\phantom{</xsl:text>
1125 + <xsl:apply-templates/>
1127 <xsl:text>}</xsl:text>
1131 <xsl:template match="m:menclose">
1132 @@ -193,15 +197,21 @@
1133 </xsl:call-template>
1134 <xsl:text>}{$</xsl:text>
1136 - <xsl:if test="@color[not(@mathcolor)] or @mathcolor">
1137 + <xsl:if test="@color or @mathcolor">
1138 + <xsl:variable name="color">
1140 + <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when>
1141 + <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when>
1144 <xsl:text>\textcolor[rgb]{</xsl:text>
1145 <xsl:call-template name="color">
1146 - <xsl:with-param name="color" select="@color|@mathcolor"/>
1147 + <xsl:with-param name="color" select="$color"/>
1148 </xsl:call-template>
1149 <xsl:text>}{</xsl:text>
1151 <xsl:apply-templates/>
1152 - <xsl:if test="@color[not(@mathcolor)] or @mathcolor">
1153 + <xsl:if test="@color or @mathcolor">
1154 <xsl:text>}</xsl:text>
1156 <xsl:if test="@background">
1157 --- misc/xsltml_2.1.2/mmltex.xsl 2009-03-27 08:11:02.000000000 +0100
1158 +++ misc/build/xsltml_2.1.2/mmltex.xsl 2008-03-07 21:36:34.000000000 +0100
1160 <xsl:output method="text" indent="no" encoding="UTF-8"/>
1162 <!-- ====================================================================== -->
1163 -<!-- $Id: mmltex.xsl,v 1.7 2003/06/10 12:24:04 shade33 Exp $
1164 +<!-- $Id: mmltex.xsl 2755 2008-03-07 20:35:56Z hauma $
1165 This file is part of the XSLT MathML Library distribution.
1166 - See ./README or http://www.raleigh.ru/MathML/mmltex for
1167 + See ./README or http://xsltml.sf.net for
1168 copyright and other information -->
1169 <!-- ====================================================================== -->
1171 --- misc/xsltml_2.1.2/scripts.xsl 2009-03-27 08:11:02.000000000 +0100
1172 +++ misc/build/xsltml_2.1.2/scripts.xsl 2008-03-07 21:36:34.000000000 +0100
1174 <?xml version='1.0' encoding="UTF-8"?>
1175 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
1176 - xmlns:m="http://www.w3.org/1998/Math/MathML"
1177 + xmlns:m="http://www.w3.org/1998/Math/MathML"
1178 + xmlns:oomath="http://www.w3.org/1998/Math/MathML"
1181 <!-- ====================================================================== -->
1182 -<!-- $Id: scripts.xsl,v 1.4 2003/06/10 12:24:04 shade33 Exp $
1183 +<!-- $Id: scripts.xsl 2755 2008-03-07 20:35:56Z hauma $
1184 This file is part of the XSLT MathML Library distribution.
1185 - See ./README or http://www.raleigh.ru/MathML/mmltex for
1186 + See ./README or http://xsltml.sf.net for
1187 copyright and other information -->
1188 <!-- ====================================================================== -->
1191 </xsl:call-template>
1192 <xsl:text>}</xsl:text>
1194 - <xsl:when test="$over='︷'"> <!-- OverBrace - over brace -->
1195 + <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace -->
1196 <xsl:text>\overbrace{</xsl:text>
1197 <xsl:call-template name="munder">
1198 <xsl:with-param name="base" select="$base"/>
1200 </xsl:call-template>
1201 <xsl:text>}</xsl:text>
1203 - <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace -->
1204 + <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace -->
1205 <xsl:text>\underbrace{</xsl:text>
1206 <xsl:call-template name="mover">
1207 <xsl:with-param name="base" select="$base"/>
1209 <xsl:apply-templates select="./*[1]"/>
1210 <xsl:text>}</xsl:text>
1212 - <xsl:when test="$over='︷'"> <!-- OverBrace - over brace -->
1213 + <xsl:when test="$over='︷' or $over=''"> <!-- OverBrace - over brace -->
1214 <xsl:text>\overbrace{</xsl:text>
1215 <xsl:apply-templates select="./*[1]"/>
1216 <xsl:text>}</xsl:text>
1217 @@ -192,10 +193,51 @@
1218 <xsl:text>\ddot{</xsl:text>
1219 <xsl:apply-templates select="./*[1]"/>
1220 <xsl:text>}</xsl:text>
1222 - <xsl:when test="$over='̂' or $over='^'"> <!-- Hat or circ - circumflex accent -->
1224 + <xsl:when test="$over='´'"> <!-- Acute accent "´" -->
1225 + <xsl:text>\acute{</xsl:text>
1226 + <xsl:apply-templates select="./*[1]"/>
1227 + <xsl:text>}</xsl:text>
1229 + <xsl:when test="$over='`'"> <!-- Grave accent "`" -->
1230 + <xsl:text>\grave{</xsl:text>
1231 + <xsl:apply-templates select="./*[1]"/>
1232 + <xsl:text>}</xsl:text>
1234 + <xsl:when test="$over='ˇ'"> <!-- Caron (Mandarin Chinese third tone) "ˇ" -->
1235 + <xsl:text>\check{</xsl:text>
1236 + <xsl:apply-templates select="./*[1]"/>
1237 + <xsl:text>}</xsl:text>
1239 + <xsl:when test="$over='˘'"> <!-- Breve accent "˘" -->
1240 + <xsl:text>\breve{</xsl:text>
1241 + <xsl:apply-templates select="./*[1]"/>
1242 + <xsl:text>}</xsl:text>
1244 + <xsl:when test="$over='˚'"> <!-- ring above "˚" -->
1245 + <xsl:text>\overset{\circ}{</xsl:text>
1246 + <xsl:apply-templates select="./*[1]"/>
1247 + <xsl:text>}</xsl:text>
1249 + <xsl:when test="$over='ˉ'"> <!-- modifier letter Macron (Mandarin Chinese first tone) "ˉ" -->
1250 + <xsl:text>\bar{</xsl:text>
1251 + <xsl:apply-templates select="./*[1]"/>
1252 + <xsl:text>}</xsl:text>
1254 + <xsl:when test="$over='¨'"> <!-- Diaeresis "¨" -->
1255 + <xsl:text>\ddot{</xsl:text>
1256 + <xsl:apply-templates select="./*[1]"/>
1257 + <xsl:text>}</xsl:text>
1259 + <xsl:when test="$over='⃗'"> <!-- Vector -->
1260 + <xsl:text>\vec{</xsl:text>
1261 + <xsl:apply-templates select="./*[1]"/>
1262 + <xsl:text>}</xsl:text>
1265 + <xsl:when test="$over='̂' or $over='^' or $over='ˆ'"> <!-- Hat or circ - circumflex accent -->
1267 - <xsl:when test="@accent='true'">
1268 + <xsl:when test="@oomath:accent='true'">
1269 <xsl:text>\widehat{</xsl:text>
1273 <xsl:apply-templates select="./*[1]"/>
1274 <xsl:text>}</xsl:text>
1276 - <xsl:when test="$under='︸'"> <!-- UnderBrace - under brace -->
1277 + <xsl:when test="$under='︸' or $under=''"> <!-- UnderBrace - under brace -->
1278 <xsl:text>\underbrace{</xsl:text>
1279 <xsl:apply-templates select="./*[1]"/>
1280 <xsl:text>}</xsl:text>
1281 --- misc/xsltml_2.1.2/tables.xsl 2009-03-27 08:11:02.000000000 +0100
1282 +++ misc/build/xsltml_2.1.2/tables.xsl 2008-03-07 21:36:34.000000000 +0100
1284 -<?xml version='1.0' encoding="UTF-8"?>
1285 -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
1286 - xmlns:m="http://www.w3.org/1998/Math/MathML"
1289 -<!-- ====================================================================== -->
1290 -<!-- $id: tables.xsl, 2002/17/05 Exp $
1291 - This file is part of the XSLT MathML Library distribution.
1292 - See ./README or http://www.raleigh.ru/MathML/mmltex for
1293 - copyright and other information -->
1294 -<!-- ====================================================================== -->
1296 -<xsl:template match="m:mtd[@columnspan]">
1297 - <xsl:text>\multicolumn{</xsl:text>
1298 - <xsl:value-of select="@columnspan"/>
1299 - <xsl:text>}{c}{</xsl:text>
1300 - <xsl:apply-templates/>
1301 - <xsl:text>}</xsl:text>
1302 - <xsl:if test="count(following-sibling::*)>0">
1303 - <xsl:text>& </xsl:text>
1308 -<xsl:template match="m:mtd">
1309 - <xsl:if test="@columnalign='right' or @columnalign='center'">
1310 - <xsl:text>\hfill </xsl:text>
1312 - <xsl:apply-templates/>
1313 - <xsl:if test="@columnalign='left' or @columnalign='center'">
1314 - <xsl:text>\hfill </xsl:text>
1316 - <xsl:if test="count(following-sibling::*)>0">
1317 -<!-- this test valid for Sablotron, another form - test="not(position()=last())".
1318 - Also for m:mtd[@columnspan] and m:mtr -->
1319 - <xsl:text>& </xsl:text>
1323 -<xsl:template match="m:mtr">
1324 - <xsl:apply-templates/>
1325 - <xsl:if test="count(following-sibling::*)>0">
1326 - <xsl:text>\\ </xsl:text>
1330 -<xsl:template match="m:mtable">
1331 - <xsl:text>\begin{array}{</xsl:text>
1332 - <xsl:if test="@frame='solid'">
1333 - <xsl:text>|</xsl:text>
1335 - <xsl:variable name="numbercols" select="count(./m:mtr[1]/m:mtd[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/>
1337 - <xsl:when test="@columnalign">
1338 - <xsl:variable name="colalign">
1339 - <xsl:call-template name="colalign">
1340 - <xsl:with-param name="colalign" select="@columnalign"/>
1341 - </xsl:call-template>
1344 - <xsl:when test="string-length($colalign) > $numbercols">
1345 - <xsl:value-of select="substring($colalign,1,$numbercols)"/>
1347 - <xsl:when test="string-length($colalign) < $numbercols">
1348 - <xsl:value-of select="$colalign"/>
1349 - <xsl:call-template name="generate-string">
1350 - <xsl:with-param name="text" select="substring($colalign,string-length($colalign))"/>
1351 - <xsl:with-param name="count" select="$numbercols - string-length($colalign)"/>
1352 - </xsl:call-template>
1355 - <xsl:value-of select="$colalign"/>
1360 - <xsl:call-template name="generate-string">
1361 - <xsl:with-param name="text" select="'c'"/>
1362 - <xsl:with-param name="count" select="$numbercols"/>
1363 - </xsl:call-template>
1366 - <xsl:if test="@frame='solid'">
1367 - <xsl:text>|</xsl:text>
1369 - <xsl:text>}</xsl:text>
1370 - <xsl:if test="@frame='solid'">
1371 - <xsl:text>\hline </xsl:text>
1373 - <xsl:apply-templates/>
1374 - <xsl:if test="@frame='solid'">
1375 - <xsl:text>\\ \hline</xsl:text>
1377 - <xsl:text>\end{array}</xsl:text>
1380 -<xsl:template name="colalign">
1381 - <xsl:param name="colalign"/>
1383 - <xsl:when test="contains($colalign,' ')">
1384 - <xsl:value-of select="substring($colalign,1,1)"/>
1385 - <xsl:call-template name="colalign">
1386 - <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/>
1387 - </xsl:call-template>
1390 - <xsl:value-of select="substring($colalign,1,1)"/>
1395 -<xsl:template name="generate-string">
1396 -<!-- template from XSLT Standard Library v1.1 -->
1397 - <xsl:param name="text"/>
1398 - <xsl:param name="count"/>
1401 - <xsl:when test="string-length($text) = 0 or $count <= 0"/>
1404 - <xsl:value-of select="$text"/>
1405 - <xsl:call-template name="generate-string">
1406 - <xsl:with-param name="text" select="$text"/>
1407 - <xsl:with-param name="count" select="$count - 1"/>
1408 - </xsl:call-template>
1414 \ No newline at end of file
1415 +<?xml version='1.0' encoding="UTF-8"?>
1416 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
1417 + xmlns:m="http://www.w3.org/1998/Math/MathML"
1420 +<!-- ====================================================================== -->
1421 +<!-- $Id: tables.xsl 2755 2008-03-07 20:35:56Z hauma $
1422 + This file is part of the XSLT MathML Library distribution.
1423 + See ./README or http://xsltml.sf.net for
1424 + copyright and other information -->
1425 +<!-- ====================================================================== -->
1427 +<xsl:template match="m:mtd[@columnspan]">
1428 + <xsl:text>\multicolumn{</xsl:text>
1429 + <xsl:value-of select="@columnspan"/>
1430 + <xsl:text>}{c}{</xsl:text>
1431 + <xsl:apply-templates/>
1432 + <xsl:text>}</xsl:text>
1433 + <xsl:if test="count(following-sibling::*)>0">
1434 + <xsl:text>& </xsl:text>
1439 +<xsl:template match="m:mtd">
1440 + <xsl:if test="@columnalign='right' or @columnalign='center'">
1441 + <xsl:text>\hfill </xsl:text>
1443 + <xsl:apply-templates/>
1444 + <xsl:if test="@columnalign='left' or @columnalign='center'">
1445 + <xsl:text>\hfill </xsl:text>
1449 +<xsl:template match="m:mtr">
1450 + <xsl:for-each select="*">
1451 + <xsl:apply-templates select="current()"/>
1452 + <xsl:if test="not(position()=last())">
1453 + <xsl:text>& </xsl:text>
1456 + <xsl:if test="not(position()=last())">
1457 + <xsl:text>\\ </xsl:text>
1458 + <xsl:if test="../@rowlines">
1459 + <xsl:variable name="line">
1460 + <xsl:call-template name="getToken">
1461 + <xsl:with-param name="text" select="../@rowlines"/>
1462 + <xsl:with-param name="position" select="position()"/>
1463 + </xsl:call-template>
1465 + <xsl:if test="$line='solid'">
1466 + <xsl:text>\hline </xsl:text>
1472 +<xsl:template match="m:mtable">
1473 + <xsl:text>\begin{array}{</xsl:text>
1474 + <xsl:if test="@frame='solid'">
1475 + <xsl:text>|</xsl:text>
1477 + <xsl:variable name="numbercols" select="count(./m:mtr[1]/*[not(@columnspan)])+sum(./m:mtr[1]/m:mtd/@columnspan)"/>
1479 + <xsl:when test="@columnalign and @columnlines">
1480 + <xsl:call-template name="generateAlignString">
1481 + <xsl:with-param name="columnalignstring" select="@columnalign"/>
1482 + <xsl:with-param name="columnlinestring" select="@columnlines"/>
1483 + <xsl:with-param name="count" select="$numbercols"/>
1484 + </xsl:call-template>
1486 + <xsl:when test="@columnlines">
1487 + <xsl:call-template name="generateAlignString">
1488 + <xsl:with-param name="columnlinestring" select="@columnlines"/>
1489 + <xsl:with-param name="count" select="$numbercols"/>
1490 + </xsl:call-template>
1492 + <xsl:when test="@columnalign">
1493 + <xsl:call-template name="generateAlignString">
1494 + <xsl:with-param name="columnalignstring" select="@columnalign"/>
1495 + <xsl:with-param name="count" select="$numbercols"/>
1496 + </xsl:call-template>
1499 + <xsl:call-template name="generateAlignString">
1500 + <xsl:with-param name="count" select="$numbercols"/>
1501 + </xsl:call-template>
1504 + <xsl:if test="@frame='solid'">
1505 + <xsl:text>|</xsl:text>
1507 + <xsl:text>}</xsl:text>
1508 + <xsl:if test="@frame='solid'">
1509 + <xsl:text>\hline </xsl:text>
1511 + <xsl:apply-templates/>
1512 + <xsl:if test="@frame='solid'">
1513 + <xsl:text>\\ \hline </xsl:text>
1515 + <xsl:text>\end{array}</xsl:text>
1518 +<xsl:template name="colalign">
1519 + <xsl:param name="colalign"/>
1521 + <xsl:when test="contains($colalign,' ')">
1522 + <xsl:value-of select="substring($colalign,1,1)"/>
1523 + <xsl:call-template name="colalign">
1524 + <xsl:with-param name="colalign" select="substring-after($colalign,' ')"/>
1525 + </xsl:call-template>
1528 + <xsl:value-of select="substring($colalign,1,1)"/>
1533 +<xsl:template name="generate-string">
1534 +<!-- template from XSLT Standard Library v1.1 -->
1535 + <xsl:param name="text"/>
1536 + <xsl:param name="count"/>
1539 + <xsl:when test="string-length($text) = 0 or $count <= 0"/>
1542 + <xsl:value-of select="$text"/>
1543 + <xsl:call-template name="generate-string">
1544 + <xsl:with-param name="text" select="$text"/>
1545 + <xsl:with-param name="count" select="$count - 1"/>
1546 + </xsl:call-template>
1551 +<xsl:template name="generateAlignString">
1552 + <xsl:param name="columnalignstring">center</xsl:param>
1553 + <xsl:param name="columnlinestring"/>
1554 + <xsl:param name="count"/>
1556 + <xsl:when test="$count <= 0"/>
1558 + <xsl:variable name="columnalign">
1559 + <xsl:call-template name="getToken">
1560 + <xsl:with-param name="text" select="$columnalignstring"/>
1561 + <xsl:with-param name="position" select="1"/>
1562 + </xsl:call-template>
1564 + <xsl:variable name="columnline">
1565 + <xsl:call-template name="getToken">
1566 + <xsl:with-param name="text" select="$columnlinestring"/>
1567 + <xsl:with-param name="position" select="1"/>
1568 + </xsl:call-template>
1570 + <xsl:value-of select="substring($columnalign,1,1)"/>
1571 + <xsl:if test="$columnline='solid' and $count>1"><xsl:text>|</xsl:text></xsl:if>
1572 + <xsl:variable name="leftPartOrLastTokenA">
1574 + <xsl:when test="substring-after($columnalignstring,' ')">
1575 + <xsl:value-of select="substring-after($columnalignstring,' ')"/>
1578 + <xsl:value-of select="$columnalignstring"/>
1582 + <xsl:variable name="leftPartOrLastTokenB">
1584 + <xsl:when test="substring-after($columnlinestring,' ')">
1585 + <xsl:value-of select="substring-after($columnlinestring,' ')"/>
1588 + <xsl:value-of select="$columnlinestring"/>
1592 + <xsl:call-template name="generateAlignString">
1593 + <xsl:with-param name="columnalignstring" select="$leftPartOrLastTokenA"/>
1594 + <xsl:with-param name="columnlinestring" select="$leftPartOrLastTokenB"/>
1595 + <xsl:with-param name="count" select="$count - 1"/>
1596 + </xsl:call-template>
1602 +<xsl:template name="getToken">
1603 + <xsl:param name="text"/>
1604 + <xsl:param name="char" select="string(' ')"/>
1605 + <xsl:param name="position"/>
1607 + <xsl:when test="$position = 1 or not(contains($text ,$char))">
1609 + <xsl:when test="contains($text ,$char)">
1610 + <xsl:value-of select="substring-before($text,$char)"/>
1613 + <xsl:value-of select="$text"/>
1617 + <xsl:when test="contains($text ,$char) and $position > 1">
1618 + <xsl:variable name="last" select="substring-after($text,$char)"/>
1620 + <xsl:when test="$position > 1">
1621 + <xsl:call-template name="getToken">
1622 + <xsl:with-param name="text" select="$last"/>
1623 + <xsl:with-param name="char" select="$char"/>
1624 + <xsl:with-param name="position" select="$position - 1"/>
1625 + </xsl:call-template>
1633 \ No newline at end of file
1634 --- misc/xsltml_2.1.2/tokens.xsl 2009-03-27 08:11:02.000000000 +0100
1635 +++ misc/build/xsltml_2.1.2/tokens.xsl 2008-03-07 21:36:34.000000000 +0100
1637 <?xml version='1.0' encoding="UTF-8"?>
1638 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
1639 - xmlns:m="http://www.w3.org/1998/Math/MathML"
1640 + xmlns:m="http://www.w3.org/1998/Math/MathML"
1641 + xmlns:oomath="http://www.w3.org/1998/Math/MathML"
1644 <!-- ====================================================================== -->
1645 -<!-- $Id: tokens.xsl,v 1.7 2003/06/10 12:24:05 shade33 Exp $
1646 +<!-- $Id: tokens.xsl 2755 2008-03-07 20:35:56Z hauma $
1647 This file is part of the XSLT MathML Library distribution.
1648 - See ./README or http://www.raleigh.ru/MathML/mmltex for
1649 + See ./README or http://xsltml.sf.net for
1650 copyright and other information -->
1651 <!-- ====================================================================== -->
1656 <xsl:template name="mi">
1657 + <xsl:variable name="op">
1658 + <xsl:value-of select="concat(' ',normalize-space(.),' ')"/>
1661 + <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)">
1662 + <xsl:text>\</xsl:text>
1663 + <xsl:value-of select="normalize-space(.)"/>
1664 + <xsl:text> </xsl:text>
1666 <xsl:when test="string-length(normalize-space(.))>1 and not(@mathvariant)">
1667 <xsl:text>\mathrm{</xsl:text>
1668 <xsl:apply-templates/>
1670 <xsl:template name="mo">
1671 <xsl:if test="translate(normalize-space(.),'()[]}|','{{{{{{')='{'">
1673 - <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(.),'()[]}|','{{{{{{')='{']">
1674 + <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(.),'()[]}|','{{{{{{')='{']">
1675 <xsl:text>\left</xsl:text>
1677 - <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(.),'()[]}|','{{{{{{')='{']">
1678 + <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(.),'()[]}|','{{{{{{')='{']">
1679 <xsl:text>\right</xsl:text>
1683 <xsl:call-template name="replaceMtextEntities">
1684 <xsl:with-param name="content" select="normalize-space(.)"/>
1685 </xsl:call-template>
1687 - <xsl:text>\text{</xsl:text>
1688 - <xsl:value-of select="$content"/>
1689 - <xsl:text>}</xsl:text>
1691 + <!-- Empty text content breaks the MediaWiki parser. -->
1692 + <xsl:if test="string-length($content) > 0">
1693 + <xsl:text>\text{</xsl:text>
1694 + <xsl:value-of select="$content"/>
1695 + <xsl:text>}</xsl:text>
1699 <xsl:template match="m:mspace">
1700 @@ -111,10 +123,16 @@
1701 </xsl:call-template>
1702 <xsl:text>}{$</xsl:text>
1704 - <xsl:if test="@color[not(@mathcolor)] or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 -->
1705 + <xsl:if test="@color or @mathcolor"> <!-- Note: @color is deprecated in MathML 2.0 -->
1706 + <xsl:variable name="color">
1708 + <xsl:when test="@mathcolor"><xsl:value-of select="@mathcolor"/></xsl:when>
1709 + <xsl:when test="@color"><xsl:value-of select="@color"/></xsl:when>
1712 <xsl:text>\textcolor[rgb]{</xsl:text>
1713 <xsl:call-template name="color">
1714 - <xsl:with-param name="color" select="@color|@mathcolor"/>
1715 + <xsl:with-param name="color" select="$color"/>
1716 </xsl:call-template>
1717 <xsl:text>}{</xsl:text>