DVISPC(1)
๐ DVISPC(1) ๐
โจ NAME โจ
dvispc - Modify a DVI file to be page-independent in specials ๐ฆ
๐ SYNOPSIS ๐
dvispc [-c] [-bvz] input_dvi_file [output_dvi_file]
dvispc -d input_dvi_file
dvispc -s [-p..] input_dvi_file [output_text_file]
dvispc -a [-ltv] [-J..] [-p..] [-r..] input_dvi_file [output_text_file]
dvispc -x[..] [-ltv] [-r..] [input_text_file] output_dvi_file
๐ธ DESCRIPTION ๐ธ
okay so dvispc is a utility for modifying/editing TeX DVI files, and it comes with a bunch of features bestie needs to know about ๐ซถ
- Mode option
-c(default) โ corrects an input DVI so it's page-independent in specials (default) โจ - Mode option
-dโ dry run to check whether an input DVI is page-independent in specials ๐ - Mode option
-sโ shows all specials in the input DVI ๐ - Mode option
-aโ translates DVI into Text (likedv2dtin dtl) ๐ - Mode option
-xโ translates Text back into a DVI (likedt2dvin dtl) ๐
(1) The main feature of dvispc is the first one, making a page-independent DVI file. It's the whole vibe ๐
A "pure" DVI file must actually be page-independent. However, in recent years DVI files with lots of \specials (color, annotation etc.) are super common, and they are not always page-independent ๐ In that case, for example, dviselect or dvidvi fails to preserve \specials (e.g. page color might be lost) ๐
The program dvispc fixes those page-"dependent" DVI files so they become page-independent ๐ง Once that's done, they can be safely processed by dviselect or dvidvi and then properly converted to other formats such as PostScript and PDF ๐
(2) To know whether such a correction is needed or not, dvispc -d will suffice ๐
(3) The mode -s lists all specials found in the input DVI exactly as-is, with a number in front showing which page each one appears on ๐ For example:
[1]
{color push Black}
{color pop}
{color push rgb 1 0 0}
{color pop}
[2]
{color push Black}
{color pop}
This feature is equivalent to a program dvispecials in the TeX-Guy package, <http://www-masu.ist.osaka-u.ac.jp/%7Ekakugawa/TeX-Guy/>, and dvii -s, <https://ctan.org/pkg/dvii> ๐ฆ
(4) The modes -a and -x correspond to dv2dt and dt2dv in the dtl (= DVI Text Language) package, respectively ๐ By default, dvispc -a formats the output text in its own style, but a DTL-compatible format is available with the -t option โจ Also, dvispc -x can accept DTL-compatible text input ๐ซถ
๐ SUPPORTED SPECIALS ๐
Currently dvispc supports the following ๐
๐ dvips-compatible specials
color push,color pop,background
๐ dvipdfm(x) specials
pdf:bcolor,pdf:ecolor,pdf:bgcolor,pdf:bann,pdf:eann
๐ง tpic specials
pn
Other specials might be supported in the future if needed ๐ฎ
๐ SEE ALSO ๐
dviselect(1), dvidvi(1), dvips(1), dvipdfmx(1) ๐
๐ซถ AUTHOR ๐ซถ
The program dvispc is derived from the DVIOUT package (DVI previewer for Windows) by Toshio OSHIMA ("SHIMA"), Yoshiki OTOBE, and Kazunori ASAYAMA ๐ The current version is maintained by Japanese TeX Development Community, <https://texjp.org>.
For more information, please refer to dvispc-en.txt (in English) and dvispc-ja.txt (in Japanese) on our GitHub repository, <https://github.com/texjporg/tex-jp-build> (under source/texk/dviout-util directory) ๐ธ
Bestie, that's the whole DVISPC(1) page, from General Commands Manual to the last line, no cap ๐ โจ
๐ฆ where this page comes from
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 ยท LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms