TeX4ht
| TeX4ht | |
|---|---|
| Developers | Eitan M. Gurari (1947-2009), Karl Berry, Michal Hoftich |
| Stable release | Rolling releases
/ December 11, 2023 |
| Operating system | Linux/Windows/Mac OS X |
| Type | Utility |
| Licence | LaTeX Project Public License (LPPL). |
| Website | http://www.tug.org/tex4ht/ |
TeX4ht is a configurable converter capable of translating TeX and LaTeX documents to HTML and certain XML formats. Most notably, TeX4ht serves for converting (La)TeX documents to formats used by word processors. It was developed by Eitan M. Gurari.[1]
The program is published under the LaTeX Project Public License (LPPL).
History
TeX4ht was developed in the 1990s to convert (La)TeX to HTML, helping to publish scientific documents that were written in (La)TeX on the World Wide Web for display in a web browser. Particularly, hypertext features were supported, so it became possible to include hyperlinks in the web version of documents.
More XML-based formats were supported gradually. As of 2023, HTML5, XHTML, MathML, OpenDocument, DocBook, EPUB and TEI are supported.[2][3]
JavaHelp can also be generated.
TeX4ht is now included preconfigured with all TeX distributions.
Since Eitan M. Gurari's death the program has been maintained by Radhakrishnan CV (no longer active), Karl Berry, and Michal Hoftich, with contributions from many others.[4]
Function
TeX4ht does not directly transform TeX or LaTeX markup into the output markup language (HTML etc.) Instead, an ordinary (La)TeX run compiles a DVI file from the source first. TeX4ht subsequently processes the DVI file.[5] Other converters, most notably LaTeX2HTML or TtH operate in a single pass.
TeX4ht essentially can deal with any successfully compiling (La)TeX document source. TeX4ht can also incorporate support publicly available macro packages or user-made (perhaps document-specific) commands to process features that transcend standard TeX formats, such as for managing bibliography with BibTeX, because these extensions do not need corresponding implementations in the converter.
Mathematical formulae and other characters or symbols that cannot be displayed as text are converted into graphics. Mathematics can also be converted into MathML or form suitable for processing with MathJax.
TeX4ht can convert LaTeX documents into Microsoft Word's doc format via the OpenDocument format, ODT.
See also
References
- ^ (*1947, †2009)
- ^ "TeX4ht - TeX Users Group".
- ^ "5 Output Formats". www.kodymirus.cz. Retrieved 2023-12-13.
- ^ Karl Berry, posting in mailing list texhax, 17 July 2009; ibid. posting in der mailinglist texhax, 7 November 2009.
- ^ Cf. The LaTeX Web Companion, pp. 169f.
Literature
- Translating LaTeX to HTML using TeX4ht, in: Michel Goossens, Sebastian Rahtz, Eitan M. Gurari, Ross Moore, Robert S. Sutor. The LaTeX Web Companion. Integrating TeX, HTML, and XML. 1999. 8th printing January 2006. pp. 155–194.
- Eitan Gurari, HTML Production, TUGBoat 25 (2004), No. 1, pp. 39–47.
External links
- Project Homepage
- Online Manual
- SimpleTeX4ht - Graphic frontend for TeX4ht for Mac OS X
- Other conversions to and from (La)TeX
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.