From 89f339ac7f1345998d873eebd888af97e6192f08 Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 26 Jun 2014 12:31:41 +0200 Subject: [PATCH] Moving variables from one template to another Since these variables are processed by `patacrep`, they may be included in template of a lower level. --- patacrep/data/templates/default.tex | 8 -------- patacrep/data/templates/songs.tex | 10 +++++++++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/patacrep/data/templates/default.tex b/patacrep/data/templates/default.tex index 8c39f8ba..939696d1 100644 --- a/patacrep/data/templates/default.tex +++ b/patacrep/data/templates/default.tex @@ -57,14 +57,6 @@ "footer": {"description": {"english": "Footer", "french": "Pied de page"}, "default": {"default": "Generated using Songbook (\\url{http://www.patacrep.com})"} }, -"titleprefixwords": {"description": {"english": "Ignore some words in the beginning of song titles", - "french": "Ignore des mots dans le classement des chansons"}, - "default": {"default": []} - }, -"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": {}} - }, "notenamesout": {"description": {"english": "Note names. Can be 'solfedge' (Do, Re, Mi...) or 'alphascale' (A, B, C...).", "french": "Nom des notes : 'solfedge' (Do, RĂ©, Mi...) ou 'alphascale' (A, B, C...)."}, "default": {"default": "alphascale", "french": "solfedge"} diff --git a/patacrep/data/templates/songs.tex b/patacrep/data/templates/songs.tex index 15ea007e..a943a237 100644 --- a/patacrep/data/templates/songs.tex +++ b/patacrep/data/templates/songs.tex @@ -53,7 +53,15 @@ }, "lang": {"description": {"english": "Language", "french": "Langue"}, "default": {"english": "english", "french": "french"} - } + }, +"titleprefixwords": {"description": {"english": "Ignore some words in the beginning of song titles", + "french": "Ignore des mots dans le classement des chansons"}, + "default": {"default": []} + }, +"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": {}} + } } (* endvariables *)