Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with preview, xelatex and shading in TikZ-PGF

11 views
Skip to first unread message

chandra

unread,
Apr 22, 2011, 11:11:07 AM4/22/11
to chya...@gmail.com
I was able to compile the minimal example file below with lualatex but
not with xelatex:

---
\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

0 new messages