2 .TH GRODVI @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
4 grodvi \- convert groff output to TeX dvi format
8 Copyright \[co] 1989-2014 Free Software Foundation, Inc.
10 Permission is granted to make and distribute verbatim copies of
11 this manual provided the copyright notice and this permission notice
12 are preserved on all copies.
14 Permission is granted to copy and distribute modified versions of this
15 manual under the conditions for verbatim copying, provided that the
16 entire resulting derived work is distributed under the terms of a
17 permission notice identical to this one.
19 Permission is granted to copy and distribute translations of this
20 manual into another language, under the above conditions for modified
21 versions, except that this permission notice may be included in
22 translations approved by the Free Software Foundation instead of in
26 .do nr grodvi_C \n[.C]
29 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
32 .\" Like TP, but if specified indent is more than half
33 .\" the current line-length - indent, use the default indent.
35 . ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
46 . if '\\*(.T'dvi' .ft \\$1
52 .\" --------------------------------------------------------------------
54 .\" --------------------------------------------------------------------
69 It is possible to have whitespace between a command line option and its
73 .\" --------------------------------------------------------------------
75 .\" --------------------------------------------------------------------
80 that produces \*(tx dvi format.
82 Normally it should be run by
86 .BR @g@troff\ \-Tdvi ;
87 it will also input the macros in
88 .BR @MACRODIR@/dvi.tmac .
91 The dvi file generated by
93 can be printed by any correctly-written dvi driver.
95 The troff drawing primitives are implemented
96 using the tpic version\~2 specials.
98 If the driver does not support these, the
100 commands will not produce any output.
103 There is an additional drawing command available:
106 .BI \[rs]D'R\ dh\ dv '
107 Draw a rule (solid black rectangle), with one corner
108 at the current position, and the diagonally opposite corner
109 at the current position
112 Afterwards the current position will be at the opposite corner.
114 This produces a rule in the dvi file and so can be printed even with a
115 driver that does not support the tpic specials unlike the other
121 .BI \[rs]X' anything '
122 is translated into the same command in the dvi file as would be
124 .BI \[rs]special{ anything }
127 may not contain a newline.
130 For inclusion of EPS image files,
134 automatically, providing the
139 .BR groff_tmac (@MAN5EXT@)
140 for a detailed description.
145 can be created from tfm files using
146 .BR tfmtodit (@MAN1EXT@).
148 The font description file should contain the following
151 .Tp \w'\fBinternalname'u+2n
152 .BI internalname\ name
153 The name of the tfm file (without the
160 The checksum in the tfm file is
165 The designsize in the tfm file is
169 These are automatically generated by
173 The default color for
179 Currently, the drawing color for
181 commands is always black, and fill color values are translated to gray.
188 escape sequence can be used to access characters by their position
189 in the corresponding tfm file;
190 all characters in the tfm file can be accessed this way.
193 By design, the DVI format doesn\[aq]t care about physical dimensions of the
198 emits the equivalent to \*[tx]\[aq]s
199 .BI \[rs]special{papersize= width , length }
202 (and possibly other DVI drivers) then sets the page size accordingly.
204 If either the page width or length is not positive, no papersize special
208 .\" --------------------------------------------------------------------
210 .\" --------------------------------------------------------------------
214 Do not use tpic specials to implement drawing commands.
216 Horizontal and vertical lines will be implemented by rules.
218 Other drawing commands will be ignored.
224 to the search path for font and device description files;
226 is the name of the device, usually
231 Specify landscape orientation.
235 Specify paper dimensions.
244 file; it accepts the same arguments as the
247 .BR groff_font (@MAN5EXT@)
252 Print the version number.
256 Set the default line thickness to
258 thousandths of an em.
260 If this option isn\[aq]t specified, the line thickness defaults to
264 .\" --------------------------------------------------------------------
266 .\" --------------------------------------------------------------------
268 There are styles called
274 mounted at font positions 1 to\ 4.
275 The fonts are grouped into families
279 having members in each of these styles:
291 CM Text Italic (cmti10)
297 CM Bold Extended Roman (cmbx10)
303 CM Bold Extended Text Italic (cmbxti10)
309 CM Sans Serif (cmss10)
315 CM Slanted Sans Serif (cmssi10)
321 CM Sans Serif Bold Extended (cmssbx10)
327 CM Slanted Sans Serif Bold Extended (cmssbxo10)
332 There are also the following fonts which are not members of a family:
337 CM Typewriter Text (cmtt10)
343 CM Italic Typewriter Text (cmitt10)
359 and, perhaps surprisingly,
364 due to the different font encodings of text fonts.
372 Finally, the symbol fonts of the American Mathematical Society are available
379 These two fonts are not mounted by default.
384 (which loads the file
386 provides the EC and TC fonts.
388 The design of the EC family is very similar to that of the CM fonts;
389 additionally, they give a much better coverage of groff symbols.
393 must be called before any language-specific files; it doesn\[aq]t take
394 care of hcode values.
401 A list of directories in which to search for the
403 directory in addition to the default ones.
406 .BR @g@troff (@MAN1EXT@)
408 .BR \%groff_font (@MAN5EXT@)
412 .\" --------------------------------------------------------------------
414 .\" --------------------------------------------------------------------
417 .B @FONTDIR@/devdvi/DESC
418 Device description file.
421 .BI @FONTDIR@/devdvi/ F
422 Font description file for font
426 .B @MACRODIR@/dvi.tmac
431 .B @MACRODIR@/ec.tmac
432 Macros to switch to EC fonts.
435 .\" --------------------------------------------------------------------
437 .\" --------------------------------------------------------------------
439 Dvi files produced by
441 use a different resolution (57816 units per inch) to those produced by
444 Incorrectly written drivers which assume the resolution used by \*(tx,
445 rather than using the resolution specified in the dvi file will not
452 option with boxed tables,
453 vertical and horizontal lines can sometimes protrude by one pixel.
455 This is a consequence of the way \*(tx requires that the heights
456 and widths of rules be rounded.
459 .\" --------------------------------------------------------------------
461 .\" --------------------------------------------------------------------
463 .BR tfmtodit (@MAN1EXT@),
464 .BR groff (@MAN1EXT@),
465 .BR @g@troff (@MAN1EXT@),
466 .BR groff_out (@MAN5EXT@),
467 .BR groff_font (@MAN5EXT@),
468 .BR groff_char (@MAN7EXT@),
469 .BR groff_tmac (@MAN5EXT@)
472 .\" --------------------------------------------------------------------
474 .\" --------------------------------------------------------------------