While looking for a solution of my image creation problem with l2h I found some threads here on the list, where people reported a very similar problem. But I didn't find a solution of the problem. So I made some experiments, and the following worked well for me:
A) Description of the problem: Creation of images (for figures and math) failes. Typical error messages are: pstoimg: Warning: Cannot use c:/tmp/l2h2810 as temporary directory. pstoimg: Temporary directory is c:/tmp pstoimg: Error: Cannot find file "c:/tmp/l2h2810/_image001.ps": No such file or directory B) Solution (under Win2k, MikTeX): I assume, your .tex-file is named "mydoc.tex". This file and the graphic files are in a folder called "mytexdoc". To solve the above mentioned problem for mathmode-based figures, this folder has to resist on the same drive than ghostscript and netpbm. For windows, this usually means: You have to copy all of your files into c:\mytexdoc But still, graphics included by means of \includegraphics may be missing. First ensure, that the filenames in your .tex-file always contain the filename extension. This means: Write \includegraphics{fig1a.eps} instead of \includegraphics{fig1a} Secondly: As the resulting files are written to a subfolder (here it is "\mydoc") and the image-creating .tex-file also resides there, the figures are not found. Ensure to copy your graphic files to the subfolder "\mydoc". C) Some further remarks For me, it was necessary to apply the following modifications before installing l2h: - As above, l2h has to be configured and installed with all files being located at drive c:\ (means: the same drive as ghostscript and netpbm). Otherwise, an error like "gsview32c cannot be found" arises. In my case, for configuration, all files were at c:\l2h The installation destination folder was set to c:\Programme\TeX\LaTeX2HTML - When running the test example (before installation), the figures for the equations are not created. This is solved by setting the environment variable RGBDEF properly before running test.bat: set RGBDEF=C:\l2h\styles\rgb.txt - After installation, I added the following line to c:\Programme\TeX\LaTeX2HTML\bin\latex2html.bat right at the beginning of the script: set RGBDEF=c:\Programme\TeX\LaTeX2HTML\styles\rgb.txt HTH. Bis dann, - Mark -- AnaMark V2.11 - The VST-Synthesizer http://www.mark-henning.de/ _______________________________________________ latex2html mailing list latex2html@tug.org http://tug.org/mailman/listinfo/latex2html