Sort tex2uni data in mathtext#26193
Conversation
|
Sure this can wait for merging. I did use a script, I will update the code with the comment. |
|
I think that this can be updated now. |
| 'triangle' : 9651, | ||
| 'iiiint' : 10764, | ||
| 'amalg' : 10815, | ||
| 'merge' : 10837, |
There was a problem hiding this comment.
There is one fewer line in the new code, is something missing? (perhaps one of the things added by a recent PR?)
There was a problem hiding this comment.
Well spotted! I think that there is a duplicate in the above list.
In current main len(tex2uni) is 632 which is 1107-476+1.
There was a problem hiding this comment.
And it wasn't that hard to find...
'nsqsubseteq' : 8930,
'nsqsupseteq' : 8931,
There was a problem hiding this comment.
...but isn't it different: nsqSUBseteq and nsqSUPseteq(?)
There was a problem hiding this comment.
I think this is the duplicate entry in main:
matplotlib/lib/matplotlib/_mathtext_data.py
Line 680 in 56732ff
matplotlib/lib/matplotlib/_mathtext_data.py
Line 1098 in 56732ff
There was a problem hiding this comment.
Yeah, you right. I actually read it a few times...
…193-on-v3.8.x Backport PR #26193 on branch v3.8.x (Sort tex2uni data in mathtext)
PR summary
Fixes #26029
Entries are converted to hex and the list is sorted on the LaTeX-strings
PR checklist