[l2h] image_type for icons

Hans Werner Strube strube@physik3.gwdg.de
Tue, 4 Dec 2001 13:11:21 +0100 (MET)


latex2html-2K.1beta: The icon type is always fixed, regardless of the
setting of -image_type or the corresponding environment. This can be
changed by moving the definition of %icons from l2hconf.pm to a place in
latex2html where $IMAGE_TYPE has already been set (or perhaps to a new
config file which has to be included by latex2html at this place).

 Hans Werner Strube          strube@physik3.gwdg.de
 Drittes Physikalisches Institut,  Univ. Goettingen
 Buergerstr. 42-44,   D-37073 Goettingen,   Germany

*** latex2html.ORI	Wed Jul  4 10:15:42 2001
--- latex2html	Tue Dec  4 12:22:56 2001
***************
*** 379,384 ****
--- 379,413 ----
         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 = '';
*** l2hconf.pm.ORI	Wed Jul  4 10:15:43 2001
--- l2hconf.pm	Tue Dec  4 12:20:19 2001
***************
*** 1000,1033 ****
  
  ### 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"',
--- 1000,1033 ----
  
  ### 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"',