On Sun, Jul 04, 2010 at 11:52:24PM -0700, Will Robertson wrote:

> On 2010-07-02 07:22:18 -0700, Ulrike Fischer <ne...@nililand.de>
> said:
> 
> >But if you set \pdfpagewidth you should also set \pdfpageheight. At
> >least on my system (miktex 2.7) xetex will otherwise \pdfpagewidth
> >setting.
> >
> >\documentclass{article}
> >\pdfpagewidth=20cm
> >%\pdfpageheight=15cm %needed too.
> 
> IMO this should be reported as a bug.
> But what do I know... does this the same thing happen in pdftex?

No:

\catcode`\{=1
\catcode`\}=2
\pdfoutput=1
\pdfobjcompresslevel=0
\pdfpagewidth=0bp
\pdfpageheight=0bp
\shipout\hbox{}
\pdfpagewidth=100bp
\shipout\hbox{}
\pdfpagewidth=0bp
\pdfpageheight=100bp
\shipout\hbox{}
\end

$ pdftex --ini test
$ grep -a MediaBox test.pdf
/MediaBox [0 0 144 144]
/MediaBox [0 0 100 144]
/MediaBox [0 0 144 100]

Yours sincerely
  Heiko Oberdiek


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to