ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pstrics module again
Date: Mon, 25 Nov 2013 18:53:49 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.03.1311251851430.780@hzvpu.rqh> (raw)
In-Reply-To: <alpine.LNX.2.03.1311251835270.780@hzvpu.rqh>

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	other threads:[~2013-11-25 23:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25 18:05 DesdeChaves
2013-11-25 18:55 ` Aditya Mahajan
2013-11-25 19:19   ` Herbert Voss
2013-11-25 20:25     ` Aditya Mahajan
2013-11-25 20:28       ` Herbert Voss
2013-11-25 22:24         ` DesdeChaves
2013-11-25 23:08           ` DesdeChaves
2013-11-25 23:45             ` Aditya Mahajan
2013-11-25 23:53               ` Aditya Mahajan [this message]
2013-11-26  8:21             ` Herbert Voss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.03.1311251851430.780@hzvpu.rqh \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).