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 2 years ago
README.md Add README 2 years ago
build.lua Don't install build.lua 2 years ago
luamml-amsmath.lua Simplify internal interface 2 years ago
luamml-array.lua Opportunistic inclusion of MathML in text content 2 years ago
luamml-convert.lua Adjust to_text interface 2 years ago
luamml-data-combining.lua Reorganize and add missing file 2 years ago
luamml-data-stretchy.lua Reorganize and add missing file 2 years ago
luamml-legacy-mappings.lua Reproducible output 2 years ago
luamml-lr.lua Opportunistic inclusion of MathML in text content 2 years ago
luamml-patches-amsmath.sty Extract table functionality from amsmath module 2 years ago
luamml-patches-array.sty array improvements 2 years ago
luamml-table.lua Initial support for text in array 2 years ago
luamml-tex.lua Always store MathML table 2 years ago
luamml-xmlwriter.lua Reproducible output 2 years ago
luamml.sty Matrix and array support (requires array package) 2 years ago
test_tex.tex Add README 2 years 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.