[l2h] Re: General HTML generation questions

Ross Moore ross@ics.mq.edu.au
Fri, 7 Jun 2002 00:21:21 +1000 (EST)


> Indeed, this was the solution to the problem. I had to apply two patches
> to the file.
> The first fixes a problem with including png images, as the config script
> sets the PNMTOPNG variable, not the PPMTOPNG. The second one fixes a
> problem occurring with Windows due to the path delimiter. When embedding
> into a webpage it has to be '/' regardless of the platform, so hardcode
> it.
> 
> diff -U 0 --new-file --recursive
> latex2html-2002-1/styles/graphics-support.perl
> latex2html-2002-1.patched/styles/graphics-support.perl
> --- latex2html-2002-1/styles/graphics-support.perl	2002-04-28
> 07:15:02.000000000 +0200
> +++ latex2html-2002-1.patched/styles/graphics-support.perl	2002-06-05
> 22:25:21.000000000 +0200
> @@ -109 +109 @@
> -$GRAPHICS_RULE{'.png'}  = [$PNGTOPNM,$PPMTOPNG]   if $PNGTOPNM &&
> $PPMTOPNG;
> +$GRAPHICS_RULE{'.png'}  = [$PNGTOPNM,$PPMTOPNG]   if $PNGTOPNM &&
> $PNMTOPNG;
> @@ -312 +312 @@
> -      my $dst = ".$dd$name$ext";
> +      my $dst = "./$name$ext";
 
Thanks for these Joachim; the repository has been updated.

	Ross Moore

> 
> Best Regards
> Joachim
> 
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html