You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marcel Fabian Krüger 0147f41237 Add README 1 year ago
README.md Add README 1 year ago
build.lua Don't install build.lua 1 year ago
luamml-amsmath.lua Simplify internal interface 1 year ago
luamml-array.lua Opportunistic inclusion of MathML in text content 1 year ago
luamml-convert.lua Adjust to_text interface 1 year ago
luamml-data-combining.lua Reorganize and add missing file 1 year ago
luamml-data-stretchy.lua Reorganize and add missing file 1 year ago
luamml-legacy-mappings.lua Reproducible output 1 year ago
luamml-lr.lua Opportunistic inclusion of MathML in text content 1 year ago
luamml-patches-amsmath.sty Extract table functionality from amsmath module 1 year ago
luamml-patches-array.sty array improvements 1 year ago
luamml-table.lua Initial support for text in array 1 year ago
luamml-tex.lua Always store MathML table 1 year ago
luamml-xmlwriter.lua Reproducible output 1 year ago
luamml.sty Matrix and array support (requires array package) 1 year ago
test_tex.tex Add README 1 year ago

README.md

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.