Bug in latest version of DVIPS

Andrei Malokostov <[email protected]> Tue, 28 Feb 2017 10:43:26 +0300
Newsgroups gmane.comp.tex.miktex
Message-ID <CABtg2RTs8yuPufmtmBTeSu1CwoQzqbLn0aABuZPSwaUox4PC2w@mail.gmail.com>
Dear MikTeX Users,

I have found strange thing running DVIPS: option "-T hsize,vsize" in
command line for DVIPS should (in theory) override settings in
\special{papersize=hsize1,vsize1}, but in fact it does not.

Just yesterday I have downloaded and installed the latest version of MikTeX
2.9 for Windows x64 (via MikTeX update routine).

I try to process very simple TeX file test.tex with only 5 lines:

\documentclass{article}
\special{papersize=500pt,600pt}
\begin{document}
The Dvips program has a number of features that set it apart from other
PostScript drivers for TeX.
\end{document}

Then if I run DVIPS with option "-T 300pt,450pt" I obtain PS-file with the
head

%!PS-Adobe-2.0
%%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software
%%Title: test.dvi
%%CreationDate: Tue Feb 28 06:57:56 2017
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 499 598
%%DocumentFonts: CMR10
%%EndComments
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -T 300pt,450pt test
%DVIPSParameters: dpi=600
%DVIPSSource:  TeX output 2017.02.28:0957

Here BoundingBox should have dimensions 300pt,450pt (as in option "-T"),
but in fact it has dimensions 499pt, 598pt (as in \special command in TeX
file).

Could anybody explain me is this a bug or my fault?

All files (log, dvi, ps) are attached. File test0.tex has the line with
\special commented out.

Yours,

Andrei Malokostov

PS. There is no such effect in TexLive

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml