TR2TEX(1) TR2TEX(1) NAME tr2tex - convert a document from troff to latex SYNOPSIS tr2tex [ -m ] file ... DESCRIPTION Tr2tex attempts to convert into latex(6) form a document contained in files written in troff(1) with ms(6) macros, eqn(1) equations, and some simple tbl(1) specifications. The result is placed on standard output. There is one option. -m Convert the document from man(6) form to latex(6). The output may need some hand polishing. Troff requests that cannot be converted are left as comments. Some of the converted document may be in plain TeX. FILES tex(1) macros into which some troff constructs convert. BUGS Option -m does not work with 10th edition man macros. Commands that are not separated from their argument by a space are not properly parsed (e.g. .sp3i). Eqn operators `rpile' and `lpile' are treated as `cpile', `rcol' and `lcol' as `ccol'. Eqn operators `size', `gsize', `fat', `gfont', `mark', and `lineup' are ignored. The closing member of a naturally bracketing pair of troff requests, such as .nf-.fi or .ft I-.ft R, is not supplied automatically after each paragraph. When local motions are converted to `\raise' or `\lower', an `\hbox' must be supplied manually. The eqn expression `a sub i sub j' is misconverted; use `a sub { i sub j }' instead. Line spacing cannot be changed within a paragraph. Number registers cannot be accessed via .nr. Redefinition of some eqn operators, such as `over', `sub', or `sup', will cause trouble. AUTHOR Kamal Al-Yahya, Stanford University