from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209584

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149881

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





grodvi

Section: User Commands (1)
Updated: 2 July 2023
Index Return to Main Contents
 

Name

grodvi - groff output driver for TeX DVI format
          .nr d-fallback 1 
          .nr d-fallback 1   

Synopsis

[-dl] [-F~dir] [-p~pape-format] [-w~n] [file~...] --help -v --version  

Description

The GNU roff DVI output driver translates the output of into tx] DVI format. Normally, grodvi is invoked by when the latter is given the [lq]-T~dvi[rq] option. (In this installation, ps is the default output device.) Use groff's -P option to pass any options shown above to grodvi. If no file arguments are given, or if file is [lq]-[rq], grodvi reads the standard input stream. Output is written to the standard output stream. The DVI file generated by grodvi can interpreted by any correctly written DVI driver. troff drawing primitives are implemented using tpic version~2 specials. If the driver does not support these, [rs]D escape sequences will not produce any output. Encapsulated PostScript (EPS) files can be easily included; use the PSPIC macro. pspic.tmac is loaded automatically by dvi.tmac. See The default color used by the [rs]m and [rs]M escape sequences is black. Currently, the stroke color for [rs]D drawing escape sequences is black; fill color values are translated to gray. In groff, as in AT&T troff, the [rs]N escape sequence can be used to access any glyph in the current font by its position in the corresponding TFM file. By design, the DVI format doesn't care about the physical dimensions of the output medium. Instead, grodvi emits the equivalent to tx]'s [rs]special{:papersize=width,length} on the first page; dvips (or another DVI driver) then sets the page size accordingly. If either the page width or length is not positive, no papersize special is output. A device control escape sequence [rs]X[aq]anything[aq] is translated to the same DVI file instructions as would be produced by [rs]special{anything} in tx]; anything cannot contain a newline.  

Typefaces

grodvi supports the standard four styles: R (roman), I (italic), B (bold), and BI (BI]bol-italic]). Fonts are grouped into families T and H having members in each style. [lq]CM[rq] abbreviates [lq]Computer Modern[rq].
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)

The following fonts are not members of a family.

CW
CM Typewriter Text (cmtt10) CWI CM Italic Typewriter Text (cmitt10)
Special fonts include MI (cmmi10), S (cmsy10), EX (cmex10), SC (cmtex10, only for CW), and, perhaps surprisingly, TR, TI, and CW, because tx] places some glyphs in text fonts that troff generally does not. For italic fonts, CWI is used instead of CW. Finally, the symbol fonts of the American Mathematical Society are available as special fonts SA (msam10) and SB (msbm10). They are are not mounted by default.
The troff option -mec loads the ec.tmac macro file, employing the EC and TC fonts instead of CM. These are designed similarly to the Computer Modern fonts; further, they provide Euro [rs][Eu] and per mille [rs][%0] glyphs. ec.tmac must be loaded before any languag-specific macro files because it does not set up the codes necessary for automatic hyphenation.  

Font description files

Use to create groff font description files from TFM (tx] font metrics) files. The font description file should contain the following additional directives, which tfmtodit generates automatically.
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 design size in the TFM file is n.
 

Drawing commands

grodvi supports an additional drawing command.
[rs]D[aq]R~dh dv[aq]
Draw a rule (solid black rectangle) with one corner at the drawing position, and the diagonally opposite corner at the drawing position +(dh,dv), which becomes the new drawing position afterward. This command produces a rule in the DVI file and so can be printed even with a driver that does not support tpic specials, unlike the other [rs]D commands.
 

Options

--help displays a usage message, while -v and --version show version information; all exit afterward.
-d
Do not use tpic specials to implement drawing commands. Horizontal and vertical lines are implemented by rules. Other drawing commands are ignored.
-F~dir
Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually dvi.
-l
Use landscape orientation rather than portrait.
-p~pape-format
Set physical dimensions of output medium, overriding the papersize, paperlength, and paperwidth directives in the DESC file. pape-format can be any argument accepted by the papersize directive; see
-w~n
Draw rules (lines) with a thickness of n~thousandths of an em. The default thickness is 40 (0.04~em).
 

Environment

GROFF_FONT_PATH
lists directories in which to search for devdvi, grodvi's directory of device and font description files. See and
 

Files

/usr/:share/:groff/:1.23.0/:font/:devdvi/:DESC
describes the dvi output device.
/usr/:share/:groff/:1.23.0/:font/:devdvi/F
describes the font known as~F on device dvi.
/usr/:share/:groff/:1.23.0/:tmac/:dvi:.tmac
defines font mappings, special characters, and colors for use with the dvi output device. It is automatically loaded by troffrc when the dvi output device is selected.
/usr/:share/:groff/:1.23.0/:tmac/:ec:.tmac
configures the dvi output device to use the EC and TC font families instead of CM (Computer Modern).
 

Bugs

DVI files produced by grodvi use a different resolution (57,816 units per inch) from those produced by tx]. Incorrectly written drivers which assume the resolution used by tx], rather than using the resolution specified in the DVI file, will not work with grodvi.

When using the -d option with boxed tables, vertical and horizontal lines can sometimes protrude by one pixel. This is a consequence of the way tx] requires that the heights and widths of rules be rounded.  

See also

[lq]What are the EC fonts?[rq] tx] FAQ: Frequently Asked Question List for tx]


 

Index

Name
Synopsis
Description
Typefaces
Font description files
Drawing commands
Options
Environment
Files
Bugs
See also





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.4 ms