@@ -179,7 +179,7 @@ d:hexs(@c)
179
179
180
180
<xsl : variable name =" umt" >
181
181
<umd >
182
- <xsl : for-each select =" tokenize(unparsed-text('https://raw.githubusercontent.com/wspr /unicode-math/master/unicode-math-table.tex'),
182
+ <xsl : for-each select =" tokenize(unparsed-text('https://raw.githubusercontent.com/latex3 /unicode-math/master/unicode-math-table.tex'),
183
183
'[ ]+')[contains(.,'UnicodeMathSymbol')]" >
184
184
<xsl : variable name =" id" select =" replace(.,'.UnicodeMathSymbol\{" ([0-9A-F]+)\}.*','$1')" />
185
185
<character id =" U{if(string-length($id)=4) then '0' else ''}{$id}" >
@@ -200,13 +200,14 @@ d:hexs(@c)
200
200
<charlist >
201
201
<xsl : for-each select =" $uc/unicode/charlist/character" >
202
202
<character >
203
- <xsl : copy-of select =" @*,unicodedata,afii,latex,mathlatex[not(@set='unicode-math')]" />
203
+ <xsl : variable name =" initial" select =" unicodedata,combref,noncombref,afii,latex,varlatex,mathlatex[not(@set='unicode-math')]" />
204
+ <xsl : copy-of select =" @*,$initial" />
204
205
<xsl : if test =" key('char',@id,$umt)" >
205
206
<mathlatex set =" unicode-math" >
206
- <xsl : value-of select =" key('char',@id,$umt)" />
207
+ <xsl : value-of select =" key('char',@id,$umt)[1] " />
207
208
</mathlatex >
208
209
</xsl : if >
209
- <xsl : copy-of select =" * except (unicodedata,afii,latex ,mathlatex)" />
210
+ <xsl : copy-of select =" * except ($initial ,mathlatex)" />
210
211
</character >
211
212
</xsl : for-each >
212
213
</charlist >
0 commit comments