Section: User Commands (1)
Updated: 10 February 2018
Return to Main Contents
grodvi - convert groff output to TeX dvi format
It is possible to have whitespace between a command line option and its
is a driver for
that produces TeX dvi format.
Normally it should be run by
This will run
it will also input the macros in
The dvi file generated by
can be printed by any correctly-written dvi driver.
The troff drawing primitives are implemented
using the tpic version~2 specials.
If the driver does not support these, the
commands will not produce any output.
There is an additional drawing command available:
- \D'R dh dv'
Draw a rule (solid black rectangle), with one corner
at the current position, and the diagonally opposite corner
at the current position
Afterwards the current position will be at the opposite corner.
This produces a rule in the dvi file and so can be printed even with a
driver that does not support the tpic specials unlike the other
The groff command
is translated into the same command in the dvi file as would be
may not contain a newline.
For inclusion of EPS image files,
automatically, providing the
for a detailed description.
Font files for
can be created from tfm files using
The font description file should contain the following
The name of the tfm file (without the
- checksum n
The checksum in the tfm file is
- designsize n
The designsize in the tfm file is
These are automatically generated by
The default color for
Currently, the drawing color for
commands is always black, and fill color values are translated to gray.
escape sequence can be used to access characters by their position
in the corresponding tfm file;
all characters in the tfm file can be accessed this way.
By design, the DVI format doesn't care about physical dimensions of the
emits the equivalent to TeX's
on the first page;
(and possibly other DVI drivers) then sets the page size accordingly.
If either the page width or length is not positive, no papersize special
Do not use tpic specials to implement drawing commands.
Horizontal and vertical lines will be implemented by rules.
Other drawing commands will be ignored.
to the search path for font and device description files;
is the name of the device, usually
Specify landscape orientation.
Specify paper dimensions.
This overrides the
commands in the
file; it accepts the same arguments as the
Print the version number.
Set the default line thickness to
thousandths of an em.
If this option isn't specified, the line thickness defaults to
There are styles called
mounted at font positions 1 to 4.
The fonts are grouped into families
H having members in each of these styles:
CM Roman (cmr10)
CM Text Italic (cmti10)
CM Bold Extended Roman (cmbx10)
CM Bold Extended Text Italic (cmbxti10)
CM Sans Serif (cmss10)
CM Slanted Sans Serif (cmssi10)
CM Sans Serif Bold Extended (cmssbx10)
CM Slanted Sans Serif Bold Extended (cmssbxo10)
There are also the following fonts which are not members of a family:
CM Typewriter Text (cmtt10)
- CM Italic Typewriter Text (cmitt10)
Special fonts are
(cmtex10, only for
and, perhaps surprisingly,
due to the different font encodings of text fonts.
For italic fonts,
is used instead of
Finally, the symbol fonts of the American Mathematical Society are available
as special fonts
These two fonts are not mounted by default.
Using the option
(which loads the file
provides the EC and TC fonts.
The design of the EC family is very similar to that of the CM fonts;
additionally, they give a much better coverage of groff symbols.
must be called before any language-specific files; it doesn't take
care of hcode values.
A list of directories in which to search for the
directory in addition to the default ones.
for more details.
Device description file.
Font description file for font
Macros for use with
Macros to switch to EC fonts.
Dvi files produced by
use a different resolution (57816 units per inch) to those produced by
Incorrectly written drivers which assume the resolution used by TeX,
rather than using the resolution specified in the dvi file will not
When using the
option with boxed tables,
vertical and horizontal lines can sometimes protrude by one pixel.
This is a consequence of the way TeX requires that the heights
and widths of rules be rounded.
Copyright © 1989-2014 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in
translations approved by the Free Software Foundation instead of in
the original English.
- SEE ALSO
This document was created by
using the manual pages.
Time: 06:44:50 GMT, September 19, 2018