1 | #LaTeX2HTML Version 96.1 : dot.latex2html-init |
---|
2 | # |
---|
3 | |
---|
4 | ## initialization for latex2html for Singular manual generation |
---|
5 | ## obachman 3/99 |
---|
6 | |
---|
7 | # |
---|
8 | # Options controlling Titles, File-Names, Tracing and Sectioning |
---|
9 | # |
---|
10 | $TITLE = ''; |
---|
11 | |
---|
12 | $SHORTEXTN = 0; |
---|
13 | |
---|
14 | $LONG_TITLES = 0; |
---|
15 | |
---|
16 | $DESTDIR = ''; # should be overwritten by cmd-line argument |
---|
17 | |
---|
18 | $NO_SUBDIR = 0;# should be overwritten by cmd-line argument |
---|
19 | |
---|
20 | $PREFIX = ''; # should be overwritten by cmd-line argument |
---|
21 | |
---|
22 | $AUTO_PREFIX = 0; # this is needed, so that prefix settings are used |
---|
23 | |
---|
24 | $AUTO_LINK = 0; |
---|
25 | |
---|
26 | $SPLIT = 0; |
---|
27 | |
---|
28 | $MAX_LINK_DEPTH = 0; |
---|
29 | |
---|
30 | $TMP = ''; # should be overwritten by cmd-line argument |
---|
31 | |
---|
32 | $DEBUG = 1; |
---|
33 | |
---|
34 | $VERBOSE = 5; |
---|
35 | |
---|
36 | # |
---|
37 | # Options controlling Extensions and Special Features |
---|
38 | # |
---|
39 | $HTML_VERSION = "3.2"; |
---|
40 | |
---|
41 | $TEXDEFS = 1; # we absolutely need that |
---|
42 | |
---|
43 | $EXTERNAL_FILE = ''; |
---|
44 | |
---|
45 | $SCALABLE_FONTS = 1; |
---|
46 | |
---|
47 | $NO_SIMPLE_MATH = 1; |
---|
48 | |
---|
49 | $LOCAL_ICONS = 1; |
---|
50 | |
---|
51 | $SHORT_INDEX = 0; |
---|
52 | |
---|
53 | $NO_FOOTNODE = 1; |
---|
54 | |
---|
55 | $ADDRESS = ''; |
---|
56 | |
---|
57 | $INFO = ''; |
---|
58 | |
---|
59 | # |
---|
60 | # Switches controlling Image Generation |
---|
61 | # |
---|
62 | $ASCII_MODE = 0; |
---|
63 | |
---|
64 | $NOLATEX = 0; |
---|
65 | |
---|
66 | $EXTERNAL_IMAGES = 0; |
---|
67 | |
---|
68 | $PS_IMAGES = 0; |
---|
69 | |
---|
70 | $NO_IMAGES = 0; |
---|
71 | |
---|
72 | $IMAGES_ONLY = 0; |
---|
73 | |
---|
74 | $REUSE = 2; |
---|
75 | |
---|
76 | $ANTI_ALIAS = 1; |
---|
77 | |
---|
78 | $ANTI_ALIAS_TEXT = 1; |
---|
79 | |
---|
80 | # |
---|
81 | #Switches controlling Navigation Panels |
---|
82 | # |
---|
83 | $NO_NAVIGATION = 1; |
---|
84 | $ADDRESS = ''; |
---|
85 | $INFO = 0; # 0 = do not make a "About this document..." section |
---|
86 | |
---|
87 | # |
---|
88 | #Switches for Linking to other documents |
---|
89 | # |
---|
90 | # actuall -- we don't care |
---|
91 | |
---|
92 | $MAX_SPLIT_DEPTH = 0; # Stop making separate files at this depth |
---|
93 | |
---|
94 | $MAX_LINK_DEPTH = 0; # Stop showing child nodes at this depth |
---|
95 | |
---|
96 | $NOLATEX = 0; # 1 = do not pass unknown environments to Latex |
---|
97 | |
---|
98 | $EXTERNAL_IMAGES = 0; # 1 = leave the images outside the document |
---|
99 | |
---|
100 | $ASCII_MODE = 0; # 1 = do not use any icons or internal images |
---|
101 | |
---|
102 | # 1 = use links to external postscript images rather than inlined bitmap |
---|
103 | # images. |
---|
104 | $PS_IMAGES = 0; |
---|
105 | $SHOW_SECTION_NUMBERS = 0; |
---|
106 | |
---|
107 | ### Other global variables ############################################### |
---|
108 | $CHILDLINE = ""; |
---|
109 | |
---|
110 | # This is the line width measured in pixels and it is used to right justify |
---|
111 | # equations and equation arrays; |
---|
112 | $LINE_WIDTH = 500; |
---|
113 | |
---|
114 | # Used in conjunction with AUTO_NAVIGATION |
---|
115 | $WORDS_IN_PAGE = 300; |
---|
116 | |
---|
117 | # Affects ONLY the way accents are processed |
---|
118 | $default_language = 'english'; |
---|
119 | |
---|
120 | # The value of this variable determines how many words to use in each |
---|
121 | # title that is added to the navigation panel (see below) |
---|
122 | # |
---|
123 | $WORDS_IN_NAVIGATION_PANEL_TITLES = 0; |
---|
124 | |
---|
125 | # This number will determine the size of the equations, special characters, |
---|
126 | # and anything which will be converted into an inlined image |
---|
127 | # *except* "image generating environments" such as "figure", "table" |
---|
128 | # or "minipage". |
---|
129 | # Effective values are those greater than 0. |
---|
130 | # Sensible values are between 0.1 - 4. |
---|
131 | $MATH_SCALE_FACTOR = 1.5; |
---|
132 | |
---|
133 | # This number will determine the size of |
---|
134 | # image generating environments such as "figure", "table" or "minipage". |
---|
135 | # Effective values are those greater than 0. |
---|
136 | # Sensible values are between 0.1 - 4. |
---|
137 | $FIGURE_SCALE_FACTOR = 1.6; |
---|
138 | |
---|
139 | |
---|
140 | # If both of the following two variables are set then the "Up" button |
---|
141 | # of the navigation panel in the first node/page of a converted document |
---|
142 | # will point to $EXTERNAL_UP_LINK. $EXTERNAL_UP_TITLE should be set |
---|
143 | # to some text which describes this external link. |
---|
144 | $EXTERNAL_UP_LINK = ""; |
---|
145 | $EXTERNAL_UP_TITLE = ""; |
---|
146 | |
---|
147 | # If this is set then the resulting HTML will look marginally better if viewed |
---|
148 | # with Netscape. |
---|
149 | $NETSCAPE_HTML = 1; |
---|
150 | |
---|
151 | # Valid paper sizes are "letter", "legal", "a4","a3","a2" and "a0" |
---|
152 | # Paper sizes has no effect other than in the time it takes to create inlined |
---|
153 | # images and in whether large images can be created at all ie |
---|
154 | # - larger paper sizes *MAY* help with large image problems |
---|
155 | # - smaller paper sizes are quicker to handle |
---|
156 | $PAPERSIZE = "a4"; |
---|
157 | |
---|
158 | # Replace "english" with another language in order to tell LaTeX2HTML that you |
---|
159 | # want some generated section titles (eg "Table of Contents" or "References") |
---|
160 | # to appear in a different language. Currently only "english" and "french" |
---|
161 | # is supported but it is very easy to add your own. See the example in the |
---|
162 | # file "latex2html.config" |
---|
163 | $TITLES_LANGUAGE = "english"; |
---|
164 | |
---|
165 | ### Navigation Panel ########################################################## |
---|
166 | # |
---|
167 | # The navigation panel is constructed out of buttons and section titles. |
---|
168 | # These can be configured in any combination with arbitrary text and |
---|
169 | # HTML tags interspersed between them. |
---|
170 | # The buttons available are: |
---|
171 | # $PREVIOUS - points to the previous section |
---|
172 | # $UP - points up to the "parent" section |
---|
173 | # $NEXT - points to the next section |
---|
174 | # $NEXT_GROUP - points to the next "group" section |
---|
175 | # $PREVIOUS_GROUP - points to the previous "group" section |
---|
176 | # $CONTENTS - points to the contents page if there is one |
---|
177 | # $INDEX - points to the index page if there is one |
---|
178 | # |
---|
179 | # If the corresponding section exists the button will contain an |
---|
180 | # active link to that section. If the corresponding section does |
---|
181 | # not exist the button will be inactive. |
---|
182 | # |
---|
183 | # Also for each of the $PREVIOUS $UP $NEXT $NEXT_GROUP and $PREVIOUS_GROUP |
---|
184 | # buttons there are equivalent $PREVIOUS_TITLE, $UP_TITLE, etc variables |
---|
185 | # which contain the titles of their corresponding sections. |
---|
186 | # Each title is empty if there is no corresponding section. |
---|
187 | # |
---|
188 | # The subroutine below constructs the navigation panels in each page. |
---|
189 | # Feel free to mix and match buttons, titles, your own text, your logos, |
---|
190 | # and arbitrary HTML (the "." is the Perl concatenation operator). |
---|
191 | sub top_navigation_panel { |
---|
192 | # |
---|
193 | # # Now add a few buttons with a space between them |
---|
194 | # "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" . |
---|
195 | # |
---|
196 | # "<BR>\n" . # Line break |
---|
197 | # |
---|
198 | # # If ``next'' section exists, add its title to the navigation panel |
---|
199 | # ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . |
---|
200 | # |
---|
201 | # # Similarly with the ``up'' title ... |
---|
202 | # ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . |
---|
203 | # |
---|
204 | # # ... and the ``previous'' title |
---|
205 | # ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) . |
---|
206 | # |
---|
207 | # # Line Break, horizontal rule (3-d dividing line) and new paragraph |
---|
208 | # "<BR> <P>\n" |
---|
209 | } |
---|
210 | |
---|
211 | sub bot_navigation_panel { |
---|
212 | # # Start with a horizontal rule (3-d dividing line) |
---|
213 | # "<HR>". |
---|
214 | # |
---|
215 | # # Now add a few buttons with a space between them |
---|
216 | # "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" . |
---|
217 | # |
---|
218 | # "<BR>\n" . # Line break |
---|
219 | # |
---|
220 | # # If ``next'' section exists, add its title to the navigation panel |
---|
221 | # ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . |
---|
222 | # |
---|
223 | # # Similarly with the ``up'' title ... |
---|
224 | # ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . |
---|
225 | # |
---|
226 | # # ... and the ``previous'' title |
---|
227 | # ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) |
---|
228 | # |
---|
229 | } |
---|
230 | |
---|
231 | 1; # This must be the last line |
---|