[tex-live] dvips option -T ignored if a document contains specials.

Ulrike Fischer news3 at nililand.de
Tue Feb 28 12:18:37 CET 2017


MiKTeX already has the new dvips version which will go in texlive
2017 too. 

In this dvips the handling of \specials for papersizes have been
changed to be more in line with the other engines/drivers -- now the
last paper size settings wins. This seems to have a side-effect on
the -T option as has been reported on the miktex list.

If one compiles this document with latex and dvips -T 300pt,400pt

\documentclass{article}
\special{papersize=500pt,600pt}
\begin{document}
Hello
\end{document}

then one get with texlive 2016
%%BoundingBox: 0 0 299 399

and with miktex
%%BoundingBox: 0 0 499 598

so miktex ignores the -T option.

One can restore the old behaviour by using 
   dvips -L0 -T 300pt,400pt

But as -T is documentated as "overrides any
paper size special in the DVI file" I don't think that this is
expected behaviour.  




-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the tex-live mailing list