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: texlive-doc 2026.0-r0 ยท GPL-2.0-or-later AND GPL-3.0-or-later
- arch rolling: texlive-doc 2026.1-1 ยท GPL
- debian bookworm: texlive-binaries 2022.20220321.62855-5.1+deb12u2
- debian trixie: texlive-binaries 2024.20240313.70630+ds-6 ยท TeX-Live
- fedora 43: texlive-dviout-util 11:svn66186-93.fc43 ยท MIT
- fedora 43: texlive-dviout-util 11:svn66186-95.fc43.1 ยท MIT
- fedora 44: texlive-dviout-util 12:svn66186-105.fc44 ยท MIT
- fedora 44: texlive-dviout-util 12:svn66186-111.fc44 ยท MIT
- opensuse-leap 16.0: texlive-dviout-util 2025.221.svn66186-160000.3.1 ยท LPPL-1.0
- ubuntu jammy: texlive-binaries 2021.20210626.59705-1build1
- ubuntu jammy: texlive-binaries 2021.20210626.59705-1ubuntu0.3
- ubuntu noble: texlive-binaries 2023.20230311.66589-9build3 ยท TeX-Live
- ubuntu questing: texlive-binaries 2024.20240313.70630+ds-6ubuntu2 ยท TeX-Live
- ubuntu resolute: texlive-binaries 2025.20250727.75242+ds-5build1 ยท TeX-Live
- ubuntu stonking: texlive-binaries 2026.20260303.78225+ds-5ubuntu1 ยท TeX-Live
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms