2 Copyright (C) 1989-1995 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
19 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
21 .\" Like TP, but if specified indent is more than half
22 .\" the current line-length - indent, use the default indent.
24 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
27 .TH GRODVI @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
29 grodvi \- convert groff output to TeX dvi format
45 that produces \*(tx dvi format.
46 Normally it should be run by
49 .BR @g@troff\ \-Tdvi ;
50 it will also input the macros
51 .BR @MACRODIR@/tmac.dvi ;
52 if the input is being preprocessed with
55 .BR @FONTDIR@/devdvi/eqnchar .
57 The dvi file generated by
59 can be printed by any correctly-written dvi driver.
60 The troff drawing primitives are implemented
61 using the tpic version 2 specials.
62 If the driver does not support these, the
64 commands will not produce any output.
66 There is an additional drawing command available:
69 Draw a rule (solid black rectangle), with one corner
70 at the current position, and the diagonally opposite corner
71 at the current position
73 Afterwards the current position will be at the opposite corner. This
74 produces a rule in the dvi file and so can be printed even with a
75 driver that does not support the tpic specials unlike the other
81 is translated into the same command in the dvi file as would be
83 .BI \especial{ anything }
85 .I anything may not contain a newline.
89 can be created from tfm files using
90 .BR tfmtodit (@MAN1EXT@).
91 The font description file should contain the following
93 .Tp \w'\fBinternalname'u+2n
94 .BI internalname\ name
95 The name of the tfm file (without the
101 The checksum in the tfm file is
105 The designsize in the tfm file is
108 These are automatically generated by
115 escape sequence can be used to access characters by their position
116 in the corresponding tfm file;
117 all characters in the tfm file can be accessed this way.
121 Do not use tpic specials to implement drawing commands.
122 Horizontal and vertical lines will be implemented by rules.
123 Other drawing commands will be ignored.
126 Print the version number.
129 Set the default line thickness to
131 thousandths of an em.
136 for font and device description files.
139 .B @FONTDIR@/devdvi/DESC
140 Device description file.
142 .B @FONTDIR@/devdvi/ F
143 Font description file for font
146 .B @MACRODIR@/tmac.dvi
150 Dvi files produced by
152 use a different resolution (57816 units per inch) to those produced by
154 Incorrectly written drivers which assume the resolution used by \*(tx,
155 rather than using the resolution specified in the dvi file will not
160 option with boxed tables,
161 vertical and horizontal lines can sometimes protrude by one pixel.
162 This is a consequence of the way \*(tx requires that the heights
163 and widths of rules be rounded.
165 .BR tfmtodit (@MAN1EXT@),
166 .BR groff (@MAN1EXT@),
167 .BR @g@troff (@MAN1EXT@),
168 .BR @g@eqn (@MAN1EXT@),
169 .BR groff_out (@MAN5EXT@),
170 .BR groff_font (@MAN5EXT@),
171 .BR groff_char (@MAN7EXT@)