From: Hugo Villeneuve Date: Thu, 30 Jun 2022 03:16:14 +0000 (-0400) Subject: Correction accords 7#11 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=efcb0ab01bd38633af68c45d3d97e3419dc0a68a;p=musique%2Fhvguitartex.git Correction accords 7#11 --- diff --git a/gtx2tex.pl b/gtx2tex.pl index 5ed8253..3c6f52a 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -272,8 +272,8 @@ sub crdpro { # Bearbeitung der Zeile aus der Eingabedatei # Accord A7b5 ou A7b9 s/(gtxchord\{[A-G][B#]?)([0-9])B([0-9])/\1\$^{\2\\flat\3}\$/g; - # Accord A7#5 ou A7#9 - s/(gtxchord\{[A-G][B#]?)([0-9])#([0-9])/\1\$^{\2\\sharp\3}\$/g; + # Accord A7#5 ou A7#9 ou A7#11 + s/(gtxchord\{[A-G][B#]?)([0-9])#([0-9]*)/\1\$^{\2\\sharp\3}\$/g; # Accord A7 ou A6 ou Ab6 ou Ab13 s/(gtxchord\{[A-G][B#]?)([0-9]*)/\1\$^{\2}\$/g; diff --git a/tests/accords.cp b/tests/accords.cp index a3de57c..b9361fe 100644 --- a/tests/accords.cp +++ b/tests/accords.cp @@ -31,6 +31,8 @@ Phrase avec 'dim' et 'sus' et 'add' en majuscule [G9b]G9b, [A7b]A7b +[D7#11]D 7 #11 + [C7b9#11]C7b9#11 [F5+]F5+, [F9+]F9+, [Fm9+]Fm9+