1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
|
# Configuration file for use with doc2html.pl, which is used
# to index Word, WordPerfect , etc. files using Ht://dig.
#
# Based on wp2html.cfg file supplied with wp2html version 3.0
# The special token "typeout" simply outputs the given text
# and can be used to inform users of versions, configuration changes etc.
typeout=""
#------------------- Single character translations ---------------
# Protect HTML magic symbols.
'<'="<"
'>'=">"
'&'="&"
'"'="""
#------------------- WP code translations ---------------
# File header. BEGIN is called before any text is output
# BEGIN is passed three strings being the
# Input Directory, Input file name and Input file type.
# Do what you like with them!
BEGIN="<HTML>
<HEAD>
<Title>%X<XDocSubject></Title>
<META name=\"keywords\" content=\"%X<XDocKeywords>\">
<META name=\"description\" content=\"%X<XDocAbstract>\">
</HEAD>
<BODY>
<p>
%xH
"
# Beginning of a subpart. This is called for each file.
begin="<html>
<head>
<title>%X<XDocSubject - %O</title>
</head>
<body>\n"
# File end. END is called at the end of the document
# You may wish to insert signatures etc.
END="<p>
%xf
%xF
%X<XDocAuthor>
</BODY>
</HTML>\n"
# End of a subpart. This is called for each sub part of a file except last.
end="\n%xf\n</body>\n</html>\n"
# End of the last subpart. This is only for the final sub-part
# which may wish to have a different ending to the others (like
# perhaps not refering to the NEXT chapter?)
End="\n%xf\n</body>\n</html>\n"
# Message output by wp2html into output file but not to be displayed
# or for "hidden" WP text
Message="<!-- "
message="-->"
# PageNo="\\folio{}" # insert page number
# RomanPage="%\n%% Set roman page number %1\n" # set roman numerals
# ArabicPage="%\n%% Set arabic page number %1\n" # set arabic numerals
HSpace=" " # Unbreakable (Hard) space
# Tabs in Netscape (before HTML3) cannot be done properly
# We fudge them here with non breaking space until Netscape 1.2?
Tab=" "
# Hard page looks quite good as a line
HPg="\n"
# Soft page is usually ignored
SPg=" "
CondEOP=" "
HRt="<br>\n" # Single Hard return just a break
HRt2="<p>\n" # Two or more terminates paragraph
SRt="\n" # Soft return is a newline
DSRt="\n" # Deletable return at end of line
DSPg="\n" # Deletable return at end of page
softHyphen="" # Hyphens are ignored, since wrapping is up the clients.
softHyphenEOL="" # same for hyphens at end of a line
hardHyphen="-" # Nonbreaking hyphen, must put in
autoHyphen="" # auto Hyphens will be ignored too
NoHyphWord="" # Inhibit hyphenation of this word
# Margins are left as comments until HTML3 arrives
Marg=" "
TopMarg=" "
PageLength=" "
# Line spacing changes are ignored
SS=""
1.5S=""
DS=""
TS=""
LS=""
LPI=""
# Font changes mapped to Netscape font size defn
ExtraLarge="<H1>"
extralarge="</h1>"
VeryLarge="<h2>"
verylarge="</h2>"
Large="<h3>"
large="</h3>"
Small="<h5>"
small="</h5>"
Fine="</h6>"
fine="<h6>"
FontColour="\n<font color=\"#%s\">"
fontColour="\n</font>"
Font=" "
font=" "
Bold="<b>" # Boldface
bold="</b>"
Und="<u>"
und="</u>"
Red="" # Redlining
red=""
Strike="" # Strikeout XXX
strike=""
Italics="<i>"
italics="</i>"
Rev="" # Reverse video XXX
rev=""
Over="" # overprinting not supported XXX
over=""
# Netscape 2 and after can use
Sup="<sup>"
sup="</sup>"
Sub="<sub>"
sub="</sub>"
# UpHalfLine, DownHalfLine, AdvanceToHalf -- undefined
# Indent mapped to unordered lists, good for blocked indents
#Indent="\n<ul>\n"
#indent="\n</ul>\n"
#DIndent="\n<ul>\n"
#dindent="\n</ul>\n"
# Indents as space, use if indents are like TABS for you
Indent=" "
indent=""
DIndent=" "
dindent=""
# Margin release is passed one parameter, the number of characters.
MarginRelease=" "
Center="<Div align=\"center\">" # centering, Netscape way
center="</Div>\n"
Left="<Div align=\"left\">" # Netscape left justify
left="</Div>"
Right="<Div align=\"right\">" # Netscape right justify
right="</Div>"
Full="<Div align=\"full\">" # Netscape full justify
full="</Div>"
# Can use also
# Left
# left
# Full
# full
# Math, math, MathCalc, MathCalcColumn, SubTtl, IsSubTtl, Ttl, IsTtl, GrandTtl
# -- undefined
Column="<MULTICOL COLS=%1>"
column="</MULTICOL>"
Header="\n"
header="\n"
Footer="\n"
footer="\n"
Footnote=" <Font size=2>
<a href=\"#Footnote%1\" name=\"Footref%1\">
</Font> "
footnote="</a>"
FootnoteFormat="<a href=\"#Footref%1\" name=\"Footnote%1\">%1</i></a><i>"
footnoteFormat="</i>"
# Displays for various automatic numbers
# uncomment these to "eat" the autonumbers inserted by WP6
FootnoteDisplay="%e"
footnoteDisplay="%f"
#EndnoteDisplay="%e"
#endnoteDisplay="%f"
#ParanumDisplay="%e"
#paranumDisplay="%f"
#LinenumDisplay="%e"
#linenumDisplay="%f"
BeginTabs=""
SetTab=""
SetTabCenter=""
SetTabRight=""
SetTabDecimal=""
EndTabs=""
Hyph="" # Allow hyphenation
hyph="" # Disable hyphenation
Wid="" # Widow protection
wid="" # Allow widows
# HZone, DAlign -- undefined
Supp=" "
CtrPg=" "
SetFont=" "
SetBin=" "
# True table definitions, these are Netscape style (HTML3)
# Start of a table
Table="\n<Table>"
# end of a table
table="\n</Table>\n"
# New row
Row="\n<Tr>"
# End row
row="\n</Tr>"
# New cell. Is passed the col and row spans integers and align flags
#Cell="\n<Td ColSpan=%1 RowSpan=%2 Align=%u Valign=%v>\n"
Cell="\n<Td>\n"
# End cell
cell="\n</Td>"
# Table header cells.
HeadCell="\n<Th ColSpan=%1 RowSpan=%2 Align=%u Valign=%v>\n"
HeadCell="\n<Th>\n"
# End header cell
headCell="\n</Th>"
# Ordinary WP comment anywhere in the document, passed comment text
Comment="\n<!-- WP Comment "
comment=" -->\n"
# default Style operation for styles user has not names below
defaultStyleOn=" "
defaultStyleOff=" "
defaultStyleOpen=" "
defaultStyleEnd=" "
# Set defaults for TOC markers here
ToC=" "
toC=" "
ToC1=" "
toC1=" "
ToC2=" "
toC2=" "
ToC3=" "
toC3=" "
ToC4=" "
toC4=" "
ToC5=" "
toC5=" "
# Detect start and end of index in document
Index=" "
index=" "
# Set defaults for List markers here
List=" "
list=" "
List1=" "
list1=" "
List2=" "
list2=" "
List3=" "
list3=" "
List4=" "
list4=" "
List5=" "
list5=" "
ToA=" "
toA=" "
ToAMark=" "
XrefMark=" "
xrefMark=" "
XrefTarget=" "
# Figure inside WP.
# Right now we have a confusing 3 options, that is we have
# A WPG image inside Wordperfect,
# 1. With no GIF/JPEG conversion available
# 2. Of unknown size but a GIF/JPEG conversion exists
# 3. With known (set) size and with GIF/JPEG conversion
# Depending on which of the above we find we call one of the next
# three tags, Figure, Image, ImageSized
# NO GIF/JPEG
Figure=" "
# GIF/JPEG available, but sizes and alignment unknown
# Image="<a href=\"%s.%t\"><img src=\"%s.%u\"></a>
# Click thumbnail picture to see full size version"
# You can also do thumbnails too, like this
#Image="<a href=\"%s.%t\" target=\"Graphics\"><img src=\"%s.%u\"></a>
#Click thumbnail picture to see full size in separate window"
Image="<img src=\"%s.%t\"></a>"
# GIF/JPEG available, and sizes and alignment known
# If this is NOT given, Image will be used instead
#ImageSized="<img src=\"%s.%t\" height=%3 width=%4 align=%w>"
# Boxes, Table, Text and User
TableBox="\n"
tableBox="\n"
TextBox="\n"
textBox="\n"
UserBox="\n"
userBox="\n"
# Equations are rendered as rough text right now, wait for HTML3
# and we can switch this on properly
Equation=" "
equation=" "
# Captions for all boxes
Caption="<br><i>["
caption="]</i><br>\n"
HLine="<hr width=%1 size=%2 align=%u>"
ParaNum1="%s "
ParaNum2="%s "
ParaNum3="%s "
ParaNum4="%s "
ParaNum5="%s "
ParaNum6="%s "
ParaNum7="%s "
ParaNum8="%s "
ParaNumEnd=" "
PN0=" "
PN1=" "
PN2=" "
PN3=" "
PN4=" "
PN5=" "
PN6=" "
PN7=" "
PN8=" "
#*********************************************************************
# End of required parameters -- start of optional entries
# Here is the complete list of fields which can optionally be
# extracted from the extended document summary area of the file
# If they are not defined (to be anything) they will not be extracted
#!XDocName="Filename"
#!XDocType="Type"
XDocAuthor=""
XDocAbstract=""
#!XDocAccount="Account"
XDocKeywords=""
XDocSubject="%X<Title>"
#!XDocTypist="Typist"
# These tags allow you to convert WP6 hypertext refs into HTML hypertext
# But you should be careful how you use them as documents NOT designed
# to be HTML (perhaps linking to other documents in unreachable
# directories) would generate confusing links.
#!HyperBegin="<a href=\"%s.htm#%t\">%e"
#!hyperBegin="%f"
#!HyperEnd="</a>%e"
#!hyperEnd="%f"
# Or you can use WP hypertext refs as direct hypertext
# but make sure you insert the URL in the BOOKMARK field
HyperBegin="<a href=\"%t\">%e"
hyperBegin="%f"
HyperEnd="</a>%e"
hyperEnd="%f"
# These tags allow you to convert WP6 bookmarks into appropriate
# HTML anchors which are needed if you use the Hyper tags above.
BookMark="<a name=\"%s\">"
bookMark="</a>"
# Hypertext references in Word Documents (real URL)
Href="<a href=\"%s\">"
href="</a>"
# These tags allow you to find the file name of included files
#SubDoc="<hr>Start Included file %s<hr>\n"
#subDoc="<hr>End Included file %s<hr>\n"
SubDoc="\n"
subDoc="\n"
# These tags are trigger by WP Small Caps attributes (On/Off)
#!SmallCaps=""
#!smallCaps=""
# End of main configuration file
|