Quantcast

Bug in latest version of DVIPS

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug in latest version of DVIPS

Andrei Malokostov
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug in latest version of DVIPS

Ulrike Fischer-2
Am Tue, 28 Feb 2017 10:43:26 +0300 schrieb Andrei Malokostov:

> 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.

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

Neither. It is due to a change in dvips explained here
https://sourceforge.net/p/miktex/bugs/2577/#464b

Using dvips with the option -L0 helps in your case too.


> PS. There is no such effect in TexLive

It will in texlive 2017.



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


------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug in latest version of DVIPS

Ulrike Fischer-2
Am Tue, 28 Feb 2017 11:09:04 +0100 schrieb Ulrike Fischer:

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

Actually it could be a bug -- the documentation says that -T should
override every special. But if it is a bug it is not in miktex but
in dvips. I will pass the question on.


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


------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug in latest version of DVIPS

Andrei Malokostov
Dear Ulrike,

Thank you so much! Option "-L0" works OK.

I also think that it should be written in the documentation, but in fact I
dod not find at all this documentation in the new complete MikTeX 2.9
installation. With old distributives this documentation (dvips.pdf) is
present, but in the latest version of MikTeX the corresponding folder is
empty or even not present.

Thank you!

Yours,

Andrei Malokostov

2017-02-28 13:30 GMT+03:00 Ulrike Fischer <[hidden email]>:

> Am Tue, 28 Feb 2017 11:09:04 +0100 schrieb Ulrike Fischer:
>
> >> Could anybody explain me is this a bug or my fault?
> >
> > Neither.
>
> Actually it could be a bug -- the documentation says that -T should
> override every special. But if it is a bug it is not in miktex but
> in dvips. I will pass the question on.
>
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug in latest version of DVIPS

Ulrike Fischer-2
Am Tue, 28 Feb 2017 13:49:10 +0300 schrieb Andrei Malokostov:


>> Actually it could be a bug -- the documentation says that -T should
>> override every special. But if it is a bug it is not in miktex but
>> in dvips. I will pass the question on.

I reported the issue on the texlive list. It has been corrected.
Some time in the future the -T option should again work.


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


------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug in latest version of DVIPS

Andrei Malokostov
Thank you so much!


2017-03-01 1:42 GMT+03:00 Ulrike Fischer <[hidden email]>:

> Am Tue, 28 Feb 2017 13:49:10 +0300 schrieb Andrei Malokostov:
>
>
> >> Actually it could be a bug -- the documentation says that -T should
> >> override every special. But if it is a bug it is not in miktex but
> >> in dvips. I will pass the question on.
>
> I reported the issue on the texlive list. It has been corrected.
> Some time in the future the -T option should again work.
>
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
------------------------------------------------------------------------------
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
Loading...