GRODVI(1) | General Commands Manual | GRODVI(1) |
NAME
grodvi - convert groff output to TeX dvi formatSYNOPSIS
grodvi [ -dlv ] [ -Fdir ] [ -ppapersize ] [ -wn ] [ files... ]DESCRIPTION
grodvi is a driver for groff that produces TeX dvi format. Normally it should be run by groff -Tdvi. This will run troff -Tdvi; it will also input the macros in /share/groff/1.22.1/tmac/dvi.tmac.- \D'R dh dv'
- Draw a rule (solid black rectangle), with one corner at the current 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 \D commands.
- internalname name
- The name of the tfm file (without the .tfm extension) is name.
- checksum n
- The checksum in the tfm file is n.
- designsize n
- The designsize in the tfm file is n.
OPTIONS
- -d
- Do not use tpic specials to implement drawing commands. Horizontal and vertical lines will be implemented by rules. Other drawing commands will be ignored.
- -Fdir
- Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually dvi.
- -l
- Specify landscape orientation.
- -ppapersize
- Specify paper dimensions. This overrides the papersize, paperlength, and paperwidth commands in the DESC file; it accepts the same arguments as the papersize command (see groff_font(5) for details).
- -v
- Print the version number.
- -wn
- 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.
USAGE
There are styles called R, I, B, and BI mounted at font positions 1 to 4. The fonts are grouped into families T and H having members in each of these styles:- TR
-
CM Roman (cmr10)
- TI
-
CM Text Italic (cmti10)
- TB
-
CM Bold Extended Roman (cmbx10)
- TBI
-
CM Bold Extended Text Italic (cmbxti10)
- HR
-
CM Sans Serif (cmss10)
- HI
-
CM Slanted Sans Serif (cmssi10)
- HB
-
CM Sans Serif Bold Extended (cmssbx10)
- HBI
- CM Slanted Sans Serif Bold Extended (cmssbxo10)
- CW
-
CM Typewriter Text (cmtt10)
- CWI
- CM Italic Typewriter Text (cmitt10)
ENVIRONMENT
- GROFF_FONT_PATH
- A list of directories in which to search for the devname directory in addition to the default ones. See troff(1) and groff_font(5) for more details.
FILES
- /share/groff/1.22.1/font/devdvi/DESC
- Device description file.
- /share/groff/1.22.1/font/devdvi/F
- Font description file for font F.
- /share/groff/1.22.1/tmac/dvi.tmac
- Macros for use with grodvi.
- /share/groff/1.22.1/tmac/ec.tmac
- Macros to switch to EC fonts.
BUGS
Dvi files produced by grodvi 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 grodvi.SEE ALSO
tfmtodit(1), groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7), groff_tmac(5)30 December 2012 | Groff Version 1.22.1 |