-
Notifications
You must be signed in to change notification settings - Fork 9
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
Textual/TeX representations of Math Nodes #876
Comments
Yes, this seems the most appropriate. And would not require any schema changes: in the encoda/src/codecs/jats/index.ts Lines 2146 to 2171 in 8dc58e3
So this issue would just require us to always encode both a |
Following up from #872
I think there are different representations to consider. In many workflows the MathML comes from TeX. This might be worth keeping around as the final rendering might happen with KaTeX/MathJax from the TeX (even though they might also use/create MathML).
LaTeXML includes alttext as an attribute with the original TeX like this:
Pandoc creates Jats-XML and includes a separate tex-math element:
In the JATS tag browser
alt-text
is described like this:https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/alt-text.html
Maybe it's a possible approach for Stencila to include both representations as in the Pandoc output?
While TeX is probably actually quite readable for many people i guess
alt-text
is probably not fully the right place.In general i think there is also a need for markup free representations of elements with math, e.g. in titles or abstracts which are used on the web where math rendering is not done.
The text was updated successfully, but these errors were encountered: