Hallo Carlo,
ich habe zu wenig harte Informationen, um sinnvoll helfen zu können.
(1)
Die LilyPond 2.20.0-Version habe ich extra installiert in der Version von git hub
Demnach scheinst Du LilyPond selbst zu kompilieren, aber was für eine "Version von git hub"?
Gib bitte mal den link.
Die offizielle Version ist auf Savannah gehostet und mittels
git clone git://git.sv.gnu.org/lilypond.git
beschaffbar, siehe CG
Auf der anderen Seite legt der Pfad
/home/MEINUSERNAME /lilypond/usr/share/lilypond/current/fonts
nahe, das Du eine Version mittels precompiled Installer verwendest.
Hier siehst Du mich verwirrt ..
(2)
Poste bitte den output von
~$ ls /home/MEINUSERNAME/lilypond/usr/share/lilypond/current/fonts/otf/
MEINUSERNAME ist natürlich anzupassen(*)
Bei mir sehe ich dann folgendes:
C059-BdIta.otf
C059-Bold.otf
C059-Italic.otf
C059-Roman.otf
emmentaler-11.otf
emmentaler-13.otf
emmentaler-14.otf
emmentaler-16.otf
emmentaler-18.otf
emmentaler-20.otf
emmentaler-23.otf
emmentaler-26.otf
emmentaler-brace.otf
lilyjazz-11.otf
lilyjazz-13.otf
lilyjazz-14.otf
lilyjazz-16.otf
lilyjazz-18.otf
lilyjazz-20.otf
lilyjazz-23.otf
lilyjazz-26.otf
lilyjazz-brace.otf
lilyjazz-chord.otf
lilyjazz-text.otf
NimbusMonoPS-BoldItalic.otf
NimbusMonoPS-Bold.otf
NimbusMonoPS-Italic.otf
NimbusMonoPS-Regular.otf
NimbusSans-BoldItalic.otf
NimbusSans-Bold.otf
NimbusSans-Italic.otf
NimbusSans-Regular.otf
texgyrecursor-bolditalic.otf
texgyrecursor-bold.otf
texgyrecursor-italic.otf
texgyrecursor-regular.otf
texgyreheros-bolditalic.otf
texgyreheros-bold.otf
texgyreheros-italic.otf
texgyreheros-regular.otf
texgyreschola-bolditalic.otf
texgyreschola-bold.otf
texgyreschola-italic.otf
texgyreschola-regular.otf
Die rot markierten Einträge habe ich dort rein kopiert. Sie kommen aus dem repository zu dem ich unter (3) verlinkt habe.
(3) Was meinst du mit
dem lilyjazz-master-Paket
?
Das sagt mit nichts. Woher hast Du es?
Ich habe extra für diesen thread
https://github.com/OpenLilyPondFonts/lilyjazzverwendet.
(4)
Ich habe mal ein Beispiel mit Testcode erstellt. (**)
Die Pfade zu den includes müssen natürlich angepasst werden.
Funktioniert nicht mit
\language "deutsch"
!
\version "2.20.0"
#(define pretty-print pretty-print)
#(define (lists-map function ls)
"Apply @var{function} to @var{ls} and all of it sublists.
First it recurses over the children, then the function is applied to
@var{ls}."
(if (list? ls)
(set! ls (map (lambda (y) (lists-map function y)) ls))
ls)
(function ls))
#(define print-grob-font-name
(lambda (grob)
(pretty-print
(let ((output '()))
(lists-map
(lambda (entry)
(cond ((and (list? entry)
(eq? 'named-glyph (car entry))
(ly:font-metric? (cadr entry)))
(set! output
(cons
(cons (grob::name grob)
(ly:font-name (cadr entry))
)
output)))
((and (list? entry)
(eq? 'glyph-string (car entry))
(ly:font-metric? (cadr entry)))
(set! output
(cons
(cons (grob::name grob)
(caddr entry)
)
output)))
(else entry) ))
(ly:stencil-expr (ly:grob-property grob 'stencil)))
(reverse output)))))
\layout {
\override ChordName.after-line-breaking = #print-grob-font-name
\override NoteHead.after-line-breaking = #print-grob-font-name
\override Flag.after-line-breaking = #print-grob-font-name
\override Rest.after-line-breaking = #print-grob-font-name
\override Accidental.after-line-breaking = #print-grob-font-name
\override TextScript.after-line-breaking = #print-grob-font-name
\override MultiMeasureRest.after-line-breaking = #print-grob-font-name
\override Staff.Clef.after-line-breaking = #print-grob-font-name
\override Staff.TimeSignature.after-line-breaking = #print-grob-font-name
\override Staff.KeySignature.after-line-breaking = #print-grob-font-name
\override Score.MetronomeMark.after-line-breaking = #print-grob-font-name
}
\version "2.20.0"
\include "../../../lilyjazz/stylesheet/jazzchords.ily"
\include "../../../lilyjazz/stylesheet/lilyjazz.ily"
\include "../../../lilyjazz/stylesheet/jazzextras.ily"
\header { title = "EXAMPLE" }
theNotes = \relative c' {
\key c \major
\tempo "Example" 4 = 120
c'4 g8 e ~ e!2_"end"
}
theChords = \chordmode { c1:7 }
theWords = \lyricmode { All of me }
\score {
\transpose c a
<<
\new ChordNames \theChords
\new Voice = soloist \theNotes
\new Lyrics \lyricsto soloist \theWords
>>
\layout {
\context {
\ChordNames
chordRootNamer = #JazzChordNames % update the chord names
chordNameExceptions = #JazzChords % update the chord exceptions
}
}
}
Im Terminal erscheint bei mir:
((ChordName . "lilyjazz-chord")
(ChordName . "lilyjazz-chord"))
((NoteHead . "LilyJAZZ-20"))
((Clef . "LilyJAZZ-20"))
((KeySignature . "LilyJAZZ-20")
(KeySignature . "LilyJAZZ-20")
(KeySignature . "LilyJAZZ-20"))
((TimeSignature . "LilyJAZZ-20"))
((MetronomeMark . "lilyjazz-text")
(MetronomeMark . "lilyjazz-text")
(MetronomeMark . "LilyJAZZ-18")
(MetronomeMark . "lilyjazz-text"))
((NoteHead . "LilyJAZZ-20"))
((NoteHead . "LilyJAZZ-20"))
((NoteHead . "LilyJAZZ-20"))
((TextScript . "lilyjazz-text"))
((Accidental . "LilyJAZZ-20"))
((Accidental . "LilyJAZZ-20"))
Wenn ich die drei include-files, sowie chordRootNamer und chordNameExceptions auskommentiere, dann erhalte ich:
((ChordName . "TeXGyreHeros-Regular")
(ChordName . "TeXGyreHeros-Regular"))
((NoteHead . "Emmentaler-20"))
((Clef . "Emmentaler-20"))
((KeySignature . "Emmentaler-20")
(KeySignature . "Emmentaler-20")
(KeySignature . "Emmentaler-20"))
((TimeSignature . "Emmentaler-20"))
((MetronomeMark . "TeXGyreSchola-Bold")
(MetronomeMark . "TeXGyreSchola-Regular")
(MetronomeMark . "Emmentaler-18")
(MetronomeMark . "TeXGyreSchola-Regular"))
((NoteHead . "Emmentaler-20"))
((NoteHead . "Emmentaler-20"))
((NoteHead . "Emmentaler-20"))
((TextScript . "TeXGyreSchola-Regular"))
((Accidental . "Emmentaler-20"))
((Accidental . "Emmentaler-20"))
Alles wie erwrtet.
Was bekommst Du?
Bild im Anhang (um die Kollision mit der MetronomeMark hab ich mich nicht gekümmert...)
Gruß,
Harm
P.S.
Bitte click "Keine Smileys benutzen" unter "Erweiterte Optionen..." an, falls so ein Unsinn wie
markup-system-spacing = #'((basic-distance . 23)
(minimum-distance .

(padding . 1))
zu sehen ist.
(*) Ich schreib sehr ausführlich. Auch wenn ich davon ausgehe, daß Du manche Erklärung wirklich nicht brauchst. Aber es lesen ja auch nicht so erfahrene User mit. Mir zumindest hat eine solche Ausführlichkeit als Anfänger sehr geholfen.
(**) print-grob-font-name funktioniert bei vielen, aber nicht allen grobs. Ich habs nur soweit entwickelt, daß es für die jetzigen Fälle funktioniert
EDIT vergessenen Anhang hinzugefügt