[texhax] Bad effect when using xetex together with color

Ulrike Fischer news3 at nililand.de
Thu Aug 16 17:44:38 CEST 2018


Am Thu, 16 Aug 2018 12:30:25 +0000 schrieb Rodolfo Medina:

> Hi all.
> 
> When processing the following wit xetex:
> 
> \input eplain
> \input color
> 
> \special{papersize=297mm,210mm} %landscape A4
> 
> hallo
> 
> \vfill\eject
> 
> hallo
> 
> \bye
> 
> the second page of output does not respect \papersize.  Why? 

color sets \pdfpagewidth and \pdfpageheight and this conflicts with
the special. Better do it like this:

\input eplain

%before color, so that color can pick it up:
\paperheight=210mm
\paperwidth=297mm

\input color

hallo

\vfill\eject

hallo

\bye

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list