Manual Pages for UNIX Darwin command on man grodvi
MyWebUniversity

Manual Pages for UNIX Darwin command on man grodvi

GRODVI(1) GRODVI(1)

NAME

grodvi - convert groff output to TeX dvi format

SYNOPSIS

ggrrooddvvii [ -ddllvv ] [ -FFdir ] [ -pppapersize ] [ -wwn ] [ files... ]

It is possible to have whitespace between a command line option and its parameter.

DESCRIPTION

ggrrooddvvii is a driver for ggrrooffff that produces TeX dvi format. Normally it

should be run by ggrrooffff -TTddvvii. This will run ttrrooffff -TTddvvii; it will also

input the macros in //uussrr//sshhaarree//ggrrooffff//11..1199..11//ttmmaacc//ddvvii..ttmmaacc.

The dvi file generated by ggrrooddvvii can be printed by any correctly-writ-

ten dvi driver. The troff drawing primitives are implemented using the tpic version 2 specials. If the driver does not support these, the \\DD commands will not produce any output. There is an additional drawing command available: \\DD''RR dh dv''

Draw a rule (solid black rectangle), with one corner at the cur-

rent 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 \\DD commands. The groff command \\XX''anything'' is translated into the same command in

the dvi file as would be produced by \\ssppeecciiaall{{anything}} in TeX; any-

thing may not contain a newline.

For inclusion of EPS image files, ggrrooddvvii loads ppssppiicc..ttmmaacc automati-

cally, providing the PPSSPPIICC macro. Please check ggrrooffffttmmaacc(5) for a detailed description. Font files for ggrrooddvvii can be created from tfm files using ttffmmttooddiitt(1).

The font description file should contain the following additional com-

mands: iinntteerrnnaallnnaammee name The name of the tfm file (without the ..ttffmm extension) is name. cchheecckkssuumm n The checksum in the tfm file is n. ddeessiiggnnssiizzee n The designsize in the tfm file is n. These are automatically generated by ttffmmttooddiitt.. The default color for \\mm and \\MM is black. Currently, the drawing color for \\DD commands is always black, and fill color values are translated to gray. In ttrrooffff the \\NN escape sequence can be used to access characters by their position in the corresponding tfm file; all characters in the tfm file can be accessed this way. By design, the DVI format doesn't care about physical dimensions of the

output medium. Instead, ggrrooddvvii emits the equivalent to TeX's \\ssppee-

cciiaall{{ppaappeerrssiizzee==width,,length}} on the first page; ddvviippss (and possibly other DVI drivers) then sets the page size accordingly. If either the page width or length is not positive, no papersize special is output. OOPPTTIIOONNSS

-dd Do not use tpic specials to implement drawing commands. Hori-

zontal and vertical lines will be implemented by rules. Other drawing commands will be ignored.

-FFdir Prepend directory dir//ddeevvname to the search path for font and

device description files; name is the name of the device, usu-

ally ddvvii.

-ll Specify landscape orientation.

-pppapersize

Specify paper dimensions. This overrides the ppaappeerrssiizzee, ppaappeerr-

lleennggtthh, and ppaappeerrwwiiddtthh commands in the DDEESSCC file; it accepts the same arguments as the ppaappeerrssiizzee command (see ggrrooffffffoonntt(5) for details).

-vv Print the version number.

-wwn Set the default line thickness to n thousandths of an em. If

this option isn't specified, the line thickness defaults to 0.04 em. UUSSAAGGEE There are styles called RR, II, BB, and BBII mounted at font positions 1 to 4. The fonts are grouped into families TT and HH having members in each of these styles: TTRR CM Roman (cmr10) TTII CM Text Italic (cmti10) TTBB CM Bold Extended Roman (cmbx10) TTBBII CM Bold Extended Text Italic (cmbxti10) HHRR CM Sans Serif (cmss10) HHII CM Slanted Sans Serif (cmssi10) HHBB CM Sans Serif Bold Extended (cmssbx10) HHBBII CM Slanted Sans Serif Bold Extended (cmssbxo10) There are also the following fonts which are not members of a family: CCWW CM Typewriter Text (cmtt10) CCWWII CM Italic Typewriter Text (cmitt10) Special fonts are MMII (cmmi10), SS (cmsy10), EEXX (cmex10), SSCC (cmtex10, only for CCWW), and, perhaps surprisingly, TTRR, TTII, and CCWW, due to the different font encodings of text fonts. For italic fonts, CCWWII is used instead of CCWW. Finally, the symbol fonts of the American Mathematical Society are available as special fonts SSAA (msam10) and SSBB (msbm10). These two fonts are not mounted by default.

Using the option -mmeecc (which loads the file eecc..ttmmaacc) provides the EC

and TC fonts. The design of the EC family is very similar to that of the CM fonts; additionally, they give a much better coverage of groff

symbols. Note that eecc..ttmmaacc must be called before any language-specific

files; it doesn't take care of hcode values. FILES //uussrr//sshhaarree//ggrrooffff//11..1199..11//ffoonntt//ddeevvddvvii//DDEESSCC Device description file. //uussrr//sshhaarree//ggrrooffff//11..1199..11//ffoonntt//ddeevvddvvii//F Font description file for font F. //uussrr//sshhaarree//ggrrooffff//11..1199..11//ttmmaacc//ddvvii..ttmmaacc Macros for use with ggrrooddvvii. //uussrr//sshhaarree//ggrrooffff//11..1199..11//ttmmaacc//eecc..ttmmaacc Macros to switch to EC fonts.

BUGS

Dvi files produced by ggrrooddvvii use a different resolution (57816 units per inch) to those produced by TeX. Incorrectly written drivers which assume the resolution used by TeX, rather than using the resolution specified in the dvi file will not work with ggrrooddvvii.

When using the -dd option with boxed tables, vertical and horizontal

lines can sometimes protrude by one pixel. This is a consequence of the way TeX requires that the heights and widths of rules be rounded.

SEE ALSO

ttffmmttooddiitt(1), ggrrooffff(1), ttrrooffff(1), ggrrooffffoouutt(5), ggrrooffffffoonntt(5), ggrrooffffcchhaarr(7), ggrrooffffttmmaacc(5) Groff Version 1.19.1 18 July 2003 GRODVI(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™