Re: Update to unicode.xml

Le 22/06/2014 19:31, David Carlisle a écrit :
>
> If you don't follow updates to the unicode.xml file used as the source 
> for entity definitions in mathml and html
> skip this message:-)
>
> Christian's recent  questions about unicode.xml (and some recent bug 
> reports about unicode-math latex package)
> prompted me to look again at the tex mappings in unicode.xml.
>
> The existing ones were mostly speculative assignments dating from the 
> 1990's some years before the bulk of
> math characters  were added to Unicode.
>
> I have extended the schema to allow multiple <latex> and <mathlatex> 
> elements so the file can track different mappings,
> and added a set attribute do distinguish these. So that now for 
> example there are entries such as
>
>          <mathlatex set="unicode-math">\rightarrow</mathlatex>
>
> for U+"2192" .
>
> This  mathlatex set="unicode-math" set is mechanically extracted from 
> the source of the unicode-math package
> (the principle method for using unicode math fonts with xelatex and 
> lualatex)
> https://github.com/wspr/unicode-math/blob/master/unicode-math-table.tex
>
> So, while I'm not sure I like all the mappings here they correspond to 
> running TeX code which is a definite improvement
> over the previous ones.
>
> Frédéric Wang reported some problems with the TeX mappings a while 
> back I haven't fixed those yet, I may just remove them
> in favour of this new set, or perhaps this set and a set derived from 
> a package for classic TeX  (amssymb or stix-latex)
> comments welcome on the best plan of action here....
As I recall, the last time I checked unicode.xml, there were several 
sets with different mappings (AMS, IIEE etc) and some of them clearly 
had mistakes, so that was a bit messy. Personally, I don't mind dropping 
the old TeX mappings as long as a clear list of TeX mapping for math 
char commands is provided, on which one can rely on.

-- 
Frédéric Wang
maths-informatique-jeux.com/blog/frederic

Received on Wednesday, 2 July 2014 15:22:42 UTC