[l2h] icons should obey -image-type

Hans Werner Strube strube@physik3.gwdg.de
Wed, 10 Apr 2002 17:33:04 +0200 (MET DST)


In my opinion, option -image-type should also be valid for icons. As a simple
fix, move the %icons =(...) from l2hconf to latex2html in the following way
(line numbers for latex2html-2002, but works similarly for 2K.1):

*** l2hconf.pin.ORI	Tue Oct 12 07:15:03 1999
--- l2hconf.pin	Wed Apr 10 16:50:05 2002
***************
*** 1031,1063 ****
  ### Icons ################################################################
  
  # Icon names and real icon files. 
  
- %icons = (
-  'cross_ref_visible_mark' ,"crossref.$IMAGE_TYPE",
-  'anchor_mark' , '', # ,' ',
-  'anchor_invisible_mark' , '', # ,' ', 
-  'up_visible_mark' ,"up.$IMAGE_TYPE", 
-  'next_visible_mark' ,"nx_grp.$IMAGE_TYPE", 
-  'previous_visible_mark' ,"pv_grp.$IMAGE_TYPE",
-  'next_page_visible_mark' ,"next.$IMAGE_TYPE",
-  'previous_page_visible_mark' ,"prev.$IMAGE_TYPE",
-  'contents_visible_mark' ,"contents.$IMAGE_TYPE",
-  'index_visible_mark' ,"index.$IMAGE_TYPE",
-  # 'image_visible_mark' ,"image.$IMAGE_TYPE",
-  'footnote_mark' ,"footnote.$IMAGE_TYPE",
-  'up_inactive_visible_mark' ,"up_g.$IMAGE_TYPE", 
-  'next_inactive_visible_mark' ,"nx_grp_g.$IMAGE_TYPE", 
-  'previous_inactive_visible_mark' ,"pv_grp_g.$IMAGE_TYPE",
-  'next_page_inactive_visible_mark' ,"next_g.$IMAGE_TYPE",
-  'previous_page_inactive_visible_mark' ,"prev_g.$IMAGE_TYPE",
-  'change_begin_visible_mark',"ch_begin.$IMAGE_TYPE",
-  'change_begin_right_visible_mark',"ch_beg_r.$IMAGE_TYPE",
-  'change_end_visible_mark',"ch_end.$IMAGE_TYPE",
-  'change_end_right_visible_mark',"ch_end_r.$IMAGE_TYPE",
-  'change_delete_visible_mark',"ch_delet.$IMAGE_TYPE",
-  'change_delete_right_visible_mark',"ch_del_r.$IMAGE_TYPE"
- );
- 
  %iconsizes =
   (
    'up' ,'WIDTH="26" HEIGHT="24"',
--- 1031,1038 ----
  ### Icons ################################################################
  
  # Icon names and real icon files. 
+ # *** moved to latex2html ***
  
  %iconsizes =
   (
    'up' ,'WIDTH="26" HEIGHT="24"',
*** latex2html.pin.ORI	Sun Mar 31 07:15:01 2002
--- latex2html.pin	Wed Apr 10 16:50:05 2002
***************
*** 400,405 ****
--- 400,434 ----
         This installation supports (first is default): @IMAGE_TYPES
  EOF
  }
+ 
+ # Icon names and real icon files. 
+ 
+ %icons = (
+  'cross_ref_visible_mark' ,"crossref.$IMAGE_TYPE",
+  'anchor_mark' , '', # ,' ',
+  'anchor_invisible_mark' , '', # ,' ', 
+  'up_visible_mark' ,"up.$IMAGE_TYPE", 
+  'next_visible_mark' ,"nx_grp.$IMAGE_TYPE", 
+  'previous_visible_mark' ,"pv_grp.$IMAGE_TYPE",
+  'next_page_visible_mark' ,"next.$IMAGE_TYPE",
+  'previous_page_visible_mark' ,"prev.$IMAGE_TYPE",
+  'contents_visible_mark' ,"contents.$IMAGE_TYPE",
+  'index_visible_mark' ,"index.$IMAGE_TYPE",
+  # 'image_visible_mark' ,"image.$IMAGE_TYPE",
+  'footnote_mark' ,"footnote.$IMAGE_TYPE",
+  'up_inactive_visible_mark' ,"up_g.$IMAGE_TYPE", 
+  'next_inactive_visible_mark' ,"nx_grp_g.$IMAGE_TYPE", 
+  'previous_inactive_visible_mark' ,"pv_grp_g.$IMAGE_TYPE",
+  'next_page_inactive_visible_mark' ,"next_g.$IMAGE_TYPE",
+  'previous_page_inactive_visible_mark' ,"prev_g.$IMAGE_TYPE",
+  'change_begin_visible_mark',"ch_begin.$IMAGE_TYPE",
+  'change_begin_right_visible_mark',"ch_beg_r.$IMAGE_TYPE",
+  'change_end_visible_mark',"ch_end.$IMAGE_TYPE",
+  'change_end_right_visible_mark',"ch_end_r.$IMAGE_TYPE",
+  'change_delete_visible_mark',"ch_delet.$IMAGE_TYPE",
+  'change_delete_right_visible_mark',"ch_del_r.$IMAGE_TYPE"
+ );
+ 
  &set_if_false($NO_IMAGES, $opt{images});
  if ($opt{noaccent_images}) {
      $ACCENT_IMAGES = '';