MMT can serve as a LaTeX interpreter that turns LaTeX into MMT data structures for informal knowledge.
It consists if the following steps:
- sTeX is used as a LaTeX style to mix formal with informal content
- LaTeXML is used to process the LaTeX sources
- the sTeX extension to MMT (see the project
src/mmt-stex) interprets the LaTeXML output as MMT content
- any MMT algorithms (e.g., HTML generation) are called on the MMT content
Much of this workflow in Mihnea Iancu’s PhD thesis. But it is already used heavily in Michael Kohlhase’s KWARC group for producing lecture materials.
Only partial documentation exists at this point: