Take the 2-minute tour ×
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.

I am trying to create pictures of graphs in TikZ in which I'd like some edges to be dashdotted. I am using TeXShop on both my office computer (Mac) and my personal laptop (Mac), and the file is compiling fine on my office computer but when I try to compile the same file on my laptop, I am getting the following error:

Package pgfkeys Error: I do not know the key '/tikz/dashdotted' and
I am going to ignore it. Perhaps you misspelled it...

I reinstalled the latest version of MacTex on my laptop to see if this fixed the problem, but it has not.

Here is the code I have in my test document which will not compile:

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\draw[dashdotted] (0,0)--(10,0);
\end{tikzpicture}

\end{document}
share|improve this question

closed as too localized by percusse, Kurt, Stefan Kottwitz Mar 12 '13 at 15:49

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, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Which version of PGF/TikZ do you have on your Laptop? Check with \pgfversion. –  Qrrbrbirlbel Mar 8 '13 at 19:42
    
I have 2.00-cvs. –  Alyson B Mar 8 '13 at 19:57
    
On the office computer I have version 2.10, if that helps. –  Alyson B Mar 8 '13 at 19:59
    
That’s an old CVS version. I guess you installed that manually a long time ago in a local texmf tree. Delete it and compile your document again. Maybe you need to update PGF/TikZ then, too. Either way, the current version is 2.10. –  Qrrbrbirlbel Mar 8 '13 at 20:02
    
Great. How would I locate that old version to delete it? –  Alyson B Mar 8 '13 at 20:04

Browse other questions tagged or ask your own question.