[l2h] icons should obey -image-type

Ross Moore ross@ics.mq.edu.au
Thu, 11 Apr 2002 23:41:55 +1000 (EST)


> > From ross@ics.mq.edu.au Thu Apr 11 01:15:47 2002
> > From: Ross Moore <ross@ics.mq.edu.au>
> ...
> 
> Well, then it might be reasonable to define two separate arrays
> %icons_gif and %icons_png in l2hconfig.pm and then, in latex2html after
> the "if ($INIT_FILE) {...}" block, assign one of them to %icons based on
> the actual $IMAGE_TYPE (possibly set by -image_type or in $INIT_FILE),
> provided %icons is still undefined.

OK; that is indeed a reasonable idea.

Of course this will require both sets of icons to be copied to the
$ICONSERVER location, which need not be on the same machine
as where LaTeX2HTML is being installed.
So there will still be a problem, or reduced funcionality, at sites
which fail to do this.


Thanks for the suggestion.

	Ross Moore