24) How can I convert from format Y to TeX or LaTeX, and vice-versa? troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from wsmr-simtel20.army.mil (26.2.0.74) in the directory pd2:. This program, written by Kamal Al-Yahya at Stanford, assists in the translation of a troff document into LaTeX format. It recognizes most -ms and -man macros, plus most eqn and some tbl preprocessor commands. Anything fancier than that needs to be done by hand. Two style files are provided. There is also a man page (which converts very well to LaTeX :-). The program is copyrighted but free. An enhanced version of this program, tr2latex, is available from tupac-amaru.informatik.rwth-acchen.de (137.226.112.31) in ./pub/textproc/TeX. The DECUS TeX distribution (see question 22) also contains a program which converts troff to TeX. If you are interested in obtaining a copy of this program without getting the entire DECUS TeX distribution, send the command: SENDME TROFFTOTEX in the body of a mail message to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu), or use anonymous ftp to the directory [.TROFFTOTEX] on Niord.SHSU.edu (192.92.115.8). scribe - Mark James has a copy of scribe2latex which he has been unable to test but which he will let anyone interested have. Send email to mark@bdblues.altair.fr. The program was written by Van Jacobson of Lawrence Berkeley Laboratory. wordperfect - wp2latex.zip is available on wuarchive.wustl.edu (128.252.135.4) in the directory ./mirrors/msdos/tex and on wsmr-simtel20.army.mil (26.2.0.74) in the directory pd1:. This is a PC program written in Turbo Pascal by R. C. Houtepen at the Eindhoven University in the Netherlands. It converts WordPerfect 5.0 documents to LaTeX. Pascal source is included. Users find it ``helpful'' and ``decent'' in spite of some limitations. It gets high marks for handling font changes. Limitations include no indices, table of contents, margins or graphics. It also won't handle the new features of WordPerfect 5.1, in particular the equation formatter. The program is copyrighted but free. Glenn Geers of the University of Sydney (glenn@qed.physics.su.oz.au) is translating wp2latex into C and adding some WordPerfect 5.1 features, in particular its equation handling. This is an ongoing project; the most recent version can be retrieved via anonymous ftp from suphys.physics.su.oz.au (129.78.129.1) in ./wp2latex. It is also available by anonymous ftp from ymir.claremont.edu (134.173.4.23) in the directory [anonymous.tex.ibm_pc.front_ends.wp2latex]. It was posted to alt.sources on 8 August 1990. PC-Write - pcwritex.arc is available on wuarchive.wustl.edu (128.252.135.4) in directory mirrors/msdos/tex and on wsmr-simtel20.army.mil (26.2.0.74) in directory pd1:. This is a print driver for PC-Write that ``prints'' a PC-Write V2.71 document to a TeX-compatible disk file. It was written by Peter Flynn at University College, Cork, Ireland. It is public domain. runoff - Peter Vanroose, of the University of Leuven, Belgium, has written a RUNOFF-to-TeX conversion program in VMS Pascal. It is available from comp.text archives (they do exist, don't they? The program was submitted in December 1987) or from the author (peter@dit.lth.se) or from Mark James (mark@bdblues.altair.fr). refer/Tib - There are a few programs for converting bibliographic data between BibTeX and refer/Tib formats. They are available via anonymous ftp from ftp.ai.mit.edu (128.52.32.6) in the directory ./pub/refer-to-bibtex. In spite of the directory name, it also contains a shell script to convert BibTeX to REFER as well. This collection is maintained by Thomas M. Breuel (tmb@ai.mit.edu). RTF - A program for converting Microsoft's Rich Text Format to TeX is available via anonymous ftp from astro.princeton.edu (128.112.128.131) in ./pub/rtf2TeX.tar.Z. It was written and is maintained by Robert Lupton (rhl@astro.princeton.edu). Microsoft Word - A rudimentary program for converting MS-Word to LaTeX is wd2latex, for MS-DOS, available via anonymous ftp from ymir.claremont.edu (134.173.4.23) in [.tex.ibm_pc.front_ends]. Probably a better idea, however, is to convert the document to RTF format and use the RTF converter mentioned above. In addition, a group at Ohio State University is working on a common document format based on SGML. In theory any format could be translated to or from this one. Also, Framemaker supposedly has ``import filters'' to aid in the translation from alien formats (presumably including TeX) to Framemaker; perhaps other desktop publishing programs have similar things.