summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/spec-dvi.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/spec-dvi.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/spec-dvi.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/spec-dvi.tex b/Master/texmf-dist/tex/context/base/spec-dvi.tex
index 5da86743c74..e13698cf394 100644
--- a/Master/texmf-dist/tex/context/base/spec-dvi.tex
+++ b/Master/texmf-dist/tex/context/base/spec-dvi.tex
@@ -21,6 +21,8 @@
%D Reuse of object is not supported by the \DVI\ format. We
%D therefore just duplicate them using boxes.
+\setjobsuffix{dvi} % can be overloaded in other spec's
+
\startspecials[tex]
\newbox\DVIobjects \newcounter\DVIobjectcounter
@@ -106,7 +108,7 @@
%
% \appendtoksonce
% \ifspecialbasedsettings
-% \ifpositioning\installprogram{dvipos \jobname}\fi
+% \ifpositioning\installprogram{dvipos -o \jobname.tuo \jobname.dvi}\fi
% \fi
% \to \everystoptext
%
@@ -115,7 +117,7 @@
\definespecial\dosetpositionpapersize#1#2%
{\xdef\flushDVIpositionpapersize%
{\special{pos:papersize #1 #2}%
- \noexpand\installprogram{dvipos \jobname}%
+ \noexpand\installprogram{dvipos -o \jobname.tuo \jobname.dvi }%
\global\noexpand\let\noexpand\flushDVIpositionpapersize\relax}}
\prependtoksonce \flushDVIpositionpapersize \to \everyshipout