Bug#249466: dvips: Landscape papers handled in an idotic way
tags 249466 + fixed-upstream
stop
On 21.05.04 Frank Küster (frank@debian.org) wrote:
> Hilmar Preusse <hille42@web.de> schrieb:
Hi all,
> > drachi:~# dvips -t landscape hyper1.dvi
> > This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
> > ' TeX output 2004.05.20:1950' -> hyper1.ps
> > dvips: both landscape and papersize specified: ignoring landscape
> > <texc.pro><f7b6d320.enc><texps.pro><special.pro>. <cmr10.pfb>[1]
> >
> > I don't deal with the paper dimensions at all and nevertheless get
> > the message. I guess this is that, what we're speaking about.
>
> But here the problem is only because you do _not_ deal with paper
> dimensions in the LaTeX file. LaTeX does not typeset a landscape
> document, but a portrait document. Then we use hyperref which
> writes the papersize to the dvi file, and the papersize is portrait
> letter. Then we instruct dvips to process the dvi file as landscape
> - no wonder that this makes problems. The error message is
> confusing, of course.
>
> If you change the minimal document to
>
> \documentclass[landscape]{article}
> \usepackage{hyperref}
> \begin{document}
> text
> \end{document}
>
> we are again in the same situation as with my TeX document: No
> problem at all, no -t options needed. The same is true for
> Juhapekka's example document, as far as I can see: no -t options
> are needed at all, the Postscript file comes out als landscape in
> A4. Well, gv says "BBox", obviously because no paper name is
> specified, but the BBox dimensions are in fact A4, the PS file
> contains:
>
As of tetex 2.96.4 dvips.texi documents that some packages deal with
the paper dimensions (e.g. hyperref), and that they should not be
used together with -t options of dvips. I guess that is sufficient.
Tagging.
Hilmar
--
sigmentation fault
Reply to: