Manual page for GRODVI(1)
grodvi - convert groff output to TeX dvi format
SYNOPSIS
grodvi
[
-dv
] [
-wn
] [
-Fdir
] [
files...
]
DESCRIPTION
grodvi
is a driver for
groff
that produces TEX dvi format.
Normally it should be run by
groff -Tdvi.
This will run
gtroff -Tdvi;
it will also input the macros
/usr/local/gnu/lib/groff/tmac/tmac.dvi;
if the input is being preprocessed with
geqn
it will also input
/usr/local/gnu/lib/groff/font/devdvi/eqnchar.
The dvi file generated by
grodvi
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
\D
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
+(dh,dv).
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
\D
commands.
The groff command
\X'anything'
is translated into the same command in the dvi file as would be
produced by
\special{anything}
in TEX;
anything may not contain a newline.
Font files for
grodvi
can be created from tfm files using
tfmtodit.1
The font description file should contain the following
additional commands:
Created by unroff & hp-tools.
© somebody (See intro for details). All Rights Reserved.
Last modified 11/5/97