|
|
1.1 root 1: .TH TROFF 1
2: .CT 1 writing_troff
3: .SH NAME
4: troff, nroff \- text formatting and typesetting
5: .SH SYNOPSIS
6: .B troff
7: [
8: .I option ...
9: ]
10: [
11: .I file ...
12: ]
13: .PP
14: .B nroff
15: [
16: .I option ...
17: ]
18: [
19: .I file ...
20: ]
21: .SH DESCRIPTION
22: .I Troff
23: formats text in the named
24: .I files
25: for
26: printing on a phototypesetter;
27: .I nroff
28: for typewriter-like devices.
29: Their capabilities are described in the references.
30: .PP
31: If no
32: .I file
33: argument is present, the standard input is read.
34: An argument consisting of a single minus
35: .RB ( - )
36: is taken to be
37: a file name corresponding to the standard input.
38: The options, which may appear in any order so long as they appear
39: before the files, are:
40: .nr xx \w'\f5-m\f2name\ \ '
41: .TP \n(xxu
42: .BI -o list
43: Print pages in the comma-separated
44: .I list
45: of numbers and ranges.
46: A range
47: .IB N - M
48: means
49: .I N
50: through
51: .IR M ;
52: initial
53: .BI - M
54: means up to
55: .I M;
56: final
57: .IB N -
58: means from
59: .I N
60: to the end.
61: .TP
62: .BI -n N
63: Number first generated page
64: .IR N .
65: .TP
66: .BI -m name
67: Prepend the macro file
68: .BI /usr/lib/tmac/tmac. name
69: to the input
70: .IR files .
71: .TP
72: .BI -r aN
73: Set register
74: .I a
75: (one character name) to
76: .IR N .
77: .TP
78: .B -i
79: Read standard input after the input files are exhausted.
80: .TP
81: .B -q
82: Invoke the simultaneous input-output mode of the
83: .B rd
84: request.
85: .TP
86: .B -z
87: produce no output: diagnostics and
88: .B .tm
89: messages only
90: .SS Troff only
91: .TP \n(xxu
92: .B -a
93: Send a printable
94: .SM ASCII
95: approximation
96: of the results to the standard output.
97: .TP
98: .BI -T dest
99: Prepare output for typesetter
100: .IR dest :
101: .br
102: .ns
103: .RS
104: .TP \w'\fL-Tpost\ 'u
105: .B -Tpost
106: Apple LaserWriter and other PostScript printers (default)
107: .PD0
108: .TP
109: .B -T202
110: Mergenthaler Linotron 202
111: .TP
112: .B -Taps
113: Autologic APS-5
114: .RE
115: .PD
116: .TP "\w'\f5-m\f2name 'u"
117: .BI -F dir
118: Take font information from directory
119: .I dir.
120: .SS Nroff only
121: .TP \n(xxu
122: .BI -s N
123: Halt prior to every
124: .I N
125: pages (default
126: .IR N =1)
127: to allow paper loading or changing.
128: .TP
129: .BI -T name
130: Prepare output for specified terminal.
131: Known
132: .I names
133: include
134: .B 37
135: for the (default)
136: Teletype model 37,
137: .B lp
138: (`line-printer')
139: for any terminal without half-line capability,
140: .B 450
141: for the \s-1DASI\s+1-450
142: (Diablo Hyterm),
143: and
144: .B think
145: (HP ThinkJet, see
146: .IR thinkblt (9.1)).
147: .TP
148: .B -e
149: Produce equally-spaced words in adjusted
150: lines, using full terminal resolution.
151: .TP
152: .B -h
153: Use output tabs during horizontal spacing
154: to speed output and reduce output character count.
155: Tab settings are assumed to be every
156: 8 nominal character widths.
157: .SH FILES
158: .TF /usr/lib/tmac/tmac.*
159: .TP
160: .F /tmp/trtmp*
161: temporary file
162: .TP
163: .F /usr/lib/tmac/tmac.*
164: standard macro files
165: .TP
166: .F /usr/lib/term/*
167: terminal driving tables for
168: .I nroff
169: .TP
170: .F /usr/lib/font/*
171: font width tables for
172: .I troff
173: .SH "SEE ALSO"
174: .IR lp (1),
175: .IR d202 (A),
176: .IR proof (9.1),
177: .IR apsend (1),
178: .IR reader (9.7)
179: .br
180: .IR eqn (1),
181: .IR tbl (1),
182: .IR prefer (1),
183: .IR pic (1),
184: .IR ideal (1),
185: .IR grap (1),
186: .IR dag (1),
187: .IR cip (9.1),
188: .IR ped (9.1)
189: .br
190: .IR doctype (1),
191: .IR ms (6),
192: .IR mpm (6),
193: .IR mbits (6),
194: .IR mpictures (6),
195: .IR mcs (6),
196: .IR font (5),
197: .IR monk (1),
198: .IR tex (1)
199: .br
200: J. F. Ossanna and B. W. Kernighan,
201: `Nroff/Troff User's Manual',
202: this manual, Volume 2
203: .br
204: B. W. Kernighan,
205: `A TROFF Tutorial',
206: .I ibid.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.