Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpcvca!charles From: charles@hpcvca.CV.HP.COM (Charles Brown) Newsgroups: comp.text.tex Subject: Re: wordperfect -> TeX conversion Message-ID: <20100001@hpcvca.CV.HP.COM> Date: 4 Jul 90 00:41:23 GMT References: <3263@leah.Albany.Edu> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 23 > I am in interested in a program that will convert WordPerfect > documents to TeX. Such a program exists for T^3 but I have not > encountered one that will work with WordPerfect documents. Any > information on a pd, shareware, or commercial program would be > appreciated. > Felix Wu I don't have one. But I whipped out a program to convert a Volkswriter file to TeX (for a friend's thesis). Its not hard. Use emacs to look at the WP file. From that you can see what control characters they use for various functions. Another trick I used was to (again using emacs) edit the WP file to put each char onto a separate line of text. Then I ran the result thru Un*x's "cat -v | sort -u". I edited this file to remove the plain characters [a-zA-Z0-9] etc. This gave me a file with each control character on a line. I used it to document the purpose of the control character. From there writing the conversion program was a snap. -- Charles Brown charles@cv.hp.com or charles%hpcvca@hplabs.hp.com or hplabs!hpcvca!charles or "Hey you!" Not representing my employer.