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

Andy Lin kiryen at gmail.com
Tue May 3 16:59:26 CEST 2011


Have you tried \usepackage[active,tightpage,xetex]{preview}?

HTH
-Andy

On Fri, Apr 29, 2011 at 13:35, R (Chandra) Chandrasekhar
<chyavana at gmail.com> wrote:
> Dear Folks,
>
> 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?
>
> I have written directly to the author of the preview package and on CTT
>
> https://groups.google.com/group/comp.text.tex/browse_thread/thread/ab4125017113f167?hl=en
>
> without eliciting any replies. Any help given by this forum is greatly
> appreciated.
>
> Thank you.
>
> Chandra
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



More information about the XeTeX mailing list