请输入您要查询的百科知识:

 

词条 LaTeXML
释义

  1. Workflow

  2. History

      Notable usage  

  3. Implementation

  4. References

  5. External links

{{Infobox software
| name = LaTeXML
| title = A LaTeX to XML/HTML/MathML Converter
| logo =
| logo caption =
| logo_size =
| logo_alt =
| screenshot =
| caption =
| screenshot_size =
| screenshot_alt =
| collapsible =
| author = [https://www.nist.gov/people/bruce-r-miller Bruce R Miller]
| developer =
| released = {{start date and age|2004|05|10|df=yes|paren=yes}}
| discontinued =
| latest release version = 0.8.3
| latest release date = {{start date and age|2018|07|30|df=yes|paren=yes}}
| latest preview version =
| latest preview date =
| programming language = Perl
| operating system = Unix-like, macOS, Windows
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = Document converter
| license = Public domain
| website = {{URL|https://dlmf.nist.gov/LaTeXML/}}
}}{{Portal|Free and open-source software}}LaTeXML is a free, public domain software, which converts LaTeX documents to XML, HTML, EPUB, JATS and TEI.[1][2][3]

Workflow

LaTeXML's primary output format is an XML representation of (La)TeX's document model. A postprocessor can convert these XML documents into other structured formats. Common uses cases create HTML with mathematical formulas as images or XHTML, HTML5, and EPUB with formulas as MathML. Compared to other LaTeX-to-XML processors, LaTeXML aims to conserve the semantic structures of the LaTeX markup. This makes it a good basis for semantic services like [https://web.archive.org/web/20141126103552/http://search.mathweb.org/ Math search].

Conversion times range from 30 milliseconds for a single formula (in the LaTeXML daemon) to minutes for book-size documents.

History

LaTeXML was started in the context of the Digital Library of Mathematical Functions at NIST, where LaTeX documents needed to be prepared for publication on the Web. The system has been under active development for over a decade, and has attracted a small, but dedicated community of developers and users centered on Bruce Miller, the original project author.

The current released version is LaTeXML 0.8.3. It was released in August 2018, and development remains active on the [https://github.com/brucemiller/LaTeXML public repository].

Notable usage

LaTeXML was used to convert 90% (60% without errors) of 530,000 documents from the arXiv to XML.[4] As a result of this ongoing effort for enhancing coverage, LaTeXML supports a large range of LaTeX packages. The ACL 2014 conference used LaTeXML to convert submitted papers to XML.[5] This followed existing work which has been trying to convert the ACL Anthology papers to high-quality semantic markup for further analysis.[6] Since February, 2013, LaTeXML has been used as to render the web pages on the peer produced mathematics website, PlanetMath. Since July, 2015, it was adopted by Authorea for their advanced LaTeX support[7]. In 2018, the second data release[8] of the European Space Agency's Gaia project was realized via LaTeXML.

Implementation

The core of LaTeXML is a Perl reimplementation of TeX's parsing and digestion algorithm coupled with a customizable XML emitter. To conserve the semantic structures in the LaTeX markup, LaTeXML needs XML bindings for all LaTeX packages with high-level macro definitions. The LaTeXML distribution currently provides XML bindings for over 200 commonly used LaTeX packages such as AMSTeX, Babel[9] and PGF/TikZ (which only has experimental support).

The LaTeXML conversion consists of two stages:

  • the first one parses LaTeX and converts that into a LaTeX-near XML document type, and
  • the second (post-processing) transforms the XML into one of the standardized structured output formats.

LaTeXML 0.8 added daemon functionality which enabled multiple conversions and easy embedding into web services.

References

1. ^{{cite web|url=http://www.maths-informatique-jeux.com/blog/frederic/?post/2013/11/07/Gecko-based-EPUB-Readers-and-LaTeXML|title=Gecko-based EPUB Readers and LaTeXML}}
2. ^{{cite web|url=http://jblevins.org/log/xml-tools|title=Tools for Converting LaTeX to XML}}
3. ^{{cite web|url=http://ftb.rgaiacs.com/2014/01/24/latexml.html|title=Free Techno Blog: LaTeXML}}
4. ^{{cite conference | first=Heinrich | last=Stamerjohanns | first2=Michael | last2=Kohlhase | first3=Deyan | last3=Ginev | first4=Catalin | last4=David | first5=Bruce | last5=Miller | title=Transforming large collections of scientific publications to XML | url=http://kwarc.info/kohlhase/papers/mcs10.pdf | journal=Mathematics in Computer Science | pages=299–307 | volume=3 | issue=3 | publisher = Birkhäuser | year = 2010}}
5. ^{{cite web|url=https://sites.google.com/site/acl2014publication/#TOC-Papers-in-XML-format|title=ACL 2014 Publication - Papers in XML format}}
6. ^{{cite conference | first=Ulrich | last=Schäfer | first2=Jonathon | last2=Read | first3=Stephan | last3=Oepen | title=Towards an ACL anthology corpus with logical document structure: an overview of the ACL 2012 contributed task | conference=ACL-2012 Special Workshop on Rediscovering 50 Years of Discoveries | url=http://aclweb.org/anthology/W/W12/W12-3210.pdf | pages=88–97 | year=2012}}
7. ^{{Cite news|url=https://www.authorea.com/users/672/articles/65300-authorea-newsletter-july-2015-full-latex-templates-and-ebola-on-authorea/_show_article|title=Authorea Newsletter - July 2015: Full LaTeX, Templates, and Ebola on Authorea|work=Authorea|access-date=2018-08-18}}
8. ^{{Cite web|url=http://gea.esac.esa.int/archive/documentation/GDR2/|title=Gaia Data Release 2Documentation release 1.1|website=gea.esac.esa.int|access-date=2018-08-18}}
9. ^{{cite web|url=http://dlmf.nist.gov/LaTeXML/manual/localization/localization.babel.html|title=LaTeXML: Localization with Babel}}

External links

  • http://dlmf.nist.gov/LaTeXML/
  • [https://github.com/brucemiller/LaTeXML LaTeXML source code]
  • LaTeXML web server, services, and demos
{{LaTeX navbox}}

6 : Free TeX software|Free mathematics software|Public-domain software|MathML|TeX software for Windows|TeX software for macOS

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 23:34:05