Go to the first, previous, next, last section, table of contents.


DVItype: Plain text transliteration of DVI files

DVItype translates a DeVice Independent (DVI) file (as output by TeX, for example) to a plain text file that humans can read. It also serves as a DVI-validating program, i.e., if DVItype can read a file, it's correct. Synopsis:

dvitype [option]... dvifile[.dvi]

DVItype does not read any bitmap files, but it does read TFM files for fonts referenced in dvifile. The usual places are searched (see section `Supported file formats' in Kpathsea). To see all the relevant paths, set the environment variable KPATHSEA_DEBUG to `-1' before running the program.

Output goes to standard output.

The program accepts the following options, as well as the standard `-help' and `-version' (see section Common options):

`-dpi=real'
Do pixel movement calculations at real pixels per inch; default 300.0.
`-magnification=integer'
Override existing magnification in indvi with integer; 1000 specifies no magnification. This is equivalent to setting TeX's \mag parameter.
`-max-pages=n'
Process n pages; default is one million.
`-output-level=n'
Verbosity level of output, from 0 to 4 (default 4):
`-page-start=page-spec'
Start at the first page matching page-spec, which is one or more (signed) integers separated by periods, corresponding to TeX's \count0...9 parameters at \shipout time; `*' matches anything. Examples: `1', `5.*.-9'.
`-show-opcodes'
Show numeric opcode values (in decimal) for DVI commands, in braces after the command name. This can help in debugging DVI utilities. We use decimal because in the DVI format documentation (in `dvitype.web', among others) the opcodes are shown in decimal.


Go to the first, previous, next, last section, table of contents.