I am trying to compile this circuit:
\documentclass[10pt,a4paper]{article}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz} \draw
(0,0) to[V=1<\volt>] (0,2)
{ to[R=1<\ohm>, color=red] (2,2) }
to[C=1<\farad>] (2,0) -- (0,0) ;
\end{circuitikz}
\end{document}
But then I recive this error:
! Undefined control sequence.
\pgfk@/tikz/circuitikz/bipole/voltage/label/name ...
>
l.6 (0,0) to[V=1<\volt>] (0,2)
I copied this example verbatim from the manual (page 53, version 0.8.3). I compiled this using Tikz version 3.0.0 and circuitikz 0.3.0.
The circuitikz is completely outdated (running Debian Jessie) but I cannot dist-upgrade this system without breaking other things.
I downloaded circuitikzgit.sty from GitHub and placed it in the current working directory. Changed to
\usepackage{circuitikzgit}
but the problem remains exactly the same. The log file reports the inclusion of the new circuitikzgit.
As far as I can see, the only requirement for circuitikz is Tikz >= 3.0. Which it is. On this machine I have no other problems with Tikz and I am using features which are only available in Tikz 3.0.
I am not sure whether this is a version problem or something else.