Towards Semantic Markup of Mathematical Documents via User Interaction
<|reference_start|>Towards Semantic Markup of Mathematical Documents via User Interaction: Mathematical documents written in LaTeX often contain ambiguities. We can resolve some of them via semantic markup using, e.g., sTeX, which also has other potential benefits, such as interoperability with computer algebra systems, proof systems, and increased accessibility. However, semantic markup is more involved than "regular" typesetting and presents a challenge for authors of mathematical documents. We aim to smooth out the transition from plain LaTeX to semantic markup by developing semi-automatic tools for authors. In this paper we present an approach to semantic markup of formulas by (semi-)automatically generating grammars from existing sTeX macro definitions and parsing mathematical formulas with them. We also present a GUI-based tool for the disambiguation of parse results and showcase its functionality and potential using a grammar for parsing untyped $\lambda$-terms.<|reference_end|>
@article{vrečar2024towards,
    title={Towards Semantic Markup of Mathematical Documents via User Interaction},
    author={Luka Vrev{c}ar, Joe Wells, Fairouz Kamareddine},
    journal={arXiv preprint arXiv:2408.04656},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.04656},
    primaryClass={cs.CL cs.IR}
}