Comprehensive TeX Archive Network

Direc­tory tex-archive/support/tr2latex

Please read this file before you install the program.

tr2latex: Troff-to-TeX translator

Copyright (C) by 1987 Kamal Al-Yahya, 1991,1992 Christian Engel.

This directory contains a program developed at the Stanford Exploration
Project, Geophysics Department, by Kamal Al-Yahya.  It was modified and
enhanced substantially by Christian Engel at the Rheinisch-Westfaelische
Technische Hochschule at Aachen, Germany, Department of Computer Science 4.
Copying the sources and the program to any other machine is permitted
without prior permission provided that copyright messages are kept, no
profit is made by copying the files, and modifications are clearly

I would very much appreciate any comments or suggestions. My e-net
address is
If it doesn't work try


It seems as if Kamal isn't to the net anymore.

I have made several modifications on Kamal's version 0.93 from the net.
Thus I continued my revision numbering with 1.00. The actual revision is
version 2.2 1992/04/27 15:13:26.

If you modify this source, if you found some bugs, or if you have some
suggestions for improvements then e-mail me as well:


You can run the program either by
		tr2latex < file  > file.tex
		tr2latex file  > file.tex
You are most likely to get messages on the standard error telling
you about things it encounters and cannot do.

Now you have the translated document. Look at it and see if you
can spot a major error. Run it through latex. If it runs and produces
the dvi file, then print it. If you get latex error messages modify
the translated document accordingly and repeat the latex run, and so on.
I usually get away with one or two iterations.


And in 2009 it seems as if Christian Engel has vanished from the
Internet as well, so I have took over this project and updated the
build process for a modern UN*X system.

Comments and questions go to Dirk Jagdmann <doj@cubic.org>


Name Size Date Notes
His­tory 3837 2016-02-11 11:01
INSTALL 398 2016-02-11 10:50
Make­file 1404 2016-02-11 11:16
Make­file.nmake 492 2016-02-11 10:50
README 2178 2016-02-11 10:50
TODO 100 2016-02-11 10:50
diffs.tex 3487 2016-02-11 10:50
flip.h 380 2016-02-11 10:50
for­bid.h 1774 2016-02-11 10:50
getopt.c 6363 2016-02-11 10:50
getopt.h 2125 2016-02-11 10:50
greek.h 539 2016-02-11 10:50
macros.h 2344 2016-02-11 10:50
maths.h 982 2016-02-11 10:50
nmake.bat 56 2016-02-11 10:50
pro­tos.h 1883 2016-02-11 10:50
se­tups.h 1437 2016-02-11 10:50
simil.h 949 2016-02-11 10:50
subs.c 20206 2016-02-11 10:50
test­file 2684 2016-02-11 10:50
tr.c 26781 2016-02-11 10:54
tr2la­tex.c 5990 2016-02-11 11:01
tr2la­tex.man 4033 2016-02-11 10:50
troff­man.sty 4769 2016-02-11 10:50
troffms.sty 4886 2016-02-11 10:50

Down­load the con­tents of this pack­age in one zip archive (36.6k).

tr2la­tex – Trans­late troff source to LaTeX

A de­vel­op­ment of Al-Yahya's orig­i­nal troff-to-LaTeX. The trans­la­tor recog­nises most -ms and -man macros, plus some eqn and tbl pre­pro­ces­sor com­mands; out­put is in LaTeX 2.09 for­mat.

Pack­age De­tailstr2la­tex
Li­censeDo Not Sell Ex­cept by Ar­range­ment
Copy­right2008–2016 Dirk Jagdman
1986,1987 Ka­mal Al-Yahya
1991,1992 Chris­tian En­gel
Main­tainerChris­tian En­gel
Dirk Jagdman
Ka­mal Al-Yahya (in­ac­tive)
Topics im­port files in a non-TeX (or dif­fer­ent TeX) for­mat
Guest Book Sitemap Contact Contact Author