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

R (Chandra) Chandrasekhar chyavana at gmail.com
Tue May 3 17:22:19 CEST 2011


On Tuesday 03 May 2011 08:29 PM, Andy Lin wrote:
> Have you tried \usepackage[active,tightpage,xetex]{preview}?

I just did and, alas, it does not make any difference.

Chandra

>
> 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
>>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex


-- 
------------------
R (Chandra) Chandrasekhar
Web: http://swanlotus.com
email: chyavana at gmail.com
------------------


More information about the XeTeX mailing list