MaxTract: Converting PDF to \(\mbox\LaTeX\), MathML and Text
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.
KeywordsParse Tree Plain Text Screen Reader Portable Document Format Speech Synthesis System
Unable to display preview. Download preview PDF.
- 1.Adobe. PDF Reference fifth edition Adobe Portable Document Format Version 1.6. Adobe Systems (2004)Google Scholar
- 2.Adobe. Adobe Reader X. Adobe Systems (2012), http://get.adobe.com/uk/reader/
- 4.Baker, J.B., Sexton, A.P., Sorge, V.: Towards reverse engineering of PDF documents. In: Sojka, P., Bouche, T. (eds.) Towards a Digital Mathematics Library, DML 2011, Bertinoro, Italy, pp. 65–75. Masaryk University Press (July 2011)Google Scholar
- 5.Black, A.W., Taylor, P.A.: The Festival Speech Synthesis System: System documentation. Technical Report HCRC/TR-83, Human Communciation Research Centre, University of Edinburgh, Scotland, UK (1997), http://www.cstr.ed.ac.uk/projects/festival.html
- 6.Gray, N.: Textpos (2010), http://purl.org/nxg/dist/textpos
- 7.Marik, R.: OCGtools (2012), http://ctan.org/pkg/ocgtools