diff options
author | Erich Eckner <git@eckner.net> | 2019-09-04 11:55:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-04 11:55:42 +0200 |
commit | 1fb1b6d7bf0afb3e4cbabadd7178d0a3437fe028 (patch) | |
tree | 6b527d97ba3d182d5a77b52758f34d2f112626a0 /Konzerte/2019_12_XX | |
parent | 7f190c351316ca85c511f168bc2adcdc9471199a (diff) | |
download | Musik-1fb1b6d7bf0afb3e4cbabadd7178d0a3437fe028.tar.xz |
Konzerte/2019_12_XX: Hinweise
Diffstat (limited to 'Konzerte/2019_12_XX')
-rw-r--r-- | Konzerte/2019_12_XX/Makefile | 10 | ||||
-rw-r--r-- | Konzerte/2019_12_XX/alles.ly | 6 | ||||
-rwxr-xr-x | Konzerte/2019_12_XX/hinweise-einarbeiten | 21 |
3 files changed, 31 insertions, 6 deletions
diff --git a/Konzerte/2019_12_XX/Makefile b/Konzerte/2019_12_XX/Makefile index 07422dc..6861d23 100644 --- a/Konzerte/2019_12_XX/Makefile +++ b/Konzerte/2019_12_XX/Makefile @@ -16,17 +16,21 @@ clean: Clean: clean rm -f *.pdf *.midi +%stimmen.pre: ../../wo/parts/%stimmen.ly hinweise-einarbeiten + sed '/% Nr. 5 % {{{/,/}}}/ s@\\fermata@@' "$<" \ + | ./hinweise-einarbeiten > "$@" + alles.pre: alles.ly sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@" alles.pdf: alles.pre \ ../../wo/parts/I.ly \ - ../../wo/parts/Istimmen.ly \ + Istimmen.pre \ ../../wo/parts/Itexte.ly \ ../../wo/parts/III.ly \ - ../../wo/parts/IIIstimmen.ly \ + IIIstimmen.pre \ ../../wo/parts/IIItexte.ly \ ../../wo/parts/VI.ly \ - ../../wo/parts/VIstimmen.ly \ + VIstimmen.pre \ ../../wo/parts/VItexte.ly lilypond $< diff --git a/Konzerte/2019_12_XX/alles.ly b/Konzerte/2019_12_XX/alles.ly index 7a1af8a..ffaef07 100644 --- a/Konzerte/2019_12_XX/alles.ly +++ b/Konzerte/2019_12_XX/alles.ly @@ -16,7 +16,7 @@ tagline = ##f } -\include "../../wo/parts/Istimmen.ly" +\include "Istimmen.pre" \include "../../wo/parts/Itexte.ly" \include "../../wo/parts/I.ly" @@ -51,7 +51,7 @@ } } -\include "../../wo/parts/IIIstimmen.ly" +\include "IIIstimmen.pre" \include "../../wo/parts/IIItexte.ly" \include "../../wo/parts/III.ly" \bookpart { @@ -96,7 +96,7 @@ } } -\include "../../wo/parts/VIstimmen.ly" +\include "VIstimmen.pre" \include "../../wo/parts/VItexte.ly" \include "../../wo/parts/VI.ly" \bookpart { diff --git a/Konzerte/2019_12_XX/hinweise-einarbeiten b/Konzerte/2019_12_XX/hinweise-einarbeiten new file mode 100755 index 0000000..f68ed8a --- /dev/null +++ b/Konzerte/2019_12_XX/hinweise-einarbeiten @@ -0,0 +1,21 @@ +#!/bin/bash + +cnt=$( + cat +) + +printf '%s\n' "${cnt}" \ +| sed "$( + printf '%s\n' "${cnt}" \ + | sed -n ' + s/^.*%ERICH-HINWEIS: \([^0-9]\+\)\([0-9]*\) != \(.\+\)%.*$/\1 duration \2 != \3/ + T + = + p + ' \ + | sed ' + N + s/^\([0-9]\+\)\n\([^0-9]\+\) duration \([0-9]*\) != \(.*\)$/\1 s@\2\3@<\2 \\\\tweak NoteHead.style #'"'"'cross \4 >\3@g/ + ' +)" + |