How to convert a latex document with figures to a HTML file? htlatex (On Fedora, it is in the package texlive-tex4ht) can generate the html from a latex doc better than latex2html. From my experience, it can produce a better html file. Read more: How to convert a latex file to a single page html HTML Document Character Set and Encoding Installing Latex and Compiling a Latex Docuent in Linux How to convert HTML file to text on Linux How to convert a piece of HTML code to plain text in PHP? How to get a FILE pointer from a file descriptor and how to get a file descriptor from a FILE pointer in C on Linux? How to convert a ps file to a pdf file How to compress lists of consecutive citation numbers to one range in Latex?