From: Hugo Villeneuve Date: Fri, 3 Dec 2021 18:31:12 +0000 (-0500) Subject: Ajout informations de debug X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c82c61a6d4e7086b6f00708bbea3e56b6960726f;p=musique%2Fhvguitartex.git Ajout informations de debug --- diff --git a/gtx2tex.pl b/gtx2tex.pl index 33b75b4..d4cc438 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -147,6 +147,9 @@ while ( ) { print TEX "\\footnotesize \\verb!$_! \\normalsize \\newline\n"; next; } + + $verbose && print " chordpro data\n"; + crdpro(); } @@ -217,6 +220,8 @@ sub crdpro { # Bearbeitung der Zeile aus der Eingabedatei s/^/\\gtxchord\{\}\{/ } + $verbose && print "Accord: <$_>\n"; + if ( $uppercase ) { s/(gtxchord\{[A-G][B#]?)MAJ7/\1$majeur_sept/g; # Remplace 'gtxchord{AM' par 'gtxchord{Am'