summaryrefslogtreecommitdiff
path: root/Kyrie
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-14 17:47:04 +0200
committerErich Eckner <git@eckner.net>2018-04-14 17:47:04 +0200
commita1d0ffe1269424150867ed91beedd622fb36e1aa (patch)
treed318a0bc5f9f9f2ba84f653e8b206df34fcf2a1e /Kyrie
parent7fbec56a94805180685051fdefcaa6ad3e8be3b9 (diff)
downloadMusik-a1d0ffe1269424150867ed91beedd622fb36e1aa.tar.xz
Kyrie: Klavierbegleitung nun optional
Diffstat (limited to 'Kyrie')
-rw-r--r--Kyrie/Kyrie.ly16
-rw-r--r--Kyrie/Makefile9
2 files changed, 16 insertions, 9 deletions
diff --git a/Kyrie/Kyrie.ly b/Kyrie/Kyrie.ly
index 0ea2eab..6abf312 100644
--- a/Kyrie/Kyrie.ly
+++ b/Kyrie/Kyrie.ly
@@ -47,13 +47,13 @@
\new Voice = bass { \global \clef "bass" \voiceTwo \bassMelodie }
>>
>>
- \new PianoStaff <<
- \new Staff <<
- \new Voice { \global \autoBeamOn \klavierRechts }
- >>
- \new Staff <<
- \new Voice { \global \clef "bass" \autoBeamOn \klavierLinks }
- >>
- >>
+ \new PianoStaff << %Klavier%
+ \new Staff << %Klavier%
+ \new Voice { \global \autoBeamOn \klavierRechts } %Klavier%
+ >> %Klavier%
+ \new Staff << %Klavier%
+ \new Voice { \global \clef "bass" \autoBeamOn \klavierLinks } %Klavier%
+ >> %Klavier%
+ >> %Klavier%
>>
}
diff --git a/Kyrie/Makefile b/Kyrie/Makefile
index 5b3af49..8cdc1e0 100644
--- a/Kyrie/Makefile
+++ b/Kyrie/Makefile
@@ -10,7 +10,13 @@ endif
ifeq ($(MIDI),1)
MIDI_REGEX=
else
- MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; }
+ MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; };
+endif
+
+ifeq ($(KLAVIER),1)
+ KLAVIER_REGEX=
+else
+ KLAVIER_REGEX=/%Klavier%/d;
endif
all: $(CURDOC).pdf
@@ -24,6 +30,7 @@ Clean: clean
%.pre: %.ly
sed " \
s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ $(KLAVIER_REGEX) \
$(MIDI_REGEX) \
" "$<" > "$@"