From 5aeb63a0ec1388129c028a8df17caf69452520ad Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sun, 20 Sep 2009 20:39:45 +0200 Subject: [PATCH] Fix for OrganScore, implement \createNoCuesScore --- Templates/TEMPLATE_Snippet_PartScore.ily | 2 +- generate_oly_score.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Templates/TEMPLATE_Snippet_PartScore.ily b/Templates/TEMPLATE_Snippet_PartScore.ily index be3c849..d7b3351 100644 --- a/Templates/TEMPLATE_Snippet_PartScore.ily +++ b/Templates/TEMPLATE_Snippet_PartScore.ily @@ -1 +1 @@ -\createScore #"%(movement)s" #'("%(instrument)s") +\create%(cues)sScore #"%(movement)s" #'("%(instrument)s") diff --git a/generate_oly_score.py b/generate_oly_score.py index 9319501..23f4218 100755 --- a/generate_oly_score.py +++ b/generate_oly_score.py @@ -137,6 +137,8 @@ def init_replacements (settings): del rep["instruments"]; del rep["lyrics"]; del rep["scores"]; + + rep["cues"] = ""; return rep @@ -334,6 +336,7 @@ score_names = { "ParticellScore": "Particell", } score_settings = { + "OrganScore": "VocalScore", "ChoralScore": "VocalScore", "LongScore": "FullScore", "OriginalScore": "FullScore", @@ -343,6 +346,7 @@ score_settings = { def generate_score_files (settings, templates, replacements): movements = settings.get ("parts",[]); scores = settings.get ("scores", []); + replacements["cues"] = "NoCues"; for i in scores: sn = (i + "Score") @@ -370,6 +374,8 @@ def generate_score_files (settings, templates, replacements): del replacements["score"] del replacements["instrument"] + replacements["cues"] = ""; + ###################################################################### # Creating LaTeX files -- 2.11.4.GIT