summaryrefslogtreecommitdiff
path: root/Es_ist_ein_Ros_entsprungen
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-22 00:46:42 +0100
committerErich Eckner <git@eckner.net>2018-12-22 00:46:42 +0100
commitdeb20fdb0222f8b41a4b180b9c7aca62582ad4da (patch)
tree0624ffae57df57cb8bbee9416d7525d6ecb72a58 /Es_ist_ein_Ros_entsprungen
parent4fa01a7a4cf1e4acff9d3ad853e72db2d96f6a17 (diff)
downloadMusik-deb20fdb0222f8b41a4b180b9c7aca62582ad4da.tar.xz
Es_ist_ein_Ros_entsprungen: Strophen konfigurierbar
Diffstat (limited to 'Es_ist_ein_Ros_entsprungen')
-rw-r--r--Es_ist_ein_Ros_entsprungen/Es_ist_ein_Ros_entsprungen.ly2
-rw-r--r--Es_ist_ein_Ros_entsprungen/Makefile9
-rw-r--r--Es_ist_ein_Ros_entsprungen/satz.ly16
3 files changed, 17 insertions, 10 deletions
diff --git a/Es_ist_ein_Ros_entsprungen/Es_ist_ein_Ros_entsprungen.ly b/Es_ist_ein_Ros_entsprungen/Es_ist_ein_Ros_entsprungen.ly
index 69f88f4..5e0267e 100644
--- a/Es_ist_ein_Ros_entsprungen/Es_ist_ein_Ros_entsprungen.ly
+++ b/Es_ist_ein_Ros_entsprungen/Es_ist_ein_Ros_entsprungen.ly
@@ -20,5 +20,5 @@
}
#(ly:set-option 'relative-includes #t)
-\include "satz.ly"
+\include "satz.pre"
#(ly:set-option 'relative-includes #f)
diff --git a/Es_ist_ein_Ros_entsprungen/Makefile b/Es_ist_ein_Ros_entsprungen/Makefile
index 8cdc1e0..03c76e6 100644
--- a/Es_ist_ein_Ros_entsprungen/Makefile
+++ b/Es_ist_ein_Ros_entsprungen/Makefile
@@ -1,4 +1,5 @@
CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-4]
ifeq ($(FUER),ewe)
SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
@@ -30,9 +31,15 @@ Clean: clean
%.pre: %.ly
sed " \
s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d ; \
$(KLAVIER_REGEX) \
$(MIDI_REGEX) \
" "$<" > "$@"
-%.pdf: %.pre *.ly
+%.pdf: %.pre satz.pre *.ly
lilypond $<
diff --git a/Es_ist_ein_Ros_entsprungen/satz.ly b/Es_ist_ein_Ros_entsprungen/satz.ly
index 3c10b51..d530d89 100644
--- a/Es_ist_ein_Ros_entsprungen/satz.ly
+++ b/Es_ist_ein_Ros_entsprungen/satz.ly
@@ -13,14 +13,14 @@
\new Voice = sopran { \global \voiceOne << \sopranMelodie \artikulation >> }
\new Voice = alt { \global \voiceTwo \altMelodie }
>>
- \new Lyrics \lyricsto alt { \textI }
- \new Lyrics \lyricsto alt { \textIa }
- \new Lyrics \lyricsto alt { \textII }
- \new Lyrics \lyricsto alt { \textIIa }
- \new Lyrics \lyricsto alt { \textIII }
- \new Lyrics \lyricsto alt { \textIIIa }
- \new Lyrics \lyricsto alt { \textIV }
- \new Lyrics \lyricsto alt { \textIVa }
+ %STR_1% \new Lyrics \lyricsto alt { \textI }
+ %STR_1% \new Lyrics \lyricsto alt { \textIa }
+ %STR_2% \new Lyrics \lyricsto alt { \textII }
+ %STR_2% \new Lyrics \lyricsto alt { \textIIa }
+ %STR_3% \new Lyrics \lyricsto alt { \textIII }
+ %STR_3% \new Lyrics \lyricsto alt { \textIIIa }
+ %STR_4% \new Lyrics \lyricsto alt { \textIV }
+ %STR_4% \new Lyrics \lyricsto alt { \textIVa }
\new Staff <<
\new Voice = maenner { \global \clef "bass" \oneVoice \pausen }
\new Voice = tenor { \global \clef "bass" \voiceOne \tenorMelodie }