diff --git a/latex/license.tex b/latex/license.tex index 88932fc6..6cbcb1fd 100644 --- a/latex/license.tex +++ b/latex/license.tex @@ -1,5 +1,5 @@ %Licence Creative Commons -\iflanguage{english}{ +\IfStrEq{\mainlanguage}{english}{ \phantomsection \addcontentsline{toc}{section}{License} \begin{center} diff --git a/templates/patacrep.tex b/templates/data.tex similarity index 99% rename from templates/patacrep.tex rename to templates/data.tex index dae2a68f..4a24cfc0 100644 --- a/templates/patacrep.tex +++ b/templates/data.tex @@ -16,7 +16,6 @@ % along with this program; if not, write to the Free Software % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, % MA 02110-1301, USA. - (% variables %) [ {"name":"title", "description":"Title", "default":"Recueil de chansons pour guitare", "mandatory":true}, @@ -43,7 +42,7 @@ (% endvariables %) % begin document -(* extends "default.tex" *) +(* extends "patacrep.tex" *) (* block preambule *) \usepackage{licence} diff --git a/templates/naheulbeuk.tex b/templates/naheulbeuk.tex index b26e5c66..554e4c42 100644 --- a/templates/naheulbeuk.tex +++ b/templates/naheulbeuk.tex @@ -40,11 +40,13 @@ ] (% endvariables %) -(* extends "patacrep.tex" *) +(* extends "data.tex" *) (* block preambule *) +(( super() )) + \usepackage{venturisold} \renewcommand{\printchord}[1]{\mdseries\ttfamily\upshape#1} \usepackage{licence} -(* endblock *) \ No newline at end of file +(* endblock *)