Towards Semantic Markup of Mathematical Documents via User Interaction

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Vrečar, Luka, Wells, Joe, Kamareddine, Fairouz
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909282454208512
author Vrečar, Luka
Wells, Joe
Kamareddine, Fairouz
author_facet Vrečar, Luka
Wells, Joe
Kamareddine, Fairouz
contents 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 $λ$-terms.
format Preprint
id arxiv_https___arxiv_org_abs_2408_04656
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Semantic Markup of Mathematical Documents via User Interaction
Vrečar, Luka
Wells, Joe
Kamareddine, Fairouz
Computation and Language
Information Retrieval
68V30
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 $λ$-terms.
title Towards Semantic Markup of Mathematical Documents via User Interaction
topic Computation and Language
Information Retrieval
68V30
url https://arxiv.org/abs/2408.04656