diff options
author | Erich Eckner <git@eckner.net> | 2018-10-26 10:02:32 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-26 10:02:32 +0200 |
commit | fd40657fc3ad77659e783e37172198a22ba8c25e (patch) | |
tree | df0197ba37baf4eea3445521a7bce1da0f380611 /Ein_feste_Burg_ist_unser_Gott | |
parent | cfafd3c34a34846241752ae3e26ed6cfa8878029 (diff) | |
download | Musik-fd40657fc3ad77659e783e37172198a22ba8c25e.tar.xz |
Ein_feste_Burg_ist_unser_Gott: Strophen konfigurierbar
Diffstat (limited to 'Ein_feste_Burg_ist_unser_Gott')
-rwxr-xr-x | Ein_feste_Burg_ist_unser_Gott/Ein_feste_Burg_ist_unser_Gott.ly | 16 | ||||
-rw-r--r-- | Ein_feste_Burg_ist_unser_Gott/Makefile | 11 |
2 files changed, 18 insertions, 9 deletions
diff --git a/Ein_feste_Burg_ist_unser_Gott/Ein_feste_Burg_ist_unser_Gott.ly b/Ein_feste_Burg_ist_unser_Gott/Ein_feste_Burg_ist_unser_Gott.ly index d9a7ed3..9606356 100755 --- a/Ein_feste_Burg_ist_unser_Gott/Ein_feste_Burg_ist_unser_Gott.ly +++ b/Ein_feste_Burg_ist_unser_Gott/Ein_feste_Burg_ist_unser_Gott.ly @@ -26,14 +26,14 @@ \new ChordNames { \global \germanChords \akkorde } \new Staff << \new Voice = "Melodie" { \global \melodie } - \new Lyrics \lyricsto "Melodie" { \textI } - \new Lyrics \lyricsto "Melodie" { \textIb } - \new Lyrics \lyricsto "Melodie" { \textII } - \new Lyrics \lyricsto "Melodie" { \textIIb } - \new Lyrics \lyricsto "Melodie" { \textIII } - \new Lyrics \lyricsto "Melodie" { \textIIIb } - \new Lyrics \lyricsto "Melodie" { \textIV } - \new Lyrics \lyricsto "Melodie" { \textIVb } + %STR_1% \new Lyrics \lyricsto "Melodie" { \textI } + %STR_1% \new Lyrics \lyricsto "Melodie" { \textIb } + %STR_2% \new Lyrics \lyricsto "Melodie" { \textII } + %STR_2% \new Lyrics \lyricsto "Melodie" { \textIIb } + %STR_3% \new Lyrics \lyricsto "Melodie" { \textIII } + %STR_3% \new Lyrics \lyricsto "Melodie" { \textIIIb } + %STR_4% \new Lyrics \lyricsto "Melodie" { \textIV } + %STR_4% \new Lyrics \lyricsto "Melodie" { \textIVb } >> >> \layout { diff --git a/Ein_feste_Burg_ist_unser_Gott/Makefile b/Ein_feste_Burg_ist_unser_Gott/Makefile index ef6dedf..2eb8c7a 100644 --- a/Ein_feste_Burg_ist_unser_Gott/Makefile +++ b/Ein_feste_Burg_ist_unser_Gott/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\") @@ -16,7 +17,15 @@ Clean: clean rm -f *.pdf *.midi %.pre: %.ly - sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@" + sed " \ + s@%spezifisch%@$(SPEZIFISCH)@; \ + /%STR_\($(STROPHEN)\)%/{ \ + s/%[A-Z_0-9]\+%//; \ + p; \ + d; \ + }; \ + /%[A-Z_0-9]\+%/d \ + " "$<" > "$@" %.pdf: %.pre *.ly lilypond $< |