7

Ever since upgrading to pgf 3.0.0 and tikz-cd 0.9b, I cannot load the tikz-cd package. The issue seems to be with the arrows.meta tikz library. The following MWE throws up 3 errors and a warning, also listed below:

\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-cd}

\begin{document}
Hello World!
\end{document}

The errors from the .log file are as follows:

LaTeX Warning: You have requested, on input line 17, version
               `2013/12/13' of package tikz,
               but only version
               `2010/10/13 v2.10 (rcs-revision 1.76)'
               is available.
! Package pgfkeys Error: I do not know the key '/handlers/first char syntax' an
d I am going to ignore it. Perhaps you misspelled it.

See the pgfkeys package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.38 \pgfkeys{/handlers/first char syntax=true}

! I can't find file `tikzlibraryarrows.meta.code.tex'.
<argument> ...nput tikzlibrary\pgf@temp .code.tex 
                                                  \catcode `\@ =\csname tikz...
l.18 \usetikzlibrary{matrix,quotes,arrows.meta}

Please type another input file name
! Emergency stop.
<argument> ...nput tikzlibrary\pgf@temp .code.tex 
                                                  \catcode `\@ =\csname tikz...
l.18 \usetikzlibrary{matrix,quotes,arrows.meta}

From the version mismatch warning, I'm thinking MiKTeX acquired some not-updated version of pgf. How do I confirm and work around this, if that is the issue?

ronno
  • 1,325
  • 1
    Your MWE works nicely with TexLive 2013, so I do not think this is an issue with the package on CTAN. The arrows.meta package is included in pgf 3.0, to quote the manual: "The only reason this library is not loaded by default is for compatibility with older versions of TikZ. You can, however, safely load and use this library alongside the older libraries arrows and arrows.spaced." Are you sure that pgf 3.0 is actually installed? – Alexander Mar 17 '14 at 12:30

1 Answers1

4

It seems MiKTeX installed two different versions of pgf, one through Package Manager, and one through Package Manager (Admin). Running the non-admin Update removed one copy (this idea was from arrows.meta in tikz), and then the compilation was successful. If anyone has more details on why this happened, you're welcome to add another answer.

ronno
  • 1,325