Blob
1 .TH TROFF 12 .SH NAME3 troff, nroff \- text formatting and typesetting4 .SH SYNOPSIS5 .B troff6 [7 .I option ...8 ]9 [10 .I file ...11 ]12 .PP13 .B nroff14 [15 .I option ...16 ]17 [18 .I file ...19 ]20 .SH DESCRIPTION21 .I Troff22 formats text in the named23 .I files24 for25 printing on a typesetter.26 .I Nroff27 does the same, but produces output suitable28 for typewriter-like devices.29 .PP30 If no31 .I file32 argument is present, the standard input is read.33 An argument consisting of a single minus34 .RB ( - )35 is taken to be36 a file name corresponding to the standard input.37 The options are:38 .nr xx \w'\fL-m\f2name\ \ '39 .TP \n(xxu40 .BI -o list41 Print pages in the comma-separated42 .I list43 of numbers and ranges.44 A range45 .IB N - M46 means47 .I N48 through49 .IR M ;50 initial51 .BI - M52 means up to53 .IR M ;54 final55 .IB N -56 means from57 .I N58 to the end.59 .TP60 .BI -n N61 Number first generated page62 .IR N .63 .TP64 .BI -m name65 Process the macro file66 .BI /sys/lib/tmac/tmac. name67 before the input68 .IR files .69 .TP70 .BI -r aN71 Set register72 .I a73 (one character name) to74 .IR N .75 .TP76 .B -i77 Read standard input after the input files are exhausted.78 .TP79 .B -q80 Invoke the simultaneous input-output mode of the81 .B rd82 request.83 .TP84 .B -N85 Produce output suitable for typewriter-like devices.86 .SS Typesetter devices (not \fL-N\fP) only87 .TP \n(xxu88 .B -a89 Send a printable90 textual91 approximation92 of the results to the standard output.93 .TP94 .BI -T dest95 Prepare output for typesetter96 .IR dest :97 .br98 .ns99 .RS100 .TP \w'\fL-TLatin1\ 'u101 .B -Tutf102 (The default.) PostScript printers with103 preprocessing to handle Unicode104 characters encoded in105 .SM UTF106 .PD0107 .TP108 .B -Tpost109 Regular PostScript printers110 .PD0111 .TP112 .B -T202113 Mergenthaler Linotron 202114 .RE115 .PD116 .TP "\w'\fL-m\f2name 'u"117 .BI -F dir118 Take font information from directory119 .IR dir .120 .SS Typewriter (\fL-N\fP) output only121 .TP \n(xxu122 .BI -s N123 Halt prior to every124 .I N125 pages (default126 .IR N =1)127 to allow paper loading or changing.128 .TP129 .BI -T name130 Prepare output for specified terminal.131 Known132 .I names133 include134 .B utf135 for the normal Plan 9136 .SM UTF137 encoding of the Unicode Standard character set (default),138 .B 37139 for the140 Teletype model 37,141 .B lp142 (`line-printer')143 for any terminal without half-line capability,144 .B 450145 for the \s-1DASI\s+1-450146 (Diablo Hyterm),147 and148 .B think149 (HP ThinkJet).150 .TP151 .B -e152 Produce equally-spaced words in adjusted153 lines, using full terminal resolution.154 .TP155 .B -h156 Use output tabs during horizontal spacing157 to speed output and reduce output character count.158 Tab settings are assumed to be every159 8 nominal character widths.160 .SH FILES161 .TF \*9/troff/term/*162 .TP163 .B /tmp/trtmp*164 temporary file165 .TP166 .B \*9/tmac/tmac.*167 standard macro files168 .TP169 .B \*9/troff/term/*170 terminal driving tables for171 .I nroff172 .TP173 .B \*9/troff/font/*174 font width tables for175 .I troff176 .SH SOURCE177 .B \*9/src/cmd/troff178 .SH "SEE ALSO"179 .IR lpr (1),180 .IR proof (1),181 .IR tr2post (1),182 .IR eqn (1),183 .IR tbl (1),184 .IR pic (1),185 .IR grap (1),186 .IR doctype (1),187 .IR ms (7),188 .IR image (7),189 .IR tex (1),190 .IR deroff (1)191 .br192 J. F. Ossanna and B. W. Kernighan,193 ``Troff User's Manual''194 .br195 B. W. Kernighan,196 ``A TROFF Tutorial'',197 .I198 Unix Research System Programmer's Manual,199 Tenth Edition, Volume 2.