#! /bin/sh /usr/share/dpatch/dpatch-run ## 12_PNG_imagemap.dpatch by Eugen Dedu ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Use PNG instead of GIF in HTML image maps. @DPATCH@ diff -urNad transfig~/doc/fig2dev.1 transfig/doc/fig2dev.1 --- transfig~/doc/fig2dev.1 +++ transfig/doc/fig2dev.1 @@ -473,7 +473,7 @@ that have href="some_html_reference" in their comments. Any Fig object except compound objects may used for this. Usually, besides generating the map file, you would also -generate a GIF file, which is the image to which the map refers. +generate a PNG file, which is the image to which the map refers. .sp For example, you may have an xfig drawing with an imported image that has the comment diff -urNad transfig~/fig2dev/dev/genmap.c transfig/fig2dev/dev/genmap.c --- transfig~/fig2dev/dev/genmap.c +++ transfig/fig2dev/dev/genmap.c @@ -172,7 +172,7 @@ fprintf(tfp, "

You can copy the following lines into your HTML document.\n"); fprintf(tfp, "You may need to edit the name of the image file in the first line.

\n"); fprintf(tfp, "\n"); - fprintf(tfp, "\n", basename, basename); + fprintf(tfp, "\n", basename, basename); fprintf(tfp, "\n", basename); ref = is_link(objects->comments);