Open phst opened 13 years ago
That's probably a sensible idea (with perhaps an option not to override pre-existing names). However, it requires a big list of "allowed" redefinitions. If I had that lying around then I would implement this immediately; as it stands I'll plan to do it some time in the future.
Thanks for the suggestion.
I've created a small script to auto-generate such a list (see http://github.com/phst/unimath-extras), maybe you find this helpful as a first approach.
At the moment the math table is processed
\AtBeginDocument
and uses the primitives\let
and\def
to create/overwrite mathchardef tokens. As it contains lots of generic names, perhaps you can think about a method to make it play more nicely with others. I think that all mathchardefs/macros fromfontmath.ltx
/amsmath
/amssymb
/mathtools
can safely be overwritten (after all, that's one of the puropses ofunicode-math
), but other "unexpected" names should at least cause warnings when overwritten.