On 19 Sep, 2010, at 13:25, Marc van Dongen wrote: > On Sun, 19 Sep 2010 01:51:00 -0500 "Axel E. Retif" <axel.re...@mac.com> wrote: > > : \documentclass{minimal} > : \usepackage[dvipdfmx]{graphicx}%%% <- use this and it works > : \usepackage{tikz} > : \usetikzlibrary{spy} > > Thanks very much. It took a long time because I got an option clash > for graphicx. I finally figured out that I had to import tikz after > graphicx
Yes, the order is important ---that's why I reproduced the first four lines of code. > and had to run xelatex with -shell-escape. That _did_ work > for the spy feature. Unfortunately, I got very many colour stack > underflow errors and the colours were all wrong. As I don't know what else you're trying to do, I can't be sure if this works, but try \documentclass{minimal} \usepackage[dvipdfmx]{graphicx} \usepackage[dvipdfmx]{xcolor}%%%% <- add this \usepackage{tikz} \usetikzlibrary{spy Best Axel -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex