From c82c61a6d4e7086b6f00708bbea3e56b6960726f Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Fri, 3 Dec 2021 13:31:12 -0500 Subject: [PATCH] Ajout informations de debug --- gtx2tex.pl | 5 +++++ 1 file changed, 5 insertions(+) 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' -- 2.20.1