<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ross and Jos,<br>
<blockquote cite="mid:7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Hi Mark,
Search the latex2html source for "%.3d" and change 3 to 4 or whatever.
</pre>
</blockquote>
<pre wrap=""><!---->
The line you want is approx. 4096:
$psname = sprintf("%s%.3d", "$TMPDIR$dd$IMAGE_PREFIX", $new_num);
changing to "%s%.4d" will allow LaTeX2HTML to generate file names
with 4 digits.
This then passes the problem on to LaTeX, dvips and Ghostscript, as
to whether they will correctly generate and process all those files.
Should be OK.
</pre>
</blockquote>
Thanks for your help! latex2html now correctly searches for files with
4 digits, but generates the intermediate files still with 3 digits.
Have you got an ideas on how to force it to generate the intermediate
files with the 4 digits? This is a list of the files generated:<br>
"> ls -l /scratch/l2h_images/l2h20851/<br>
total 5312<br>
-rw-rw-r-- 1 simdoc 84249 Jan 24 12:12 image001.ps<br>
-rw-rw-r-- 1 simdoc 82675 Jan 24 12:12 image002.ps<br>
-rw-rw-r-- 1 simdoc 83644 Jan 24 12:12 image003.ps <br>
........"<br>
<br>
latex2html is now correctly looking for files with the 4 digits:<br>
"Error while converting image<br>
<br>
Error: Cannot read 'simpack_documentationimg2.png': No such file or
directory<br>
Converting image #1<br>
pstoimg: Error: Cannot find file
"/scratch/l2h_images/l2h20851/image0001.ps": No such file or directory"<br>
<br>
<br>
Sorry for troubling you and thank you loads for your help.<br>
<br>
Mark<br>
<pre wrap="">_______________________________________________________________________
Mark Duke
Documentation SIMPACK AG
Phone: + 49 8105 77266-27 Friedrichshafener Strasse 1,
Fax: + 49 8105 77266-11 82205 Gilching, Germany
E-Mail: <a class="moz-txt-link-abbreviated"
href="mailto:name.surname@simpack.de">mark.duke@simpack.de</a> <a
class="moz-txt-link-abbreviated" href="mailto:info@simpack.de">info@simpack.de</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.simpack.com">www.simpack.com</a>
Simulation Software SIMPACK - Consulting - Training
Executive Board: Dr. Alexander Eichberger, Dr. Lutz Mauer;
Chair of Supervisory Board: Silvia Förster (CPA);
Commercial Register München HRB 181 229
_______________________________________________________________________
</pre>
</body>
</html>