source: git/doc/t2h_singular.init @ a89a22c

spielwiese
Last change on this file since a89a22c was 7088317, checked in by Olaf Bachmann <obachman@…>, 25 years ago
* as we go along git-svn-id: file:///usr/local/Singular/svn/trunk@3624 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 4.6 KB
Line 
1# -*-perl-*-
2######################################################################
3#
4# File: t2h_singular.init init file for singular t2h
5#
6
7# we only redefine things which ar of relevance to singular
8# all the others we simply "include"
9
10# -prefix
11# Set the output file prefix, prepended to all .html, .gif and .pl files.
12$T2H_PREFIX = 'sing';
13
14# -expand
15# if set to "tex" (or, "info") expand @iftex and @tex (or, @ifinfo) sections
16# else, neither expand @iftex, @tex, nor @ifinfo sections
17$T2H_EXPAND = "tex";
18
19# if set, creates one html file per node
20$T2H_SPLIT = 'node';
21
22#if set cross-references are given without section numbers
23$T2H_SHORT_REF = 1;
24
25# if set, chatter about what we are doing
26$T2H_VERBOSE = 1;
27
28# print index summary for 'cp' index
29$T2H_IDX_SUMMARY = 'cp';
30
31$T2H_STANDARD = 1;
32
33# inside <BODY ..>
34$T2H_BODYTEXT = 'LANG="EN"  BACKGROUND="Mybg.gif"';
35
36# after <BODY>
37$T2H_AFTER_BODY_OPEN = <<EOT;
38EOT
39
40# before </BODY>
41$T2H_PRE_BODY_CLOSE = <<EOT;
42EOT
43
44# footer of top_page
45
46sub t2h_print_Top_footer
47{
48  my $fh = shift;
49  print  $fh "<BLOCKQUOTE>\n" .
50    t2h_anchor('', $T2H_HREF{Contents}, "Table of Contents") .
51      "\n<BR>\n" .
52        t2h_anchor('', $T2H_HREF{About}, "About this document") .
53          "</BLOCKQUOTE>";
54
55  t2h_print_foot_navigation($fh);
56  t2h_print_page_foot($fh) if $T2H_SPLIT; 
57}
58
59# footer of page
60sub t2h_print_page_foot
61{
62  my $fh = shift;
63  print $fh <<EOT;
64<FONT SIZE="-1">
65&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <A HREF="http://www.mathematik.uni-kl.de/~zca/Singular/"><I>Singular</I></A> version $value{VERSION}, $value{VERSION_DATE},
66generated by <A HREF="$T2H_HOMEPAGE"><I>texi2html</I></A>.
67</FONT>
68$T2H_PRE_BODY_CLOSE
69</BODY>
70</HTML>
71EOT
72}
73
74
75sub singular_banner
76{
77  my $fh = shift;
78  print $fh <<EOT
79  <a href="index.htm"><img
80    src="singular-icon-transparent.gif" width="50"
81      border="0" ALT="Top"></a>
82EOT
83}
84
85# always use bottom navigation
86$T2H_WORDS_IN_PAGE = 0;
87
88$T2H_VERTICAL_HEAD_NAVIGATION = 1;
89@T2H_SECTION_BUTTONS =
90  (
91   \&singular_banner,
92   'Back', 'Forward',   'FastBack', 'FastForward',   
93   'Up', 'Top', 'Contents', 'Index', 'About' 
94  );
95
96# buttons for misc stuff
97@T2H_MISC_BUTTONS = (\&singular_banner, 'Top', 'Contents', 'Index', 'About');
98
99$T2H_ICONS = 1;
100
101if ($T2H_BLUE_BUTTONS)
102{
103 
104%T2H_ACTIVE_ICONS =
105  (
106   'Top',      'blue_top.gif',
107   'Contents', 'blue_dir.gif',
108   'Overview', '',
109   'Index',    'blue_readme.gif',
110   'Back',     'blue_prev.gif',
111   'FastBack', 'blue_pprev.gif',
112   'Prev',     'blue_pprev.gif',
113   'Up',       'blue_up.gif',
114   'Next',     'blue_nnext.gif',
115   'Forward',  'blue_next.gif',
116   'FastForward', 'blue_nnext.gif',
117   'About' ,    'blue_help.gif',
118   ' ',        ''
119  );
120
121%T2H_PASSIVE_ICONS =
122  (
123   'Top',      'blue_top.gif',
124   'Contents', 'blue_dir.gif',
125   'Overview', '',
126   'Index',    'blue_readme.gif',
127   'Back',     'blue_prev.gif',
128   'FastBack', 'blue_pprev.gif',
129   'Prev',     'blue_pprev.gif',
130   'Up',       'blue_up.gif',
131   'Next',     'blue_nnext.gif',
132   'Forward',  'blue_next.gif',
133   'FastForward', 'blue_nnext.gif',
134   'About' ,    'blue_help.gif',
135  );
136}
137else
138{
139%T2H_ACTIVE_ICONS =
140  (
141   'Top',      'a_top.gif',
142   'Contents', 'a_tableofcon.gif',
143   'Overview', '',
144   'Index',    'a_index.gif',
145   'Back',     'a_left.gif',
146   'FastBack', 'a_leftdouble.gif',
147   'Prev',     'a_leftdouble.gif',
148   'Up',       'a_up.gif',
149   'Next',     'a_rightdouble.gif',
150   'Forward',  'a_right.gif',
151   'FastForward', 'a_rightdouble.gif',
152   'About' ,    'a_help.gif',
153   ' ',        'a_empty.gif'
154  );
155
156%T2H_PASSIVE_ICONS =
157  (
158   'Top',      'a_top_na.gif',
159   'Contents', 'a_tableofcon_na.gif',
160   'Overview', '',
161   'Index',    'a_index_na.gif',
162   'Back',     'a_left_na.gif',
163   'FastBack', 'a_leftdouble_na.gif',
164   'Prev',     'a_leftdouble_na.gif',
165   'Up',       'a_up_na.gif',
166   'Next',     'a_rightdouble_na.gif',
167   'Forward',  'a_right_na.gif',
168   'FastForward', 'a_rightdouble_na.gif',
169   'About' ,    'a_help_na.gif',
170  );
171}
172
173sub t2h_pre_about
174{
175  return <<EOT;
176This document is the user manual for <A HREF="http://www.mathematik.uni-kl.de/~zca/Singular/"><I>Singular</I></A> version $value{VERSION}, $value{VERSION_DATE}.
177<BR>  
178
179For questions and comments about Singular, send email to <A href="mailto:singular\@mathematik.uni-kl.de">singular\@mathematik.uni-kl.de</a>.
180 
181<P></P> 
182This document was generated by <A HREF="$T2H_HOMEPAGE"><I>$THISPROG</I></A>
183and <ahref="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT></a>
184and is best  viewed with a 16 or 18 point screen font.
185<P></P> 
186EOT
187}
188
189$T2H_PRE_ABOUT = \&t2h_pre_about;
190
1911;      # This must be the last line
Note: See TracBrowser for help on using the repository browser.