Convert TEX to HTML

Turn TEX files into HTML. Read as structure instead of being run through TeX: a standalone page with sections, lists, tables, footnotes and the abstract, math written as MathML and simple macros expanded.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TEX files on the dialor turn it to pick what to do

LaTeX turned into a web page.Sections, lists, tables and math come out as one standalone HTML file.

  1. What you get

    A single HTML page built from the structure of your LaTeX source. The file is read as structure and is not run through TeX. Sections, lists, tables, footnotes and the abstract are kept.

    Math is written as MathML. Simple macros are expanded, so the page shows what they stand for.

  2. What changes

    Headings are not numbered. References keep the number LaTeX would print, so a pointer to a section or an equation still shows the number a reader expects.

  3. What it leaves behind

    Packages are not kept, and neither are custom layouts. The page follows the structure of the text, not the look of the typeset document.

    Images are left out. The page holds the text, the tables and the math.

  4. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted. To go the other way, use HTML to TEX.

TEX and HTML.What each format is.

The formats

From · TEX

LaTeX

LaTeX source, the typesetting language of academic papers and theses.

Extensions
.tex .latex
MIME type
application/x-tex
Kind
Text and data
To · HTML

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data

In your code.The same TEX to HTML conversion through the API, for your app or your agent.

terminal
$ cv convert report.tex report.html
$ cv convert report.tex report.html

Questions.What people ask about TEX to HTML.

01OF 04

No. The source is read as structure. That is why packages and custom layouts are not applied.

As MathML. Simple macros are expanded first.

No. References still keep the number LaTeX would print.

No. Images are not kept in the HTML file.

More conversions.Other ways in and out of TEX and HTML.