source: git/doc/t2h_singular.init @ 2e0b620

spielwiese
Last change on this file since 2e0b620 was 4e425a, checked in by Olaf Bachmann <obachman@…>, 25 years ago
* lib2doc * new parsing of help strings git-svn-id: file:///usr/local/Singular/svn/trunk@3387 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 4.2 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 page
45sub t2h_print_page_foot
46{
47  my $fh = shift;
48  print $fh <<EOT;
49<FONT SIZE="-1">
50&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},
51generated by <A HREF="$T2H_HOMEPAGE"><I>texi2html</I></A>.
52</FONT>
53$T2H_PRE_BODY_CLOSE
54</BODY>
55</HTML>
56EOT
57}
58
59
60sub 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>
67EOT
68}
69
70# always use bottom navigation
71$T2H_WORDS_IN_PAGE = 0;
72
73$T2H_VERTICAL_HEAD_NAVIGATION = 1;
74@T2H_SECTION_BUTTONS =
75  (
76   \&singular_banner,
77   'Back', 'Forward',   'FastBack', 'FastForward',   
78   'Up', 'Top', 'Contents', 'Index', 'About' 
79  );
80
81# buttons for misc stuff
82@T2H_MISC_BUTTONS = (\&singular_banner, 'Top', 'Contents', 'Index', 'About');
83
84$T2H_ICONS = 1;
85
86if ($T2H_BLUE_BUTTONS)
87{
88 
89%T2H_ACTIVE_ICONS =
90  (
91   'Top',      'blue_top.gif',
92   'Contents', 'blue_dir.gif',
93   'Overview', '',
94   'Index',    'blue_readme.gif',
95   'Back',     'blue_prev.gif',
96   'FastBack', 'blue_pprev.gif',
97   'Prev',     'blue_pprev.gif',
98   'Up',       'blue_up.gif',
99   'Next',     'blue_nnext.gif',
100   'Forward',  'blue_next.gif',
101   'FastForward', 'blue_nnext.gif',
102   'About' ,    'blue_help.gif',
103   ' ',        ''
104  );
105
106%T2H_PASSIVE_ICONS =
107  (
108   'Top',      'blue_top.gif',
109   'Contents', 'blue_dir.gif',
110   'Overview', '',
111   'Index',    'blue_readme.gif',
112   'Back',     'blue_prev.gif',
113   'FastBack', 'blue_pprev.gif',
114   'Prev',     'blue_pprev.gif',
115   'Up',       'blue_up.gif',
116   'Next',     'blue_nnext.gif',
117   'Forward',  'blue_next.gif',
118   'FastForward', 'blue_nnext.gif',
119   'About' ,    'blue_help.gif',
120  );
121}
122else
123{
124%T2H_ACTIVE_ICONS =
125  (
126   'Top',      'a_top.gif',
127   'Contents', 'a_tableofcon.gif',
128   'Overview', '',
129   'Index',    'a_index.gif',
130   'Back',     'a_left.gif',
131   'FastBack', 'a_leftdouble.gif',
132   'Prev',     'a_leftdouble.gif',
133   'Up',       'a_up.gif',
134   'Next',     'a_rightdouble.gif',
135   'Forward',  'a_right.gif',
136   'FastForward', 'a_rightdouble.gif',
137   'About' ,    'a_help.gif',
138   ' ',        'a_empty.gif'
139  );
140
141%T2H_PASSIVE_ICONS =
142  (
143   'Top',      'a_top_na.gif',
144   'Contents', 'a_tableofcon_na.gif',
145   'Overview', '',
146   'Index',    'a_index_na.gif',
147   'Back',     'a_left_na.gif',
148   'FastBack', 'a_leftdouble_na.gif',
149   'Prev',     'a_leftdouble_na.gif',
150   'Up',       'a_up_na.gif',
151   'Next',     'a_rightdouble_na.gif',
152   'Forward',  'a_right_na.gif',
153   'FastForward', 'a_rightdouble_na.gif',
154   'About' ,    'a_help_na.gif',
155  );
156}
157
158sub t2h_pre_about
159{
160  return <<EOT;
161This 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}.
162<BR>  
163
164For questions and comments about Singular, send email to <A href="mailto:singular\@mathematik.uni-kl.de">singular\@mathematik.uni-kl.de</a>.
165 
166<P></P> 
167This document was generated by <A HREF="$T2H_HOMEPAGE"><I>$THISPROG</I></A>
168and <ahref="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT></a>
169and is best  viewed with a 16 or 18 point screen font.
170<P></P> 
171EOT
172}
173
174$T2H_PRE_ABOUT = \&t2h_pre_about;
175
1761;      # This must be the last line
Note: See TracBrowser for help on using the repository browser.