[tex-live] [pdftex] hyperref 6.79n breaks xetex's (xdvipdfmx) ability to set proper page dimensions (and overrides page dimensions on pdftex)
Heiko Oberdiek
oberdiek at uni-freiburg.de
Mon Dec 14 14:12:50 CET 2009
Hello Vladimir,
On Mon, Dec 14, 2009 at 02:07:42PM +0300, Vladimir Volovich wrote:
> "HO" == Heiko Oberdiek writes:
>
> HO> Correct is setting the paper size in LaTeX *and* setting it for the
> HO> output media or let a package do the last or both parts (geometry,
> HO> hyperref, ...).
> [...]
> HO> * Media size: the bug is in the incomplete user input (forgetting
> HO> about \paperwidth, \paperheight.
>
> ok, but to me it seems that there's still some bug:
>
> here i'm setting both \pdfpage{width,height} and \paper{width,height}:
>
> \documentclass{article}
> \usepackage[unicode,pdftitle={test}]{hyperref}
> \pdfpagewidth=300bp
> \pdfpageheight=300bp
> \setlength{\paperwidth}{300bp}
> \setlength{\paperheight}{300bp}
> \begin{document}
> This is a test.
> \end{document}
>
> but when processing this document with xelatex, i'm getting
>
> Page size: 612 x 792 pts (letter)
Yes, there is a bug in the code that was inserted because
of memoir, the code already evaluated \paperwidth at package loading.
Thanks for reporting.
Corrected now in 2009/12/14 (TUG server, CTAN tomorrow)
I also have removed the paper options (a4paper, ...), hyperref now
only relies on \paperwidth and \paperheight (\stockwidth, \stockheight
in case of memoir).
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the tex-live
mailing list