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