[l2h] Problems with larger documents when generationg images

Mark Duke mark.duke at simpack.de
Tue Jan 24 13:28:38 CET 2012


Hi Ross and Jos,
>    
>> Hi Mark,
>>
>> Search the latex2html source for "%.3d" and change 3 to 4 or whatever.
>>      
>
> 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.
>    
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:
"> ls -l /scratch/l2h_images/l2h20851/
total 5312
-rw-rw-r-- 1 simdoc  84249 Jan 24 12:12 image001.ps
-rw-rw-r-- 1 simdoc  82675 Jan 24 12:12 image002.ps
-rw-rw-r-- 1 simdoc  83644 Jan 24 12:12 image003.ps
........"

latex2html is now correctly looking for files with the 4 digits:
"Error while converting image

Error: Cannot read 'simpack_documentationimg2.png': No such file or 
directory
Converting image #1
pstoimg: Error: Cannot find file 
"/scratch/l2h_images/l2h20851/image0001.ps": No such file or directory"


Sorry for troubling you and thank you loads for your help.

Mark

_______________________________________________________________________
  
Mark Duke

Documentation				SIMPACK AG

Phone: + 49 8105 77266-27   		Friedrichshafener Strasse 1,
Fax:   + 49 8105 77266-11		82205 Gilching, Germany
E-Mail:mark.duke at simpack.de		info at simpack.de
Web:www.simpack.com

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
_______________________________________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/latex2html/attachments/20120124/a379ff33/attachment.html>


More information about the latex2html mailing list