On Mon, 25 Nov 2013, Aditya Mahajan wrote:

It has been years since I used dvips, so I don't remember how to correct that. Basically, the "bug" is with the following file:

\starttext
\startTEXpage
 What will happen now
\stopTEXpage
\stoptext

Process using "mtxrun --script test --dvips" and then "ps2pdf" and the resulting pdf file has the wrong bounding box.

The file processes correctly (but in landscape orientation) when using pstopdf, so it is just a bug of ps2pdf.

The header of the ps file is:

%!PS-Adobe-2.0
%%Creator: dvips(k) 5.993 Copyright 2013 Radical Eye Software
%%Title: test.dvi
%%CreationDate: Mon Nov 25 18:43:15 2013
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Landscape
%%BoundingBox: 0 0 15 117
%%DocumentFonts: LMRoman12-Regular
%%EndComments
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -u +original-base -u +original-ams-base -u
%+ +original-public-lm -u +lm-ec -u +lm-math -u +lm-rm -u
%+ +original-ams-euler test
%DVIPSParameters: dpi=600
%DVIPSSource:  TeX output 2013.11.25:1843
%%BeginProcSet: tex.pro 0 0
%!

Why is dvips adding Orientation: Landscape in the header?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to