It looks almost like it can't get any simpler. I try to compile this test circuit:
\documentclass[10pt,a4paper]{article}
\usepackage[siunitx]{circuitikzgit}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[dcisource=1A, i_=$i_1$] (2,0);
\draw (0,2) to[C] (2,2);
\draw (0,4) to[R] (2,4);
\end{circuitikz}
\end{document}
And then it chokes on the R:
Undefined control sequence.
\pgf@sh@bg@resistorshape ...sformationadjustments
\pgfmathsetlength {\pgf@ci...
l.8 \draw (0,4) to[R] (2,4)
;
The dcisource and C are only included to make sure circuitikz in general works. If I swap the R and C, the result is the same, that is an error on R. So I am sure it is not an error in a drawing statement.
I downloaded circuitikzgit.sty from GitHub and placed it in the current working directory. The circuitikz in my Debian version is way too old (0.3) and causes a bunch of other problems. I have verified circuitikzgit is loaded and not an old version.
I have Tikz 3.0
xstring 2013/10/13
siunitx 2014/10/01 v2.6c
I can't see any error that I make. Is it a bug?
circuitikz.sty
? CircuiTikZ loads many things from external files (pgfcircbipoles.tex
,pgfcirccurrent.tex
, etc...)