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 3731 2012-09-03 09:55
INSTALL 398 2012-09-03 09:55
Make­file 1308 2012-09-03 09:55
Make­file.nmake 492 2012-09-03 09:55
README 2178 2012-09-03 09:55
TODO 100 2012-09-03 09:55
diffs.tex 3487 2012-09-03 09:55
flip.h 380 2012-09-03 09:55
for­bid.h 1774 2012-09-03 09:55
getopt.c 6354 2012-09-03 09:55
getopt.h 2116 2012-09-03 09:55
greek.h 539 2012-09-03 09:55
macros.h 2344 2012-09-03 09:55
maths.h 982 2012-09-03 09:55
nmake.bat 55 2012-09-03 09:55
pro­tos.h 1883 2012-09-03 09:55
se­tups.h 1437 2012-09-03 09:55
simil.h 949 2012-09-03 09:55
subs.c 20206 2012-09-03 09:55
test­file 2684 2012-09-03 09:55
tr.c 26745 2012-09-03 09:55
tr2la­tex.c 5990 2012-09-03 09:55
tr2la­tex.man 4033 2012-09-03 09:55
troff­man.sty 4769 2012-09-03 09:55
troffms.sty 4886 2012-09-03 09:55

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

tr2la­tex – Trans­late troff source to LaTeX

A de­vel­op­ment 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,2009 Dirk Jagdman
Main­tainerChris­tian En­gel
Ka­mal Al-Yahya (in­ac­tive)
Dirk Jagdman
Topics im­port files in a non-TeX (or dif­fer­ent TeX) for­mat
Guest Book Sitemap Contact Contact Author