Skip to content

update math package status to reflect unicode-math/luamml compatibility #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

mbertucci47
Copy link
Collaborator

Following the discussion in #860, this updates the status for several math packages to reflect compatibility with unicode-math and luamml. This only covers some packages because I want to make sure this is what was in mind before finishing the rest.

Basically any package that is incompatible with unicode-math or has no luamml support (which is most, unless they use basic constructs) is listed as partially compatible with a note.

The phrase "Use of math tagging currently requires support from external tools" was removed from those entries; I'll remove the rest in another PR once this one is merged.

Where it made sense, I added \UseName{sys_if_engine_opentype:T}{\usepackage{unicode-math}} to test files so that #858 doesn't error on all pdftex tests.

For the changed test files, I also used tagging=on instead of testphase={...}. I'll do a mass conversion in another PR because otherwise the relevant diffs would be difficult to find.

Copy link
Member

@FrankMittelbach FrankMittelbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me. @davidcarlisle ?

Concerning sys-if-engine_opentype:T Didn't we plan or even have a CamelCase name for that as well?

@davidcarlisle davidcarlisle merged commit 95d67e0 into latex3:main May 29, 2025
1 check passed
@mbertucci47 mbertucci47 deleted the math-updates branch May 29, 2025 12:38
@mbertucci47
Copy link
Collaborator Author

@FrankMittelbach I'm not aware of any 2e name for \sys_if_engine_opentype:TF. iftex has \iftutex but this seemed easier than loading another package in every test file

@davidcarlisle
Copy link
Member

@FrankMittelbach I'm not aware of any 2e name for \sys_if_engine_opentype:TF. iftex has \iftutex but this seemed easier than loading another package in every test file

yes I think it's fine here, and anyway being very regular we can always change if we do add a test in the format. I'd have probably used \ifx\Umathchar\undefined\else ... out of habit but technically this is probably better anyway (as it avoids loading the whole package within the scope of the ifx)

@FrankMittelbach
Copy link
Member

@FrankMittelbach I'm not aware of any 2e name for \sys_if_engine_opentype:TF. iftex has \iftutex but this seemed easier than loading another package in every test file

absolutely, I was only thinking we had some discussions to include something (to avoid keeping @davidcarlisle in the habit :-) ) but perhaps I misremembered and it was only for the iftex package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants