Go to file
Marcel Fabian Krüger 3decacd033 Apply some protection
2021-06-22 18:10:02 +02:00
.gitignore Rename and rewrite pdfTeX stuff 2021-05-31 12:52:44 +02:00
build.lua luamml.sty is now generated 2021-06-22 18:10:02 +02:00
luamml-amsmath.lua Support aligned 2021-06-18 23:03:39 +02:00
luamml-array.lua Opportunistic inclusion of MathML in text content 2021-05-03 21:57:58 +02:00
luamml-convert.lua Avoid empty mtext before aligned 2021-06-18 23:15:12 +02:00
luamml-data-combining.lua Reorganize and add missing file 2021-04-23 02:59:35 +02:00
luamml-data-stretchy.lua Reorganize and add missing file 2021-04-23 02:59:35 +02:00
luamml-demo.sty Use official interfaces instead of internals 2021-06-17 13:29:32 +02:00
luamml-kernel.lua Preserve core for user provided nodes 2021-05-31 01:54:21 +02:00
luamml-legacy-mappings.lua Reproducible output 2021-04-26 16:01:57 +02:00
luamml-lr.lua Preserve core for user provided nodes 2021-05-31 01:54:21 +02:00
luamml-patches-amsmath.sty Avoid empty mtext before aligned 2021-06-18 23:15:12 +02:00
luamml-patches-array.sty Don't break tabular when array is loaded 2021-06-22 16:59:38 +02:00
luamml-patches-kernel.sty Preserve core for user provided nodes 2021-05-31 01:54:21 +02:00
luamml-pdf.sty Support pdfMML annotations in LuaTeX 2021-06-16 15:21:19 +02:00
luamml-structelemwriter.lua Forgot interction of metatable 2021-05-27 07:35:12 +02:00
luamml-table.lua Preserve core for user provided nodes 2021-05-31 01:54:21 +02:00
luamml-tex-annotate.lua Support pdfMML annotations in LuaTeX 2021-06-16 15:21:19 +02:00
luamml-tex.lua Don't try to tag \eqno elements 2021-06-22 12:56:04 +02:00
luamml-xmlwriter.lua Enable indentation / newlines in MathML writer 2021-05-18 21:01:48 +02:00
luamml.dtx Apply some protection 2021-06-22 18:10:02 +02:00
pdfmml-emulate-node.lua Rename and rewrite pdfTeX stuff 2021-05-31 12:52:44 +02:00
pdfmml-logreader.lua pdfmml \showstream support 2021-06-06 06:23:50 +02:00
pdfmml-showlists.lua pdfmml \showstream support 2021-06-06 06:23:50 +02:00
pdfmml.lua Implement pdfTeX auto node counting 2021-06-03 18:12:56 +02:00
README.md Update README 2021-06-01 23:36:41 +02:00
test_pdf.tex Support pdfMML annotations in LuaTeX 2021-06-16 15:21:19 +02:00
test_structelem.tex Add interface for writing MathML into a file 2021-05-18 19:39:30 +02:00
test_tex.tex Use AF tagging in example 2021-06-17 13:29:16 +02:00

Automated LuaLaTeX math to MathML conversion

Highly experimental! At this point all interfaces may change without prior warning and many features aren't implemented yet. It is not ready for anything beyond simple experiments.

This is an attempt to implement automatic conversion of LuaLaTeX inline and display math expressions into MathML code to aid with tagging. It works best with unicode-math, but it can also be used with traditional math fonts if mappings to Unicode are provided.

Installation

Run l3build install to install luamml into your local texmf tree.

Demo

Run lualatex test_tex to see all equations from our example file converted into MathML.

To test it on your own files, add \usepackage{luamml} and \tracingmathml=2 to your preamble. Also see a tagpdf experiment using this to tag PDF formulas.

If you are very brave you can also try running pdflatex test_pdf and afterwards run ./pdfmml.lua test_pdf.lua to get pdflatex formulas converted.