[XeTeX] xdvipdfmx and papersize?

Stephen Moye stephenmoye at mac.com
Sat Dec 30 08:11:29 CET 2006


On Dec 29, 2006, at 8:48 PM, Stephen Moye wrote:

> I need the paper size to be 8.75x10.75 and I/m using xdvipdfmx.  
> None of these seem to work:
>
>
> \special{papersize=8.24999in,10.74999in}% This was for dvips which  
> gets fussy
>
> \paperwidth8.25in
> \paperheight10.75in
>
> \pdfpagewidth=8.25in
> \pdfpageheight=10.75in
>
>
>
> Is there yet another alternative?
>
> Puzzled.
>
> Happy New Year!
>
> SGM
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

I have just discovered that if I include:

\special{papersize=8.24999in,10.74999in}%

in \AtBeginDocument{...} in the class file, all is well and I can  
specify the page size. Placing \special{papersize=...} earlier (and  
out of AtBeginDocument) in the class file does not seem to work --  
although it does seem to work for XeTeX and others.

One way or another, the problem is solved.

SGM


More information about the XeTeX mailing list