[XeTeX] Problem with preview, xelatex and shading in TikZ-PGF

R (Chandra) Chandrasekhar chyavana at gmail.com
Fri Apr 29 19:35:41 CEST 2011

Dear Folks,

I was able to compile the minimal example file below with lualatex but
not with xelatex:

\usepackage[active,tightpage]{preview} % Optionally comment out
\begin{preview} % Optionally comment out
       \shade [left color=blue, right color=green] (0,0) rectangle
\end{preview} % Optionally comment out

Commenting out the preview package and environment allows successful
compilation under xelatex but the graphic is not cropped.

Short of using pdfcrop, is there any workaround for this problem under

I have written directly to the author of the preview package and on CTT


without eliciting any replies. Any help given by this forum is greatly 

Thank you.


More information about the XeTeX mailing list