-
Notifications
You must be signed in to change notification settings - Fork 17
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
mhchem package may be incompatible #793
Comments
The "Tag extraction failed" warning is an error in the luamml code that will be corrected in the next release (it already works in a branch). But beside this: a chemical formula should naturally not be tagged as math (and the mathml extraction looks odd anyway). I have no idea if some sensible "language" exist here. Probably the best currently would be to tag that as a Formula with an alt-text created from the source.
|
@u-fischer there is ChemML but as support for that isn't that common, using MathML for chemistry isn't unreasonable. MathJax has support for the there is some experimental support for https://w3c.github.io/mathml-docs/intent-core-properties/#prop-chemical-equation
|
@davidcarlisle interesting, so perhaps we can more or less support that through math (but we will have to fight against the spec which says that non-math should use Formula and Alt ;-) ). But currently the mathml output is imho unusable as the mhchem commands do not contain the needed luamml support. |
yes sure it's work in progress, but I thought this issue was as good as anywhere to post some MathML as a marker for possible extended support later, |
Running lualatex-dev, LaTeX2e <2025-06-01> pre-release-1 (develop 2025-1-15 branch).
This gives the following warnings
The text was updated successfully, but these errors were encountered: