Login

LaTeX2HTML Hints

Debugging LaTeX2HTML

Here are some things to try.


       latex2html -image_type png  l2h_test.tex

If that doesn't work, do:


       cd l2h_test; rm *.{gif,png}; cd ..;
       latex2html -png -debug  l2h_test.tex

Save the complete contents of the screen window; that is, all the messages written to screen


If you want to continue testing, then change the name of the output directory before doing so

     (e.g.,   mv  l2h_test  l2h_test-keep  )

so that the complete output of the debug run can be accessed


Versions of LaTeX2HTML on CDS


Known bugs affecting .gif images output (2009-01-12)

There seems to be a bug in

     /usr/bin/ppmtogif

with the -interlace option So the interlace option should be disabled within pstoimg the program that comes with LateX2HTML for creating the images.


The (l2h) and (l2hnew) scripts in personal xxxx account with should now work since the interlace option was disabled in

                 ~xxxx/l2hdir/pstoimg

Known error reported on tug.org

There is a known error with LaTeX2HTML discussed in:

   http://tug.org/mailman/htdig/latex2html/2004-February/002688.html

The fix is to edit 2 lines of /usr/bin/latex2html in each case adding a single '?' at a particular place. These are on lines 16454 and 16455 . See the above URL for the exact location, given as a patch.