[XeTeX] Strange tikz behaviour with xetex
Herbert Schulz
herbs at wideopenwest.com
Mon Sep 28 13:40:05 CEST 2015
> On Sep 27, 2015, at 8:57 PM, Vafa Khalighi <vafaglhk at gmail.com> wrote:
>
> If you run pdflatex on the following minimal example:
>
> \documentclass{article}
> \usepackage{atbegshi}
> \usepackage{tikz}
> \AtBeginShipout{%
> \AtBeginShipoutUpperLeft{%
> \put(0,0){%
> \tikz[remember picture, overlay]\shade[top color=blue!15, bottom
> color=blue!80] (current page.north east) rectangle +(-5,-28);
> }}}
> \begin{document}
> This is a test
> \newpage
> This is a test
> \newpage
> This is a test
> \newpage
> This is a test
> \end{document}
>
>
> You see that shaded rectangle on every single page of the document.
> However, if you run xelatex, that rectangle does not appear on the
> first and second pages. What is wrong?
>
> Your sincerely,
> Vafa
Howdy,
And latex->dvipdfmx fails even worse (no text and no shading) while latex->dvips->ps2pdf works fine.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the XeTeX
mailing list