diff --git a/patacrep/data/templates/default.tex b/patacrep/data/templates/default.tex index 1a2bf26a..5c105a72 100644 --- a/patacrep/data/templates/default.tex +++ b/patacrep/data/templates/default.tex @@ -117,9 +117,11 @@ (* block chords *) % list of chords \ifchorded - \phantomsection - \addcontentsline{toc}{section}{\chordlistname} - \chords + \ifdiagram + \phantomsection + \addcontentsline{toc}{section}{\chordlistname} + \chords + \fi \fi (* endblock *)