---
\documentclass{article}
\usepackage{tikz}
\usepackage[active,tightpage]{preview} % Optionally comment out
\begin{document}
\begin{preview} % Optionally comment out
\begin{tikzpicture}
\shade [left color=blue, right color=green] (0,0) rectangle
(10,10);
\end{tikzpicture}
\end{preview} % Optionally comment out
\end{document}
---
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
xelatex?
Thank you.
Chandra