
Thanks Ulrike, This is helpful (and sad) information. Would it be possible to have ConTeXt produce two documents, one that shows the typeset formula as usual, and a second one that shows instead of the formula the text that Mikael’s example shows as a note? Then screen-reading the second output should be acceptable, at least as far as math is concerned? Thanks, Matthias
On Apr 11, 2025, at 6:53 AM, Ulrike Fischer
wrote: Am Thu, 10 Apr 2025 15:02:53 -0400 schrieb Matthias Weber:
Thank you Mikael,
What I would like to to is to have what \placenotes[mathnote] produces added to the pdf as a tag so that a screen reader would be able to read the math.
The only reader that can currently make use of MathML embedded as associated file is Foxit together with a beta version of NVDA and a current MathCat. See https://latex3.github.io/tagging-project/documentation/wtpdf/fulldoc for some discussions.
To find and use the associated MathML file Foxit requires that it is attached to a Formula element in the PDF 2.0 namespace: https://github.com/foxitsoftware/PDF_UA-2.
context attaches the MathML to a `math` element declared in a context specific namespace and then rolemapped (like all other structure elements) to the NonStruct structure element (which as the name implies has no semantic meaning). This means that this MathML is not seen by any reader and useless. If some math is read then simply in the amount reader can extract math from untagged PDFs.
-- Ulrike Fischer http://www.troubleshooting-tex.de/
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________