📄 0227-0231.html
字号:
</TD><TD>
Prepare output for device dev. The default device is
ps.
</TD></TR><TR><TD>
_X
</TD><TD>
Preview with gxditview instead of using the usual postprocessor. This is unlikely to produce good results
except with _Tps.
</TD></TR><TR><TD>
_N
</TD><TD>
Don't allow newlines with eqn delimiters. This is the same as the
_N option in geqn.
</TD></TR>
</TABLE>
<P>The options _a, _b, _i, _C, _E, _wname, _Wname,
_mname, _olist, _dcs, _rcn, _Fdir, _Mdir, _ffam, and
_nnum are described in gtroff(1).
</P>
<P><B>
ENVIRONMENT
</B>
</P>
<TABLE>
<TR><TD>
GROFF_COMMAND_PREFIX
</TD><TD>
If this is set X, then
groff will run Xtroff instead of gtroff. This also applies to
tbl, pic, eqn, refer, and soelim. It does not apply to
grops, grodvi, grotty, and gxditview.
</TD></TR><TR><TD>
GROFF_TMAC_PATH
</TD><TD>
A colon-separated list of directories in which to search for macro files.
</TD></TR><TR><TD>
GROFF_TYPESETTER
</TD><TD>
Default device.
</TD></TR><TR><TD>
GROFF_FONT_PATH
</TD><TD>
A colon-separated list of directories in which to search for the
devname directory.
</TD></TR><TR><TD>
PATH
</TD><TD>
The search path for commands executed by
groff.
</TD></TR><TR><TD>
GROFF_TMPDIR
</TD><TD>
The directory in which temporary files will be created. If this is not set and
TMPDIR is set, temporary files will be created in that directory. Otherwise, temporary files will be created in
/tmp. The grops(1) and grefer(1) commands can create temporary files.
</TABLE>
<P><B>
FILES
</B>
</P>
<TABLE>
<TR><TD>
/usr/lib/groff/font/devname/DESC
</TD><TD>
Device description file for device
name.
</TD></TR><TR><TD>
/usr/lib/groff/font/devname/F
</TD><TD>
Font file for font F of device name.
</TD></TR></TABLE>
<P><B>
AUTHOR
</B>
</P>
<P>James Clark (jjc@jclark.com)
</P>
<A NAME="PAGENUM-230"><P>Page 230</P></A>
<P><B>
BUGS
</B>
</P>
<P>Report bugs to bug-groff@prep.ai.mit.edu. Include a complete, self-contained example that will allow the bug to
be reproduced, and say which version of groff you are using.
</P>
<P><B>
COPYRIGHT
</B>
</P>
<P>Copyright 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
</P>
<P>groff is free software; you can redistribute it or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at your option) any later version.
</P>
<P>groff is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty
of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
</P>
<P>You should have received a copy of the GNU General Public License along with
groff; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
</P>
<P><B>
AVAILABILITY
</B>
</P>
<P>The most recent released version of groff is always available for anonymous
ftp from prep.ai.mit.edu (18.71.0.38) in the directory
pub/gnu.
</P>
<P><B>
SEE ALSO
</B>
</P>
<P>grog(1), gtroff(1), gtbl(1), gpic(1), geqn(1),gsoelim(1), grefer(1), grops(1), grodvi(1), grotty(1),
gxditview(1), groff_font(5), grof_out(5), groff_ms(7),groff_me(7), groff_char(7)
</P>
<P>Groff Version 1.09, 29 October 1992
</P>
<H3><A NAME="ch01_ 100">
grog
</A></H3>
<P>grog—Guess options for groff command
</P>
<P><B>
SINOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
grog [ _option ...][files ... ]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>grog reads files and guesses which of the groff(1) options
_e, _man, _me, _mm, _ms, _p, _s,and _t are required for
printing files, and prints the groff command including those options on the standard output. A filename of
_ is taken to refer to the standard input. If no files are specified, the standard input will be read. Any specified options will be included in the
printed command. No space is allowed between options and their arguments. For example,
<!-- CODE SNIP //-->
<PRE>
`grog _Tdvi paper.ms'
</PRE>
<!-- END CODE SNIP //-->
will guess the appropriate command to print
paper.ms and then run it after adding the _Tdvi option.
</P>
<P><B>
SEE ALSO
</B>
</P>
<P>doctype(1), groff(1), gtroff(1), gtbl(1), gpic(1), geqn(1), gsoelim(1)
</P>
<P>Groff Version 1.09 14
</P>
<H3><A NAME="ch01_ 101">
GROPS
</A></H3>
<P>grops—PostScript driver for groff
<P><B>
SINOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
grops [ _glv ][_bn ][_cn ][_wn ][_Fdir ][files ... ]
</PRE>
<!-- END CODE SNIP //-->
<A NAME="PAGENUM-231"><P>Page 231</P></A>
<P><B>
DESCRIPTION
</B>
</P>
<P>grops translates the output of GNU troff to PostScript. Normally,
grops should be invoked by using the groff command with a
_Tps option. If no files are given, grops will read the standard input. A filename of
_ will also cause grops to read the standard input. PostScript output is written to the standard output. When
grops is run by groff, options can be passed to
grops by using the groff _P option.
</P>
<P><B>
OPTIONS
</B>
</P>
<TABLE>
<TR><TD>
_bn
</TD><TD>
Work around broken spoolers and previewers. Normally
grops produces output that conforms the Document Structuring Conventions version 3.0. Unfortunately, some spoolers and previewers can't handle such output.
The value of n controls what grops does to its output acceptable to such programs. A value of
0 will cause grops not to employ any workarounds. Add
1 if no %%BeginDocumentSetup and
%%EndDocumentSetup comments should be generated; this is needed for early versions of TranScript that get confused by anything between the
%%EndProlog comment and the first %%Page comment. Add
2 if lines in included files beginning with %! should be stripped
out; this is needed for Sun's pageview previewer. Add
4 if %%Page, %%Trailer, and %%EndProlog comments should
be stripped out of included files; this is needed for spoolers that don't understand the
%%BeginDocument and %%EndDocument comments. Add 8 if the first line of the PostScript output should be
%!PS-Adobe-2.0 rather than %!PS-Adobe-3.0; this is needed when using Sun's Newsprint with a printer that requires page reversal. The
default value can be specified by a brokenn command in the
DESC file. Otherwise, the default value is 0.
</TD></TR><TR><TD>
_cn
</TD><TD>
Print n copies of each page.
</TD></TR><TR><TD>
_g
</TD><TD>
Guess the page length. This generates PostScript code that guesses the page length. The guess will be correct
only if the imageable area is vertically centered on the page. This option allows you to generate documents that can
be printed both on letter (8.5¥11) paper and on A4 paper without change.
</TD></TR><TR><TD>
_l
</TD><TD>
Print the document in landscape format.
</TD></TR><TR><TD>
_Fdir
</TD><TD>
Search the directory dir/devname for font and device description files;
name is the name of the device, usually ps.
</TD></TR><TR><TD>
_wn
</TD><TD>
Lines should be drawn using a thickness of
n thousandths of an em.
</TD></TR><TR><TD>
_v
</TD><TD>
Print the version number.
</TD></TR></TABLE>
<P><B>
USAGE
</B>
</P>
<P>There are styles called R, I, B, and BI mounted at font positions 1 to 4. The fonts are grouped into
families A, BM, C, H, HN, N, P, and T having members in each of these styles:
<TABLE>
<TR><TD>
AR
</TD><TD>
AvantGarde-Book
</TD></TR><TR><TD>
AI
</TD><TD>
AvantGarde-BookOblique
</TD></TR><TR><TD>
AB
</TD><TD>
AvantGarde-Demi
</TD></TR><TR><TD>
ABI
</TD><TD>
AvantGarde-DemiOblique
</TD></TR><TR><TD>
BMR
</TD><TD>
Bookman-Light
</TD></TR><TR><TD>
BMI
</TD><TD>
Bookman-LightItalic
</TD></TR><TR><TD>
BMB
</TD><TD>
Bookman-Demi
</TD></TR><TR><TD>
BMBI
</TD><TD>
Bookman-DemiItalic
</TD></TR><TR><TD>
CR
</TD><TD>
Courier
</TD></TR><TR><TD>
CI
</TD><TD>
Courier-Oblique
</TD></TR><TR><TD>
CB
</TD><TD>
Courier-Bold
</TD></TR><TR><TD>
CBI
</TD><TD>
Courier-BoldOblique
</TD></TR><TR><TD>
HR
</TD><TD>
Helvetica
</TD></TR><TR><TD>
HI
</TD><TD>
Helvetica-Oblique
</TD></TR><TR><TD>
HB
</TD><TD>
Helvetica-Bold
</TD></TR><TR><TD>
HBI
</TD><TD>
Helvetica-BoldOblique
</TD></TR><TR><TD>
HNR
</TD><TD>
Helvetica-Narrow
</TD></TR><TR><TD>
HNI
</TD><TD>
Helvetica-Narrow-Oblique
</TD></TR></TABLE>
<P><CENTER>
<a href="0225-0226.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0232-0233.html">Next</A></CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -