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
|
<HTML>
<HEAD>
<TITLE>TeXPerfect</TITLE>
</HEAD>
<BODY>
<P>Up to the <A HREF="http://tug.org">TUG homepage</A><BR>
Up to <A HREF="pctotex.html">Converters from PC Textprocessors to LaTeX -
Overview</A></P>
<H1>TeXPerfect</H1>
<P>last update: July 28, 1998</P>
<P>citation begin>></P>
<P>From: John Forkosh <forkosh "at" panix.com> <BR>
Subject: New WordPerfect -> LaTeX Translater <BR>
Date: Thu, 22 Aug 1996 09:16:36 -0400 (EDT) <BR>
I recently uploaded my WordPerfect -> LaTeX translater, called TeXPerfect,
to CTAN. It's available in the support directory under texperf
(.../support/texperf). <BR>
(The ... stands for a host specific base directory, which often is either
"/pub/tex" or "/tex-archive") <BR>
Full C source is provided, as are executables for both DOS and Linux. The
00README file in the directory provides more details. John (forkosh "at" panix.com)
<BR>
<<citation end</P>
<P>following extracted from the 00README file: </P>
<P>citation begin>></P>
<P>Conversion functionality </P>
<P>Some of the LaTeX conversions performed by TeXPerfect are: <BR>
Suppose your input contains a greek alpha from the WordPerfect character set 8.
The output will contain $\alpha$ instead. Most of the other special character
sets provided by WordPerfect are similarly converted. (This conversion is
table-driven by the data in wpchrset.h, and can be easily augmented or
modified.) <BR>
Superscripts, subscripts, bold, italics, etc, are all properly interpreted and
handled. <BR>
"Hard" returns in WordPerfect <STRONG>should</STRONG> generate an
extra blank line, so that LaTeX will see them as paragraphs. That functionality
is mostly programmed, but a last-minute difficulty prevented me from completing
it. Also, no attempt is made to generate section/subsection/etc commands. <BR>
If your running text contains an expression like f(x), TeXPerfect will
recognize it and surround it with $'s. A variety of other ad hoc
"rules" are hand-coded into the program to decide when to enter/exit
math mode. Needless to say, the decision isn't always right. You'll need to
correct tp's mistakes in Step 2 above. <BR>
Equations written with WordPerfect's equation editor will be reproduced
"verbatim" by TeXPerfect, surrounded by \[ and \]. The only
correction applied is that 1 over 2 becomes 1 \over 2, and similarly for
various other keywords. But no serious attempt to interpret and translate your
equation is made. Matrices, etc, will require considerable hand-tweaking on
your part. But at least you'll have what you originally wrote right in front of
your eyes. <BR>
A little LaTeX preamble, etc, is provided, primarily for "cosmetic"
purposes. WordPerfect's margin settings, etc, are <STRONG>not</STRONG>
interpreted to construct this preamble. You'll have to modify that information
yourself. </P>
<P>Warnings </P>
<P>TeXPerfect was written to interpret files formatted by WordPerfect 5.1 for
DOS. When run against 5.1 files, TeXPerfect is pretty robust. But, for this
release, I commented out the lines that check the version number. If you're
using WP/Win, it can prepare output in 5.1 format. I'd recommend you do that
before using TeXPerfect. <BR>
<<citation end</P>
<HR>
<P>This HTML page is part of the texconv pages.<BR>
Copyright © 1998, 1999, 2000 Wilfried Hennings<BR>
You may copy and redistribute it under the following conditions:</P>
<UL>
<LI>it must remain intact and the contents unchanged; if you'd like to have
something changed, contact me (W.Hennings "at" fz-juelich.de). Reformatting (e.g.
from HTML to some other presentation format) is granted as long as the contents
are unchanged. </LI>
<LI>you may NOT ask money for it except a reasonable cost for media and
distribution</LI>
</UL>
<P>Please also note the <A HREF="index.html#disclaimer">disclaimer</A>.</P>
</BODY>
</HTML>
|