[l2h] Problem with customized icons

Tanja Wittke tawi at gruft.de
Thu Feb 20 22:07:29 CET 2003


Hi,

I have the following problem:
I want to use my own icons for the top navigation of the generated html
documents. I added the following lines to my .latex2html-init file:

[...]
$ICONSERVER = "pics";        # Use my own icons
$LOCAL_ICONS = 1;

$icons =
(
  'up' ,               'pics/up.gif',
  'up_inactive',       'pics/up_g.gif',
  'next',              'pics/next.gif',
  'previous',          'pics/prev.gif',
  'previous_inactive', 'pics/prev_g.gif',
  'contents',          'pics/contents.gif',
);
$iconsizes =      # Iconsizes of the real icon files
 (
        'up' ,'WIDTH="55" HEIGHT="27"',
        'next','WIDTH="65" HEIGHT="27"',
        'previous','WIDTH="65" HEIGHT="27"',
        'next_group' ,'WIDTH="81" HEIGHT="24"',
        'next_inactive' ,'WIDTH="81" HEIGHT="24"',
        'previous_group','WIDTH="107" HEIGHT="24"',
        'change_begin','WIDTH="104" HEIGHT="24"',
        'change_begin_right','WIDTH="104" HEIGHT="24" ALIGN="RIGHT"',
        'change_end','WIDTH="104" HEIGHT="24"',
        'change_end_right','WIDTH="104" HEIGHT="24" ALIGN="RIGHT"',
        'change_delete','WIDTH="109" HEIGHT="24"',
        'change_delete_right','WIDTH="109" HEIGHT="24" ALIGN="RIGHT"',
        'contents','WIDTH="65" HEIGHT="27"',
        'index','WIDTH="43" HEIGHT="24"',
        'image','WIDTH="48" HEIGHT="24"'
    );
[...]

In my pics directory I still have both formats, png and gif (just for
testing). l2h always uses the png files instead of the gif files. I also
tried %icons=( ... ) and %iconsizes=( ... ) instead "$", but the result
is the same. Does anyone have hint for me?

TIA,

Tanja


More information about the latex2html mailing list