How to convert a latex file to a single page html

How to convert a latex file to a single page html?

htlatex is a good choice. On Fedora, install it by yum install texlive-tex4ht.

To generate the HTML page from a latex file doc.tex:

htlatex doc
Answered by Eric Z Ma.

You can use the latex2html (can be installed on Fedora by yum install latex2html).

$ latex2html -split +0 -info "" -no_navigation ${filename}

${filename} is the tex file to be converted.


htlatex may be a better choice: https://www.systutorials.com/qa/748/how-to-convert-a-latex-document-with-figures-to-a-html-file?show=755#a755

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *