My problem was already covered by this posting: Undefined control sequence with chordbox
I am trying to compile the following document.
\documentclass[11pt,a4paper]{article}
\usepackage{chordbox_bugfix}
\pgfkeys{/chordbox/text on node=pitch}
\tikzset{chordbox/.append style={scale=2.5}}
\begin{document}
\chordbox{Am}{x,0,2,2,1,0}
\chordbox{F}{1:T,3:3,3:4,2:2,1:1,x}
\chordbox{D}{x,x,0,2:1,3:3,2:2}
\chordbox{D}{x,x,0,2,3,2}
\end{document}
The chordbox
bugfix works perfectly with the pdflatex
and latex
compilers. However, using the xelatex
compiler raises the following error:
! Undefined control sequence.
\pgffor@body -> \ifnum \pdfmatch
{^[0-9]+}{\fret }=1 \StrBehind {\pdflastmat...
1.10 \chordbox{Am}{x,0,2,2,1,0}
Could it be that this package does not work with xelatex
?