Skip to Main content Skip to Navigation
Conference papers

Extracting Mathematical Semantics from LaTeX Documents

Jürgen Stuber 1 Mark van den Brand 2
1 PROTHEO - Constraints, automatic deduction and software properties proofs
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : We report on a project to use SGLR parsing and term rewriting with ELAN4 to extract the semantics of mathematical formulas from a {\LaTeX} document and representing them in MathML. The {\LaTeX} document we used is part of the Digital Library of Mathematical Functions (DLMF) project of the US National Institute of Standards and Technology (NIST) and obeys project-specific conventions, which contains macros for mathematical constructions, among them 200 predefined macros for special functions, the subject matter of the project. The SGLR parser can parse general context-free languages, which suffices to extract the structure of mathematical formulas from calculus that are written in the usual mathematical style, with most parentheses and multiplication signs omitted. The parse tree is then rewritten into a more concise and uniform internal syntax that is used as the base for extracting MathML or other semantical information.
Document type :
Conference papers
Complete list of metadata

https://hal.inria.fr/inria-00099469
Contributor : Publications Loria <>
Submitted on : Tuesday, September 26, 2006 - 9:14:45 AM
Last modification on : Friday, February 26, 2021 - 3:28:06 PM

Identifiers

  • HAL Id : inria-00099469, version 1

Collections

Citation

Jürgen Stuber, Mark van den Brand. Extracting Mathematical Semantics from LaTeX Documents. Workshop on Principles and Practice of Semantic Web Reasoning - PPSWR'2003, Dec 2003, Mumbai, India, 15 p. ⟨inria-00099469⟩

Share

Metrics

Record views

169