diff --git a/doc/latex/pgfplots/TeX-programming-notes.tex b/doc/latex/pgfplots/TeX-programming-notes.tex index a946e2db..00dfe28c 100644 --- a/doc/latex/pgfplots/TeX-programming-notes.tex +++ b/doc/latex/pgfplots/TeX-programming-notes.tex @@ -926,7 +926,7 @@ \subsubsection{Loops over list of items} }% \long\def\looppicker#1#2#3,{% \def\tempitem{#3}% - \ifx\tempitem\listingloopENDMARKER + \expandafter\ifx\tempitem\listingloopENDMARKER \let\next=\relax% \else \def#1{#3}%