I need to convert a very large latex project (made up of many .tex and style files) into .html (or something similarly non-.pdf).

Can someone recommend a quality converter program?

Preferably, one that is:

  • available on linux (specifically Ubuntu)
  • actively maintained

If need be, I can accept converting tex or pdf to X to html too.

The following programs have failed to convert [nicely]:

  • latex2html
  • tth
  • pdf2html

For example, the latex2html results are unreadable:

  • Translating results in hundreds of errors of the type

Error while converting image

Error: Cannot read 'img69.png': No such file or directory Converting image #69 pstoimg: Error: Cannot find file "/tmp/l2h11170/image069.ps": No such file or directory

  • The resulting html has no formatting (it doesn't seem to have respected styles from the TEXINPUTS env variable)
  • All the crossreferences, images or diagrams result in broken links (not surprising, given the errors).
  • It looks like headers have been replaced by TOC references (e.g. 13#13 instead of the proper wording)

I'm probably reaching here - hoping for a magic conversion. The document I have is hundreds of pages, and quite complicated. I don't know tex, but I would imagine this document is relatively standard compliant.


  • Do you consider .dvi to be "non-.pdf"? :P – Ignacio Vazquez-Abrams Jun 15 '10 at 1:16
  • @Ignacio: hah... yes... but not exactly what I'm after :) – Stephen Jun 15 '10 at 2:55
  • "nicely" is undefined. So what problems are happening with latex2html? Positioning problems? – Peon Jun 26 '10 at 5:30
  • @Peon : Thanks, sorry I didn't see that comment until now. Updated the question with some of the problems I'm seeing. – Stephen Jul 9 '10 at 1:08

Here is a short list of LaTeX to HTML converters. One of the ones listed is tth which is in the Ubuntu repositories (man page).

  • +1, Thanks for the link, unfortunately those programs couldn't handle this document. – Stephen Jun 15 '10 at 2:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.