[6b80bb] | 1 | # -*-perl-*- |
---|
[f36635] | 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 | |
---|
[cedc3f] | 10 | # -prefix |
---|
| 11 | # Set the output file prefix, prepended to all .html, .gif and .pl files. |
---|
| 12 | $T2H_PREFIX = 'sing'; |
---|
| 13 | |
---|
[6b80bb] | 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"; |
---|
[f36635] | 18 | |
---|
| 19 | # if set, creates one html file per node |
---|
[6b80bb] | 20 | $T2H_SPLIT = 'node'; |
---|
[f36635] | 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 | |
---|
[280e7f] | 28 | # print index summary for 'cp' index |
---|
| 29 | $T2H_IDX_SUMMARY = 'cp'; |
---|
| 30 | |
---|
[877605] | 31 | # inside <BODY ..> |
---|
[0a03bce] | 32 | $T2H_BODYTEXT = 'LANG="EN" BACKGROUND="Mybg.gif"'; |
---|
[877605] | 33 | |
---|
| 34 | # after <BODY> |
---|
| 35 | $T2H_AFTER_BODY_OPEN = <<EOT; |
---|
| 36 | EOT |
---|
| 37 | |
---|
| 38 | # before </BODY> |
---|
| 39 | $T2H_PRE_BODY_CLOSE = <<EOT; |
---|
| 40 | EOT |
---|
| 41 | |
---|
[7088317] | 42 | # footer of top_page |
---|
| 43 | |
---|
[a823a8] | 44 | $T2H_print_Top_footer = \&T2H_SING_print_Top_footer; |
---|
| 45 | $T2H_print_page_foot = \&T2H_SING_print_page_foot; |
---|
| 46 | |
---|
| 47 | sub T2H_SING_print_Top_footer |
---|
[7088317] | 48 | { |
---|
| 49 | my $fh = shift; |
---|
| 50 | print $fh "<BLOCKQUOTE>\n" . |
---|
| 51 | t2h_anchor('', $T2H_HREF{Contents}, "Table of Contents") . |
---|
| 52 | "\n<BR>\n" . |
---|
| 53 | t2h_anchor('', $T2H_HREF{About}, "About this document") . |
---|
| 54 | "</BLOCKQUOTE>"; |
---|
| 55 | |
---|
[a823a8] | 56 | &$T2H_print_foot_navigation($fh); |
---|
| 57 | &$T2H_print_page_foot($fh) if $T2H_SPLIT; |
---|
[7088317] | 58 | } |
---|
| 59 | |
---|
[877605] | 60 | # footer of page |
---|
[a823a8] | 61 | sub T2H_SING_print_page_foot |
---|
[877605] | 62 | { |
---|
| 63 | my $fh = shift; |
---|
| 64 | print $fh <<EOT; |
---|
| 65 | <FONT SIZE="-1"> |
---|
[a823a8] | 66 | User manual for <A HREF="http://www.singular.uni-kl.de/"><I>Singular</I></A> version $value{VERSION}, $value{VERSION_DATE}, |
---|
[1c0823] | 67 | generated by <I>texi2html</I>. |
---|
[877605] | 68 | </FONT> |
---|
| 69 | $T2H_PRE_BODY_CLOSE |
---|
| 70 | </BODY> |
---|
| 71 | </HTML> |
---|
| 72 | EOT |
---|
| 73 | } |
---|
[0a03bce] | 74 | |
---|
| 75 | |
---|
| 76 | sub singular_banner |
---|
| 77 | { |
---|
| 78 | my $fh = shift; |
---|
| 79 | print $fh <<EOT |
---|
| 80 | <a href="index.htm"><img |
---|
| 81 | src="singular-icon-transparent.gif" width="50" |
---|
| 82 | border="0" ALT="Top"></a> |
---|
| 83 | EOT |
---|
| 84 | } |
---|
| 85 | |
---|
[4e425a] | 86 | # always use bottom navigation |
---|
| 87 | $T2H_WORDS_IN_PAGE = 0; |
---|
| 88 | |
---|
[0a03bce] | 89 | $T2H_VERTICAL_HEAD_NAVIGATION = 1; |
---|
[58f1df7] | 90 | @T2H_SECTION_BUTTONS = |
---|
| 91 | ( |
---|
[0a03bce] | 92 | \&singular_banner, |
---|
| 93 | 'Back', 'Forward', 'FastBack', 'FastForward', |
---|
| 94 | 'Up', 'Top', 'Contents', 'Index', 'About' |
---|
[58f1df7] | 95 | ); |
---|
[460c1e1] | 96 | |
---|
[0a03bce] | 97 | # buttons for misc stuff |
---|
| 98 | @T2H_MISC_BUTTONS = (\&singular_banner, 'Top', 'Contents', 'Index', 'About'); |
---|
| 99 | |
---|
| 100 | $T2H_ICONS = 1; |
---|
| 101 | |
---|
| 102 | if ($T2H_BLUE_BUTTONS) |
---|
| 103 | { |
---|
| 104 | |
---|
[460c1e1] | 105 | %T2H_ACTIVE_ICONS = |
---|
| 106 | ( |
---|
| 107 | 'Top', 'blue_top.gif', |
---|
| 108 | 'Contents', 'blue_dir.gif', |
---|
| 109 | 'Overview', '', |
---|
| 110 | 'Index', 'blue_readme.gif', |
---|
[58f1df7] | 111 | 'Back', 'blue_prev.gif', |
---|
| 112 | 'FastBack', 'blue_pprev.gif', |
---|
| 113 | 'Prev', 'blue_pprev.gif', |
---|
| 114 | 'Up', 'blue_up.gif', |
---|
| 115 | 'Next', 'blue_nnext.gif', |
---|
| 116 | 'Forward', 'blue_next.gif', |
---|
| 117 | 'FastForward', 'blue_nnext.gif', |
---|
[460c1e1] | 118 | 'About' , 'blue_help.gif', |
---|
| 119 | ' ', '' |
---|
| 120 | ); |
---|
| 121 | |
---|
| 122 | %T2H_PASSIVE_ICONS = |
---|
| 123 | ( |
---|
| 124 | 'Top', 'blue_top.gif', |
---|
| 125 | 'Contents', 'blue_dir.gif', |
---|
| 126 | 'Overview', '', |
---|
| 127 | 'Index', 'blue_readme.gif', |
---|
[58f1df7] | 128 | 'Back', 'blue_prev.gif', |
---|
| 129 | 'FastBack', 'blue_pprev.gif', |
---|
| 130 | 'Prev', 'blue_pprev.gif', |
---|
| 131 | 'Up', 'blue_up.gif', |
---|
| 132 | 'Next', 'blue_nnext.gif', |
---|
| 133 | 'Forward', 'blue_next.gif', |
---|
| 134 | 'FastForward', 'blue_nnext.gif', |
---|
[460c1e1] | 135 | 'About' , 'blue_help.gif', |
---|
| 136 | ); |
---|
[0a03bce] | 137 | } |
---|
| 138 | else |
---|
| 139 | { |
---|
| 140 | %T2H_ACTIVE_ICONS = |
---|
| 141 | ( |
---|
| 142 | 'Top', 'a_top.gif', |
---|
| 143 | 'Contents', 'a_tableofcon.gif', |
---|
| 144 | 'Overview', '', |
---|
| 145 | 'Index', 'a_index.gif', |
---|
| 146 | 'Back', 'a_left.gif', |
---|
| 147 | 'FastBack', 'a_leftdouble.gif', |
---|
| 148 | 'Prev', 'a_leftdouble.gif', |
---|
| 149 | 'Up', 'a_up.gif', |
---|
| 150 | 'Next', 'a_rightdouble.gif', |
---|
| 151 | 'Forward', 'a_right.gif', |
---|
| 152 | 'FastForward', 'a_rightdouble.gif', |
---|
| 153 | 'About' , 'a_help.gif', |
---|
| 154 | ' ', 'a_empty.gif' |
---|
| 155 | ); |
---|
[460c1e1] | 156 | |
---|
[0a03bce] | 157 | %T2H_PASSIVE_ICONS = |
---|
| 158 | ( |
---|
| 159 | 'Top', 'a_top_na.gif', |
---|
| 160 | 'Contents', 'a_tableofcon_na.gif', |
---|
| 161 | 'Overview', '', |
---|
| 162 | 'Index', 'a_index_na.gif', |
---|
| 163 | 'Back', 'a_left_na.gif', |
---|
| 164 | 'FastBack', 'a_leftdouble_na.gif', |
---|
| 165 | 'Prev', 'a_leftdouble_na.gif', |
---|
| 166 | 'Up', 'a_up_na.gif', |
---|
| 167 | 'Next', 'a_rightdouble_na.gif', |
---|
| 168 | 'Forward', 'a_right_na.gif', |
---|
| 169 | 'FastForward', 'a_rightdouble_na.gif', |
---|
| 170 | 'About' , 'a_help_na.gif', |
---|
| 171 | ); |
---|
| 172 | } |
---|
[58f1df7] | 173 | |
---|
[a823a8] | 174 | sub T2H_SING_pre_about |
---|
[460c1e1] | 175 | { |
---|
| 176 | return <<EOT; |
---|
[a823a8] | 177 | This document is the user manual for <A HREF="http://www.singular.uni-kl.de/"><I>Singular</I></A> version $value{VERSION}, $value{VERSION_DATE}. |
---|
[460c1e1] | 178 | <BR> |
---|
| 179 | |
---|
| 180 | For questions and comments about Singular, send email to <A href="mailto:singular\@mathematik.uni-kl.de">singular\@mathematik.uni-kl.de</a>. |
---|
| 181 | |
---|
| 182 | <P></P> |
---|
[1c0823] | 183 | This document was generated by <I>$THISPROG</I> |
---|
[58f1df7] | 184 | and is best viewed with a 16 or 18 point screen font. |
---|
[460c1e1] | 185 | <P></P> |
---|
| 186 | EOT |
---|
| 187 | } |
---|
| 188 | |
---|
[a823a8] | 189 | $T2H_PRE_ABOUT = \&T2H_SING_pre_about; |
---|
[877605] | 190 | |
---|
[f36635] | 191 | 1; # This must be the last line |
---|