Refactor Include System
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
\version "2.25.8"
|
||||
|
||||
\include "../../lilypond-custom-includes/base_config.ly"
|
||||
\include "../../lilypond-custom-includes/base_config.ily"
|
||||
|
||||
#(set! paper-alist (cons '("testformat" . (cons (* 176 mm) (* 15 mm))) paper-alist))
|
||||
\paper {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
\version "2.25.8"
|
||||
%songStyle = #'büdel
|
||||
|
||||
\include "../../lilypond-custom-includes/base_config.ly"
|
||||
\include "../../lilypond-custom-includes/base_config.ily"
|
||||
\include "../../lilypond-song-includes/liedbausteine/sandbox.ly"
|
||||
|
||||
HEADER = \bookpart {
|
||||
@@ -90,4 +90,4 @@ TEXT = \markuplist
|
||||
\fret-chord #"x;2;4;4;4;o;" #"h:1.3.5.11"
|
||||
}
|
||||
|
||||
\include "../../lilypond-common-includes/standalone_output.ly"
|
||||
\include "public_includes/layout_bottom.ily"
|
@@ -1,7 +1,7 @@
|
||||
\version "2.25.8"
|
||||
\version "2.25.27"
|
||||
|
||||
\include "../../lilypond-custom-includes/base_config.ly"
|
||||
\include "../../lilypond-song-includes/liedbausteine/sandbox.ly"
|
||||
\include "../../lilypond-custom-includes/base_config.ily"
|
||||
\include "../../lilypond-song-includes/liedbausteine/00_vorlage_light.ly"
|
||||
|
||||
HEADER = \bookpart {
|
||||
\header {
|
||||
@@ -11,4 +11,4 @@ HEADER = \bookpart {
|
||||
}
|
||||
}
|
||||
|
||||
\include "../../lilypond-common-includes/standalone_output.ly"
|
||||
\include "public_includes/layout_bottom.ily"
|
@@ -1,6 +1,6 @@
|
||||
\version "2.25.8"
|
||||
|
||||
\include "../../lilypond-custom-includes/base_config.ly"
|
||||
\include "../../lilypond-custom-includes/base_config.ily"
|
||||
\include "../../lilypond-song-includes/liedbausteine/sandbox.ly"
|
||||
|
||||
HEADER = \bookpart {
|
||||
@@ -34,4 +34,4 @@ TEXT = \markuplist {
|
||||
}
|
||||
}
|
||||
|
||||
\include "../../lilypond-common-includes/standalone_output.ly"
|
||||
\include "public_includes/layout_bottom.ily"
|
@@ -6,9 +6,8 @@
|
||||
imagePagePath = "categories"
|
||||
songPath = "../../lieder"
|
||||
|
||||
\include "../../lilypond-custom-includes/base_config.ly"
|
||||
\include "../../lilypond-common-includes/book_include.ly"
|
||||
\include "../../lilypond-common-includes/toc_include.ly"
|
||||
\include "../../lilypond-custom-includes/base_config.ily"
|
||||
\include "public_includes/book_top.ily"
|
||||
|
||||
% Brauchen wir jedes Lied als Einzelausgabe mit Midi und PDF?
|
||||
#(define noStandaloneOutput #t)
|
||||
|
Submodule lilypond-common-includes updated: 57bcf94167...0fcfaf450c
14
lilypond-custom-includes/base_config.ily
Normal file
14
lilypond-custom-includes/base_config.ily
Normal file
@@ -0,0 +1,14 @@
|
||||
#(ly:set-option 'relative-includes #t)
|
||||
#(define include-path-unextended (if (defined? 'include-path-unextended) include-path-unextended #t))
|
||||
#(if include-path-unextended
|
||||
(let* ((custom-include-dir (dirname (current-filename)))
|
||||
(project-dir (dirname custom-include-dir))
|
||||
(pool-dir (string-append project-dir file-name-separator-string "lilypond-song-includes")))
|
||||
(ly:parser-append-to-include-path custom-include-dir)
|
||||
(ly:parser-append-to-include-path pool-dir))
|
||||
(set! include-path-unextended #f))
|
||||
|
||||
customStyleOverridesFile = "custom_style_overrides.ily"
|
||||
|
||||
\include "categories.ily"
|
||||
\include "../lilypond-common-includes/public_includes/layout_top.ily"
|
@@ -1,6 +0,0 @@
|
||||
#(ly:set-option 'relative-includes #t)
|
||||
|
||||
customStyleOverridesFile = "../lilypond-custom-includes/custom_style_overrides.ly"
|
||||
|
||||
\include "categories.ly"
|
||||
\include "../lilypond-common-includes/general_include.ly"
|
86
lilypond-song-includes/liedbausteine/00_vorlage_light.ly
Normal file
86
lilypond-song-includes/liedbausteine/00_vorlage_light.ly
Normal file
@@ -0,0 +1,86 @@
|
||||
\version "2.25.27"
|
||||
|
||||
\include "../../lilypond-common-includes/public_includes/pool_top.ily"
|
||||
|
||||
%midiQuarterNoteSpeed =
|
||||
|
||||
basicSongInfo = \header {
|
||||
title = "Titel"
|
||||
starttext = "Liedanfang"
|
||||
alttitle = #'("Alternativtitel")
|
||||
authors =
|
||||
#'(("" text)
|
||||
("" melody))
|
||||
year_text = ""
|
||||
year_melody = ""
|
||||
infotext = ""
|
||||
source = ""
|
||||
}
|
||||
|
||||
global = {
|
||||
\time 4/4
|
||||
\key c \major
|
||||
}
|
||||
|
||||
firstVerse = \lyricmode {
|
||||
#(stanza 1)
|
||||
Ly
|
||||
}
|
||||
|
||||
refLyrics = \lyricmode {
|
||||
\ref
|
||||
Ly
|
||||
}
|
||||
|
||||
firstVoice = \relative c' {
|
||||
c
|
||||
}
|
||||
|
||||
refVoice = \relative c' {
|
||||
c
|
||||
}
|
||||
|
||||
melodyVoice = \relative c' {
|
||||
\global
|
||||
\firstVoice
|
||||
\refVoice
|
||||
\bar "|."
|
||||
}
|
||||
|
||||
verseChords = \chordmode {
|
||||
c
|
||||
}
|
||||
|
||||
refChords = \chordmode {
|
||||
c
|
||||
}
|
||||
|
||||
songChords = \chords {
|
||||
\verseChords \refChords
|
||||
}
|
||||
|
||||
MUSIC = {
|
||||
<<
|
||||
\songChords
|
||||
\new ChoirStaff = "firstStaff"
|
||||
<<
|
||||
\new Voice = "firstVoice" { \melodyVoice }
|
||||
\addlyrics { \firstVerse \refLyrics }
|
||||
>>
|
||||
>>
|
||||
}
|
||||
|
||||
verse-breaks = {
|
||||
s1 \break
|
||||
}
|
||||
|
||||
TEXT = \markuplist {
|
||||
%\override #`(verse-chords . ,verse-chords)
|
||||
%\override #`(verse-reference-voice . ,verse-voice)
|
||||
\override #`(verse-break-voice . ,verse-breaks)
|
||||
\group-verses {
|
||||
\chordlyrics \firstVerse
|
||||
}
|
||||
}
|
||||
|
||||
\include "public_includes/pool_bottom.ily"
|
Reference in New Issue
Block a user