Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
1  
Welcome to TeX.SX! Package conflicts can arise, unfortunately. But without a minimal example it's very difficult to say. – egreg Nov 7 '12 at 22:54
This doesn't help. Please, edit your question, instead of adding in the comments. That's not an example showing the problem, is it? – egreg Nov 7 '12 at 23:46
I know, sorry. But I was editing the question and forgot to delete the comment. – Manuel Nov 7 '12 at 23:49
1  
Well I solved it. I found that \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
1  
Well, okey. I understand this couldn't help so much as you said, it's too localized. I will try to help around the site (I discovered it 3 days ago). Thanks for the welcome! And as I've seen, a great, great community to help. Congratulations! – Manuel Nov 8 '12 at 0:13
show 2 more comments

closed as too localized by egreg, Kurt, Paul Gaborit, Qrrbrbirlbel, doncherry Nov 8 '12 at 3:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.