The DESC file can contain the following types of line. Except
for the charset keyword which must comes last (if at all), the
order of the lines is not important. Later entries in the file,
however, override previous values.
charsetfamily famfonts n F1 F2 F3 ... Fnhor nimage_generator stringgrohtml only. It specifies the program to generate
PNG images from PostScript input. Under GNU/Linux this is
usually gs but under other systems (notably cygwin) it might
be set to another name.
paperlength ntroff itself but by output devices.
Deprecated. Use papersize instead.
papersize string ...A0-A7, B0-B7, C0-C7,
D0-D7, DL, and the US paper types letter,
legal, tabloid, ledger, statement,
executive, com10, and monarch. Case is not
significant for string if it holds predefined paper types.
Alternatively, string can be a file name (e.g.
/etc/papersize); if the file can be opened, groff reads
the first line and tests for the above paper sizes. Finally,
string can be a custom paper size in the format
length,width (no spaces before and after the comma).
Both length and width must have a unit appended; valid
values are ‘i’ for inches, ‘C’ for centimeters, ‘p’ for
points, and ‘P’ for picas. Example: 12c,235p. An argument
which starts with a digit is always treated as a custom paper format.
papersize sets both the vertical and horizontal dimension of the
output medium.
More than one argument can be specified; groff scans from left to
right and uses the first valid paper specification.
paperwidth ntroff itself but by output devices.
Deprecated. Use papersize instead.
pass_filenamesgtroff to emit the name of the source file currently being
processed. This is achieved by the intermediate output command
‘F’. Currently, this is only used by the grohtml output
device.
postpro program
postpro grodvi
in the file devdvi/DESC makes groff call grodvi if
option -Tdvi is given (and -Z isn't used).
prepro programgroff with option -Thtml or -Txhtml only.
print programgroff are ignored.
res nsizes s1 s2 ... sn 0sizescale nunitwidth and sizes commands are given in
scaled points. See Fractional Type Sizes, for more information.
styles S1 S2 ... SmtcommandunicodeIf unicode is present, no charset section is required in
the font description files since the Unicode handling built into
groff is used. However, if there are entries in a charset
section, they either override the default mappings for those particular
characters or add new mappings (normally for composite characters).
This is used for -Tutf8, -Thtml, and -Txhtml.
unitwidth nunscaled_charwidthsgrohtml device.
use_charnames_in_specialgtroff should encode special
characters inside special commands. Currently, this is only used by the
grohtml output device. See Postprocessor Access.
vert nThe res, unitwidth, fonts, and sizes lines
are mandatory. Other commands are ignored by gtroff but may be
used by postprocessors to store arbitrary information about the device
in the DESC file.
Here a list of obsolete keywords which are recognized by groff
but completely ignored: spare1, spare2,
biggestfont.