That's the question. In case the answer is true I'll post my problem (full with all the latex, etc.).
The main problem is that if I use externalize from TikZ / PGFplots, pdflatex shows me a problem (which I think is) about \xymatrix{}. Is that possible?
What the hell have this packages in common?
Here's what I've found. I have a command defined
\newcommand{\compos}[7][|]{\ensuremath{\xymatrix{{#2} \ar@/_2pc/[rr]#1{#7}
\ar[r]^-{#3} & #4 \ar[r]^-{#5} & #6}}}
which has 6 (and one optional) argument. If I put that code in the middle of the document (substituting the characters by what I want), there is no problem, but if I call that command by \compos{blah}{blah}...{blah} I get an error.
My preamble is this:
\documentclass{minimal}
\usepackage[all]{xy}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{external}
And the problem is exactly here:
\usepgfplotslibrary{external}
\tikzexternalize[prefix=figures/]{Minimal}
If I comment that two lines, I get no errors.
\usepgfplotslibrary{external}technically does the same as\usetikzlibrary{external}. But it doesn't, if I write the second one I get no errors. I don't know :) Thanks. Should I answer correctly? Or edit the question? Or leave it? – Manuel Nov 7 '12 at 23:57