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; |
---|
38 | EOT |
---|
39 | |
---|
40 | # before </BODY> |
---|
41 | $T2H_PRE_BODY_CLOSE = <<EOT; |
---|
42 | EOT |
---|
43 | |
---|
44 | # footer of page |
---|
45 | sub t2h_print_page_foot |
---|
46 | { |
---|
47 | my $fh = shift; |
---|
48 | print $fh <<EOT; |
---|
49 | <FONT SIZE="-1"> |
---|
50 | User manual for <A HREF="http://www.mathematik.uni-kl.de/~zca/Singular/"><I>Singular</I></A> version $value{VERSION}, $value{VERSION_DATE}, |
---|
51 | generated by <A HREF="$T2H_HOMEPAGE"><I>texi2html</I></A>. |
---|
52 | </FONT> |
---|
53 | $T2H_PRE_BODY_CLOSE |
---|
54 | </BODY> |
---|
55 | </HTML> |
---|
56 | EOT |
---|
57 | } |
---|
58 | |
---|
59 | |
---|
60 | sub singular_banner |
---|
61 | { |
---|
62 | my $fh = shift; |
---|
63 | print $fh <<EOT |
---|
64 | <a href="index.htm"><img |
---|
65 | src="singular-icon-transparent.gif" width="50" |
---|
66 | border="0" ALT="Top"></a> |
---|
67 | EOT |
---|
68 | } |
---|
69 | |
---|
70 | $T2H_VERTICAL_HEAD_NAVIGATION = 1; |
---|
71 | @T2H_SECTION_BUTTONS = |
---|
72 | ( |
---|
73 | \&singular_banner, |
---|
74 | 'Back', 'Forward', 'FastBack', 'FastForward', |
---|
75 | 'Up', 'Top', 'Contents', 'Index', 'About' |
---|
76 | ); |
---|
77 | |
---|
78 | # buttons for misc stuff |
---|
79 | @T2H_MISC_BUTTONS = (\&singular_banner, 'Top', 'Contents', 'Index', 'About'); |
---|
80 | |
---|
81 | $T2H_ICONS = 1; |
---|
82 | |
---|
83 | if ($T2H_BLUE_BUTTONS) |
---|
84 | { |
---|
85 | |
---|
86 | %T2H_ACTIVE_ICONS = |
---|
87 | ( |
---|
88 | 'Top', 'blue_top.gif', |
---|
89 | 'Contents', 'blue_dir.gif', |
---|
90 | 'Overview', '', |
---|
91 | 'Index', 'blue_readme.gif', |
---|
92 | 'Back', 'blue_prev.gif', |
---|
93 | 'FastBack', 'blue_pprev.gif', |
---|
94 | 'Prev', 'blue_pprev.gif', |
---|
95 | 'Up', 'blue_up.gif', |
---|
96 | 'Next', 'blue_nnext.gif', |
---|
97 | 'Forward', 'blue_next.gif', |
---|
98 | 'FastForward', 'blue_nnext.gif', |
---|
99 | 'About' , 'blue_help.gif', |
---|
100 | ' ', '' |
---|
101 | ); |
---|
102 | |
---|
103 | %T2H_PASSIVE_ICONS = |
---|
104 | ( |
---|
105 | 'Top', 'blue_top.gif', |
---|
106 | 'Contents', 'blue_dir.gif', |
---|
107 | 'Overview', '', |
---|
108 | 'Index', 'blue_readme.gif', |
---|
109 | 'Back', 'blue_prev.gif', |
---|
110 | 'FastBack', 'blue_pprev.gif', |
---|
111 | 'Prev', 'blue_pprev.gif', |
---|
112 | 'Up', 'blue_up.gif', |
---|
113 | 'Next', 'blue_nnext.gif', |
---|
114 | 'Forward', 'blue_next.gif', |
---|
115 | 'FastForward', 'blue_nnext.gif', |
---|
116 | 'About' , 'blue_help.gif', |
---|
117 | ); |
---|
118 | } |
---|
119 | else |
---|
120 | { |
---|
121 | %T2H_ACTIVE_ICONS = |
---|
122 | ( |
---|
123 | 'Top', 'a_top.gif', |
---|
124 | 'Contents', 'a_tableofcon.gif', |
---|
125 | 'Overview', '', |
---|
126 | 'Index', 'a_index.gif', |
---|
127 | 'Back', 'a_left.gif', |
---|
128 | 'FastBack', 'a_leftdouble.gif', |
---|
129 | 'Prev', 'a_leftdouble.gif', |
---|
130 | 'Up', 'a_up.gif', |
---|
131 | 'Next', 'a_rightdouble.gif', |
---|
132 | 'Forward', 'a_right.gif', |
---|
133 | 'FastForward', 'a_rightdouble.gif', |
---|
134 | 'About' , 'a_help.gif', |
---|
135 | ' ', 'a_empty.gif' |
---|
136 | ); |
---|
137 | |
---|
138 | %T2H_PASSIVE_ICONS = |
---|
139 | ( |
---|
140 | 'Top', 'a_top_na.gif', |
---|
141 | 'Contents', 'a_tableofcon_na.gif', |
---|
142 | 'Overview', '', |
---|
143 | 'Index', 'a_index_na.gif', |
---|
144 | 'Back', 'a_left_na.gif', |
---|
145 | 'FastBack', 'a_leftdouble_na.gif', |
---|
146 | 'Prev', 'a_leftdouble_na.gif', |
---|
147 | 'Up', 'a_up_na.gif', |
---|
148 | 'Next', 'a_rightdouble_na.gif', |
---|
149 | 'Forward', 'a_right_na.gif', |
---|
150 | 'FastForward', 'a_rightdouble_na.gif', |
---|
151 | 'About' , 'a_help_na.gif', |
---|
152 | ); |
---|
153 | } |
---|
154 | |
---|
155 | sub t2h_pre_about |
---|
156 | { |
---|
157 | return <<EOT; |
---|
158 | This 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}. |
---|
159 | <BR> |
---|
160 | |
---|
161 | For questions and comments about Singular, send email to <A href="mailto:singular\@mathematik.uni-kl.de">singular\@mathematik.uni-kl.de</a>. |
---|
162 | |
---|
163 | <P></P> |
---|
164 | This document was generated by <A HREF="$T2H_HOMEPAGE"><I>$THISPROG</I></A> |
---|
165 | and <ahref="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT></a> |
---|
166 | and is best viewed with a 16 or 18 point screen font. |
---|
167 | <P></P> |
---|
168 | EOT |
---|
169 | } |
---|
170 | |
---|
171 | $T2H_PRE_ABOUT = \&t2h_pre_about; |
---|
172 | |
---|
173 | 1; # This must be the last line |
---|