diff --git a/songbook_core/data/latex/crepbook.cls b/songbook_core/data/latex/crepbook.cls index 060378fa..78681d12 100644 --- a/songbook_core/data/latex/crepbook.cls +++ b/songbook_core/data/latex/crepbook.cls @@ -116,7 +116,6 @@ \IfStrEq{\mainlanguage}{french}{ % French names - \notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol} \renewcommand{\songlistname}{Liste des chansons}{} \renewcommand{\labelversionname}{version :} \renewcommand{\labeldatename}{date :} diff --git a/songbook_core/data/templates/default.tex b/songbook_core/data/templates/default.tex index 821e305f..bf4282fc 100644 --- a/songbook_core/data/templates/default.tex +++ b/songbook_core/data/templates/default.tex @@ -58,7 +58,11 @@ "authwords": {"description": {"english": "Set of options to process author string (LaTeX commands authsepword, authignoreword, authbyword)", "french": "Options pour traiter les noms d'auteurs (commandes LaTeX authsepword, authignoreword, authbyword)"}, "default": {"default": {}} - } + }, +"alphascale": {"description": {"english": "Use alphabetic notes names (A B C ...) in french songbooks", + "french": "Utiliser la notation anglo-saxonne (A B C ...) pour les accords"}, + "default": {"default": false} + } } (* endvariables *) @@ -97,6 +101,11 @@ (* endif *) (* endfor *) (* endfor*) + + %! lang is defined in layout.tex + (* if lang=="french" and not alphascale *) + \notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol} + (* endif *) (* endblock *) (* block title *)