2 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
4 .\" Like TP, but if specified indent is more than half
5 .\" the current line-length - indent, use the default indent.
7 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
10 .TH GRODVI @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
12 grodvi \- convert groff output to TeX dvi format
28 that produces \*(tx dvi format.
29 Normally it should be run by
32 .BR @g@troff\ \-Tdvi ;
33 it will also input the macros
34 .BR @MACRODIR@/tmac.dvi ;
35 if the input is being preprocessed with
38 .BR @FONTDIR@/devdvi/eqnchar .
40 The dvi file generated by
42 can be printed by any correctly-written dvi driver.
43 The troff drawing primitives are implemented
44 using the tpic version 2 specials.
45 If the driver does not support these, the
47 commands will not produce any output.
49 There is an additional drawing command available:
52 Draw a rule (solid black rectangle), with one corner
53 at the current position, and the diagonally opposite corner
54 at the current position
56 Afterwards the current position will be at the opposite corner. This
57 produces a rule in the dvi file and so can be printed even with a
58 driver that does not support the tpic specials unlike the other
64 is translated into the same command in the dvi file as would be
66 .BI \especial{ anything }
68 .I anything may not contain a newline.
72 can be created from tfm files using
73 .BR tfmtodit (@MAN1EXT@).
74 The font description file should contain the following
76 .Tp \w'\fBinternalname'u+2n
77 .BI internalname\ name
78 The name of the tfm file (without the
84 The checksum in the tfm file is
88 The designsize in the tfm file is
91 These are automatically generated by
98 escape sequence can be used to access characters by their position
99 in the corresponding tfm file;
100 all characters in the tfm file can be accessed this way.
104 Do not use tpic specials to implement drawing commands.
105 Horizontal and vertical lines will be implemented by rules.
106 Other drawing commands will be ignored.
109 Print the version number.
112 Set the default line thickness to
114 thousandths of an em.
119 for font and device description files.
122 .B @FONTDIR@/devdvi/DESC
123 Device desciption file.
125 .B @FONTDIR@/devdvi/ F
126 Font description file for font
129 .B @MACRODIR@/tmac.dvi
133 Dvi files produced by
135 use a different resolution (57816 units per inch) to those produced by
137 Incorrectly written drivers which assume the resolution used by \*(tx,
138 rather than using the resolution specified in the dvi file will not
143 option with boxed tables,
144 vertical and horizontal lines can sometimes protrude by one pixel.
145 This is a consequence of the way \*(tx requires that the heights
146 and widths of rules be rounded.
148 .BR tfmtodit (@MAN1EXT@),
149 .BR groff (@MAN1EXT@),
150 .BR @g@troff (@MAN1EXT@),
151 .BR @g@eqn (@MAN1EXT@),
152 .BR groff_out (@MAN5EXT@),
153 .BR groff_font (@MAN5EXT@),
154 .BR groff_char (@MAN7EXT@)