When using the range option to take the minus sign from another font, the replacement does not work when entering the minus sign as “-” (U+002D HYPHEN-MINUS) in math mode unless \minus is explicitly specified in control sequence form. Using "002D and/or "2212 alone does not work.
Check/indicate
[x] Relevant for XeTeX
[x] Relevant for LuaTeX
[x] Issue tracker has been searched for similar issues?
Description
When using the
range
option to take the minus sign from another font, the replacement does not work when entering the minus sign as “-” (U+002D HYPHEN-MINUS) in math mode unless\minus
is explicitly specified in control sequence form. Using"002D
and/or"2212
alone does not work.Check/indicate
Minimal example demonstrating the issue
Further details
It’s a bit hard to see the difference, but here is the output:
Incorrect (1st version):![Incorrect output](https://user-images.githubusercontent.com/1915511/36261270-2511b5ae-1264-11e8-82ec-f3c2c853c731.png)
Correct (2nd version):![Correct output](https://user-images.githubusercontent.com/1915511/36261271-25870d36-1264-11e8-9f10-6485ceb1b432.png)
This is in
unicode-math
v0.8l, but it was working inunicode-math
v0.8f.