Intelligent Computer Mathematics

Volume 7362 of the series Lecture Notes in Computer Science pp 422-426

MaxTract: Converting PDF to \(\mbox\LaTeX\), MathML and Text

  • Josef B. BakerAffiliated withSchool of Computer Science, University of Birmingham
  • , Alan P. SextonAffiliated withSchool of Computer Science, University of Birmingham
  • , Volker SorgeAffiliated withSchool of Computer Science, University of Birmingham

* Final gross prices may vary according to local VAT.

Get Access


In this paper we present the first public, online demonstration of MaxTract; a tool that converts PDF files containing mathematics into multiple formats including \(\mbox\LaTeX\), HTML with embedded MathML, and plain text. Using a bespoke PDF parser and image analyser, we directly extract character and font information to use as input for a linear grammar which, in conjunction with specialised drivers, can accurately recognise and reproduce both the two dimensional relationships between symbols in mathematical formulae and the one dimensional relationships present in standard text.

The main goals of MaxTract are to provide translation services into standard mathematical markup languages and to add accessibility to mathematical documents on multiple levels. This includes both accessibility in the narrow sense of providing access to content for print impaired users, such as those with visual impairments, dyslexia or dyspraxia, as well as more generally to enable any user access to the mathematical content at more re-usable levels than merely visual. MaxTract produces output compatible with web browsers, screen readers, and tools such as copy and paste, which is achieved by enriching the regular text with mathematical markup. The output can also be used directly, within the limits of the presentation MathML produced, as machine readable mathematical input to software systems such as Mathematica or Maple.