AmerMathSoc / texml

A repository for texml development
9 stars 2 forks source link

calrsfs and mathrsfs packages: `\mathscr` vs. `\mathcal` #180

Closed davidmjones closed 7 months ago

davidmjones commented 1 year ago

Currently I'm mapping \mathscr and \mathrsfs to \mathcal, but I think they should both be \mathscr. This could be a problem if an author is using \mathcal and \mathscr for contrast instead of just using \mathsrc instead of \mathcal. I need to investigate to see how many papers this affects.

I should also review eucal.pm.

pkra commented 1 year ago

mathscr works with MathJax out of the box, https://github.com/mathjax/MathJax-src/blob/8565f9da973238e4c9571a86a4bcb281b1d98d9b/ts/input/tex/base/BaseMappings.ts#L423

davidmjones commented 1 year ago

mathscr works with MathJax out of the box,

Yes, I know. That's not the issue.

davidmjones commented 7 months ago

@pkra It's hard to tell how many papers (if any) are affected by this, because \mathscr was defined and redefined in too many places. I think texml is now handling it consistently and correctly. The next time we regenerate everything, we might see some occurrences of \mathcal change to \mathscr, but this will be a bug fix.