[l2h] Problems with larger documents when generationg images

Ross Moore ross.moore at mq.edu.au
Mon Jan 23 22:00:07 CET 2012

Hi Jos, and Mark,

On 24/01/2012, at 7:18 AM, jos wrote:

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

Best of luck,


> Cheers,
> Julius

Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the latex2html mailing list