2 Copyright (C) 1989-2000, 2001, 2002 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
21 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
23 .\" Like TP, but if specified indent is more than half
24 .\" the current line-length - indent, use the default indent.
26 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
31 .TH GRODVI @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
33 grodvi \- convert groff output to TeX dvi format
48 It is possible to have whitespace between a command line option and its
56 that produces \*(tx dvi format.
58 Normally it should be run by
62 .BR @g@troff\ \-Tdvi ;
63 it will also input the macros
64 .BR @MACRODIR@/dvi.tmac ;
65 if the input is being preprocessed with
68 .BR @FONTDIR@/devdvi/eqnchar .
71 The dvi file generated by
73 can be printed by any correctly-written dvi driver.
75 The troff drawing primitives are implemented
76 using the tpic version\~2 specials.
78 If the driver does not support these, the
80 commands will not produce any output.
83 There is an additional drawing command available:
86 .BI \[rs]D'R\ dh\ dv '
87 Draw a rule (solid black rectangle), with one corner
88 at the current position, and the diagonally opposite corner
89 at the current position
92 Afterwards the current position will be at the opposite corner.
94 This produces a rule in the dvi file and so can be printed even with a
95 driver that does not support the tpic specials unlike the other
101 .BI \[rs]X' anything '
102 is translated into the same command in the dvi file as would be
104 .BI \[rs]special{ anything }
107 may not contain a newline.
110 For inclusion of EPS image files,
114 automatically, providing the
120 for a detailed description of this macro.
125 can be created from tfm files using
126 .BR tfmtodit (@MAN1EXT@).
128 The font description file should contain the following
131 .Tp \w'\fBinternalname'u+2n
132 .BI internalname\ name
133 The name of the tfm file (without the
140 The checksum in the tfm file is
145 The designsize in the tfm file is
149 These are automatically generated by
153 The default color for
159 Currently, the drawing color for
161 commands is always black, and fill color values are translated to gray.
168 escape sequence can be used to access characters by their position
169 in the corresponding tfm file;
170 all characters in the tfm file can be accessed this way.
176 Do not use tpic specials to implement drawing commands.
178 Horizontal and vertical lines will be implemented by rules.
180 Other drawing commands will be ignored.
184 Print the version number.
188 Set the default line thickness to
190 thousandths of an em.
191 If this option isn't specified, the line thickness defaults to 0.04\~em.
197 to the search path for font and device description files;
199 is the name of the device, usually
204 There are styles called
210 mounted at font positions 1 to 4.
211 The fonts are grouped into families
215 having members in each of these styles:
218 .if '\\*(.T'dvi' .ft \\$1
231 CM Text Italic (cmti10)
237 CM Bold Extended Roman (cmbx10)
243 CM Bold Extended Text Italic (cmbxti10)
249 CM Sans Serif (cmss10)
255 CM Slanted Sans Serif (cmssi10)
261 CM Sans Serif Bold Extended (cmssbx10)
267 CM Slanted Sans Serif Bold Extended (cmssbxo10)
272 There are also the following fonts which are not members of a family:
277 CM Typewriter Text (cmtt10)
283 CM Italic Typewriter Text (cmitt10)
296 and, perhaps surprisingly,
301 due to the different font encodings of text fonts.
309 Finally, the symbol fonts of the American Mathematical Society are available
316 These two fonts are not mounted by default.
323 EC and TC fonts are used.
325 The design of the EC family is very similar to that of the CM fonts;
326 additionally, they give a much better coverage of groff symbols.
330 must be called before any language-specific files; it doesn't take care of
336 .B @FONTDIR@/devdvi/DESC
337 Device description file.
340 .BI @FONTDIR@/devdvi/ F
341 Font description file for font
345 .B @MACRODIR@/dvi.tmac
350 .B @MACRODIR@/ec.tmac
351 Macros to switch to EC fonts.
355 Dvi files produced by
357 use a different resolution (57816 units per inch) to those produced by
360 Incorrectly written drivers which assume the resolution used by \*(tx,
361 rather than using the resolution specified in the dvi file will not
368 option with boxed tables,
369 vertical and horizontal lines can sometimes protrude by one pixel.
371 This is a consequence of the way \*(tx requires that the heights
372 and widths of rules be rounded.
376 .BR tfmtodit (@MAN1EXT@),
377 .BR groff (@MAN1EXT@),
378 .BR @g@troff (@MAN1EXT@),
379 .BR groff_out (@MAN5EXT@),
380 .BR groff_font (@MAN5EXT@),
381 .BR groff_char (@MAN7EXT@)