Looking for tex to html converter

1

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.

Thanks!

Stephen

Posted 2010-06-15T00:52:03.790

Reputation: 311

Do you consider .dvi to be "non-.pdf"? :P – Ignacio Vazquez-Abrams – 2010-06-15T01:16:50.070

@Ignacio: hah... yes... but not exactly what I'm after :) – Stephen – 2010-06-15T02:55:05.940

"nicely" is undefined. So what problems are happening with latex2html? Positioning problems? – Peon – 2010-06-26T05:30:09.897

@Peon : Thanks, sorry I didn't see that comment until now. Updated the question with some of the problems I'm seeing. – Stephen – 2010-07-09T01:08:39.977

Answers

2

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).

Paused until further notice.

Posted 2010-06-15T00:52:03.790

Reputation: 86 075

+1, Thanks for the link, unfortunately those programs couldn't handle this document. – Stephen – 2010-06-15T02:56:43.240