/[texi2html]/texi2html/Tests/singular_texi/t2h_singular.init
ViewVC logotype

Diff of /texi2html/Tests/singular_texi/t2h_singular.init

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by pertusus, Sun Jan 25 23:10:04 2004 UTC revision 1.6 by pertusus, Thu Dec 1 08:38:41 2005 UTC
# Line 8  Line 8 
8  # all the others we simply "include"  # all the others we simply "include"
9    
10  # -prefix  # -prefix
11  # Set the output file prefix, prepended to all .html, .gif and .pl files.  # Set the output file prefix, prepended to all .html, .png and .pl files.
12  $PREFIX = 'sing';  $PREFIX = 'sing';
13    
14  # -expand  # -expand
# Line 28  $VERBOSE = 1; Line 28  $VERBOSE = 1;
28  # print index summary for 'cp' index  # print index summary for 'cp' index
29  $IDX_SUMMARY = 'cp';  $IDX_SUMMARY = 'cp';
30    
31    my $T2H_SING_base_images = '../singular_images/';
32    
33  # inside <BODY ..>  # inside <BODY ..>
34  $BODYTEXT = 'lang="en"  background="Mybg.gif"';  $BODYTEXT = 'lang="en"  background="'.${T2H_SING_base_images}.'Mybg.png"';
35    
36  # after <BODY>  # after <BODY>
37  $AFTER_BODY_OPEN = <<EOT;  $AFTER_BODY_OPEN = <<EOT;
# Line 39  EOT Line 41  EOT
41  $PRE_BODY_CLOSE = <<EOT;  $PRE_BODY_CLOSE = <<EOT;
42  EOT  EOT
43    
44    # if using tex4ht, must be in latex mode due to \textbf
45    $Texi2HTML::TeX4HT::STYLE='latex';
46    
47  # footer of top_page  # footer of top_page
48    
49  $print_Top_footer = \&T2H_SING_print_Top_footer;  $print_Top_footer = \&T2H_SING_print_Top_footer;
# Line 104  sub singular_banner Line 109  sub singular_banner
109    my $fh = shift;    my $fh = shift;
110    print $fh <<EOT    print $fh <<EOT
111    <a href="index.htm"><img    <a href="index.htm"><img
112      src="singular-icon-transparent.gif" width="50"      src="${T2H_SING_base_images}singular-icon-transparent.png" width="50"
113        border="0" alt="Top"></a>        border="0" alt="Top"></a>
114  EOT  EOT
115  }  }
# Line 132  if ($T2H_BLUE_BUTTONS) Line 137  if ($T2H_BLUE_BUTTONS)
137        
138  %ACTIVE_ICONS =  %ACTIVE_ICONS =
139    (    (
140     'Top',      'blue_top.gif',     'Top',      'blue_top.png',
141     'Contents', 'blue_dir.gif',     'Contents', 'blue_dir.png',
142     'Overview', '',     'Overview', '',
143     'Index',    'blue_readme.gif',     'Index',    'blue_readme.png',
144     'Back',     'blue_prev.gif',     'Back',     'blue_prev.png',
145     'FastBack', 'blue_pprev.gif',     'FastBack', 'blue_pprev.png',
146     'Prev',     'blue_pprev.gif',     'Prev',     'blue_pprev.png',
147     'Up',       'blue_up.gif',     'Up',       'blue_up.png',
148     'Next',     'blue_nnext.gif',     'Next',     'blue_nnext.png',
149     'Forward',  'blue_next.gif',     'Forward',  'blue_next.png',
150     'FastForward', 'blue_nnext.gif',     'FastForward', 'blue_nnext.png',
151     'About' ,    'blue_help.gif',     'About' ,    'blue_help.png',
152     ' ',        ''     ' ',        ''
153    );    );
154    
155  %PASSIVE_ICONS =  %PASSIVE_ICONS =
156    (    (
157     'Top',      'blue_top.gif',     'Top',      'blue_top.png',
158     'Contents', 'blue_dir.gif',     'Contents', 'blue_dir.png',
159     'Overview', '',     'Overview', '',
160     'Index',    'blue_readme.gif',     'Index',    'blue_readme.png',
161     'Back',     'blue_prev.gif',     'Back',     'blue_prev.png',
162     'FastBack', 'blue_pprev.gif',     'FastBack', 'blue_pprev.png',
163     'Prev',     'blue_pprev.gif',     'Prev',     'blue_pprev.png',
164     'Up',       'blue_up.gif',     'Up',       'blue_up.png',
165     'Next',     'blue_nnext.gif',     'Next',     'blue_nnext.png',
166     'Forward',  'blue_next.gif',     'Forward',  'blue_next.png',
167     'FastForward', 'blue_nnext.gif',     'FastForward', 'blue_nnext.png',
168     'About' ,    'blue_help.gif',     'About' ,    'blue_help.png',
169    );    );
170  }  }
171  else  else
172  {  {
173  %ACTIVE_ICONS =  %ACTIVE_ICONS =
174    (    (
175     'Top',      'a_top.gif',     'Top',      'a_top.png',
176     'Contents', 'a_tableofcon.gif',     'Contents', 'a_tableofcon.png',
177     'Overview', '',     'Overview', '',
178     'Index',    'a_index.gif',     'Index',    'a_index.png',
179     'Back',     'a_left.gif',     'Back',     'a_left.png',
180     'FastBack', 'a_leftdouble.gif',     'FastBack', 'a_leftdouble.png',
181     'Prev',     'a_leftdouble.gif',     'Prev',     'a_leftdouble.png',
182     'Up',       'a_up.gif',     'Up',       'a_up.png',
183     'Next',     'a_rightdouble.gif',     'Next',     'a_rightdouble.png',
184     'Forward',  'a_right.gif',     'Forward',  'a_right.png',
185     'FastForward', 'a_rightdouble.gif',     'FastForward', 'a_rightdouble.png',
186     'About' ,    'a_help.gif',     'About' ,    'a_help.png',
187     ' ',        'a_empty.gif'     ' ',        'a_empty.png'
188    );    );
189    
190  %PASSIVE_ICONS =  %PASSIVE_ICONS =
191    (    (
192     'Top',      'a_top_na.gif',     'Top',      'a_top_na.png',
193     'Contents', 'a_tableofcon_na.gif',     'Contents', 'a_tableofcon_na.png',
194     'Overview', '',     'Overview', '',
195     'Index',    'a_index_na.gif',     'Index',    'a_index_na.png',
196     'Back',     'a_left_na.gif',     'Back',     'a_left_na.png',
197     'FastBack', 'a_leftdouble_na.gif',     'FastBack', 'a_leftdouble_na.png',
198     'Prev',     'a_leftdouble_na.gif',     'Prev',     'a_leftdouble_na.png',
199     'Up',       'a_up_na.gif',     'Up',       'a_up_na.png',
200     'Next',     'a_rightdouble_na.gif',     'Next',     'a_rightdouble_na.png',
201     'Forward',  'a_right_na.gif',     'Forward',  'a_right_na.png',
202     'FastForward', 'a_rightdouble_na.gif',     'FastForward', 'a_rightdouble_na.png',
203     'About' ,    'a_help_na.gif',     'About' ,    'a_help_na.png',
204    );    );
205  }  }
206    
207    foreach my $hash_ref((\%ACTIVE_ICONS, \%PASSIVE_ICONS))
208    {
209            foreach my $key (keys(%$hash_ref))
210            {
211                    next if ($hash_ref->{$key} eq '');
212                    $hash_ref->{$key} = $T2H_SING_base_images.$hash_ref->{$key};
213            }
214    }
215    
216  sub T2H_SING_pre_about  sub T2H_SING_pre_about
217  {  {
218    return <<EOT;    return <<EOT;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26