|
|
1.1 root 1: .TH TR2TEX 1
2: .UC 4
3: .SH NAME
4: tr2tex \- convert a document from troff to latex
5: .SH SYNOPSIS
6: .B tr2tex
7: [
8: .B -m
9: ]
10: .I file ...
11: .SH DESCRIPTION
12: .I Tr2tex
13: attempts to convert into
14: .IR latex (6)
15: form a document contained in
16: .I files
17: written in
18: .IR troff (1)
19: with
20: .IR ms (6)
21: macros,
22: .IR eqn (1)
23: equations, and some simple
24: .IR tbl (1)
25: specifications.
26: The result is placed on standard output.
27: There is one option.
28: .TP
29: .B -m
30: Convert the document from
31: .IR man (6)
32: form to
33: .IR latex (6).
34: .PP
35: The output may need some hand polishing.
36: .I Troff
37: requests that cannot be converted are left
38: as comments.
39: Some of the converted document may be in plain TeX.
40: .SH FILES
41: .HP
42: .F /usr/lib/tex/troffms.sty
43: .IR tex (1)
44: macros into which some
45: .I troff
46: constructs convert.
47: .br
48: .ns
49: .PP
50: .F /usr/lib/tex/troffman.sty
51: .SH BUGS
52: Option
53: .B -m
54: does not work with 10th edition
55: .I man
56: macros.
57: .br
58: Commands that are not separated from their argument by a space are
59: not properly parsed (e.g.
60: .BR .sp3i ).
61: .br
62: .I Eqn
63: operators
64: .L rpile
65: and
66: .L lpile
67: are treated as
68: .LR cpile ,
69: .L rcol
70: and
71: .L lcol
72: as
73: .LR ccol .
74: .br
75: .I Eqn
76: operators
77: .LR size ,
78: .LR gsize ,
79: .LR fat ,
80: .LR gfont ,
81: .LR mark ,
82: and
83: .LR lineup
84: are ignored.
85: .br
86: The closing member of a naturally bracketing pair of
87: .I troff
88: requests, such as
89: .BR .nf - .fi
90: or
91: .BR ".ft I" - ".ft R",
92: is not supplied automatically after each paragraph.
93: .br
94: When local motions are converted to
95: .L \eraise
96: or
97: .LR \elower ,
98: an
99: .L \ehbox
100: must be supplied manually.
101: .br
102: The
103: .I eqn
104: expression
105: .L "a sub i sub j
106: is misconverted; use
107: .L "a sub { i sub j }
108: instead.
109: .br
110: Line spacing cannot be changed within a paragraph.
111: .br
112: Number registers cannot be accessed via
113: .BR .nr .
114: .br
115: Redefinition of some
116: .I eqn
117: operators, such as
118: .LR over ,
119: .LR sub ,
120: or
121: .LR sup ,
122: will cause trouble.
123: .SH AUTHOR
124: Kamal Al-Yahya, Stanford University
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.