This doesn't compile for me (adapted from p.521 of the Tikz manual, v3.0.0):
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{automata}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
\draw[help lines] (0,0) grid (3,2);
\node[state,initial] (q_0) {$q_0$};
\node[state] (q_1) [above right=of q_0] {$q_1$};
\node[state] (q_2) [below right=of q_0] {$q_2$};
\node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\end{tikzpicture}
\end{document}
Tikz doesn't seem to recognize on grid or the of operator. I was previously using Tikz 2.1 so I went through a laborious manual upgrade to TeXLive 2014 so that I could pull version 3.0.0 into my Ubuntu system.
Unfortunately I'm getting exactly the same error, so I must be missing something really quite silly. Help?
\usetikzlibrary{positioning}and take a look at why-should-the-minimal-class-be-avoided – Ignasi Oct 29 '14 at 17:57