Math Tagging Examples #771
davidcarlisle
started this conversation in
General
Replies: 1 comment
-
Many thanks! A very useful post, but still (naturally) with very few examples. When we have a good spec (or even any suitably specific information!) covering what further types or instances of examples need to be added here, then people will be able (reasonably easily) to use these files as examples and guides for how to construct further such example files, as required. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The collection of WTPDF / PDF/UA-2 Examples has been reprocessed with the latest LaTeX code and the PDFs folder on google drive updated.
Here we highlight the examples showing Math tagging.
Most of the files are in three versions:
Math Examples are shown in three forms
file-tagged.pdf (or in some cases just file.pdf)
This tagging uses an externally provided MathML conversion and tags each Formula with Alt (containing the LaTeX source), an Associated file with TeX source and an associated File with the supplied MathML.
file-luamml.pdf
This version tags each formula with MathML directly generated by LaTeX (using the new
luamml
package).file-se.pdf
This version uses MathML namespace Structure Elements generated by LaTeX (using the
luamml
package) rather than an associated file.Two small examples are available that show most of the features.
example-1
A basic example, but note the Square Root which requires the √ character to be marked as an artifact
when using Structure Elements to avoid it being doubled as it is also generated by the
/mroot
element.TeX source (github)
Supplied MathML AF: PDF, ngPDF
luamml MathML AF: PDF, ngPDF
luamml MathML Structure Element: PDF, ngPDF
nested-1
Example showing some more complicated uses with nested math constructs and linking.
TeX source (github)
Supplied MathML AF: PDF, ngPDF
luamml MathML AF: PDF, ngPDF
luamml MathML Structure Element: PDF, ngPDF
Several more (bigger) examples, are available in the PDFs folder on google drive.
You can use ngPDF to see the tagging structure and derivation to HTML.
The tag structure is also shown by some PDF readers, notably Acrobat Pro and PDF-XChange.
With a Beta of NVDA including the MathCat Math plugin, these documents may be read
one can use Acrobat (Pro or Reader) to read the files using MathML structure elements,
one can use Foxit reader to read the examples using MathML Associated Files.
We expect the new NVDA to become available early next year and by then
or soon after hopefully more PDF readers will support both types of
MathML tagging within PDF as mandated by the PDF 2.0 standard.
Beta Was this translation helpful? Give feedback.
All reactions