From efcb0ab01bd38633af68c45d3d97e3419dc0a68a Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 29 Jun 2022 23:16:14 -0400 Subject: [PATCH] Correction accords 7#11 --- gtx2tex.pl | 4 ++-- tests/accords.cp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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+ -- 2.20.1