On 2017-03-23 at 14:28, Toine Schreurs wrote:
I had need of printing marks on several staves, so I moved the
Mark_engraver to the Staff context, all according to LilyPond NR, see
snippet below. Then I noticed, that I could not control the contents of
Rehearsal marks any more, except for the first one. All successors were
follow in sequence from the start id just as were they all defined as
\default. Hence the hash mark has no influence contrary to when the
Mark_engraver resides in Score. The only possibility to get another id
is to define it as a text mark.
Try:
A = {
\mark #3 a'4 a' |
\set Staff.rehearsalMark = #6
\mark \default a' a'
} %etc....
|\version "2.18.2" A = { \mark #3 a'4 a' | \mark #6 a' a' | \mark
\markup "Z" a' \mark \default a' | a' } \score { << \new Staff \with {
\consists "Mark_engraver" \consists "Staff_collecting_engraver" } {
\time 2/4 \new Voice { \A } } >> \layout { indent = #0 \context { \Score
\remove "Mark_engraver" \remove "Staff_collecting_engraver" } } }|
Toine Schreurs
Yes, it does in fact work. I had seen this variable setting in the
Internal Reference manual, but it was noted "(read)" so i did not test it.
However, this must be a work around for a bug, isn't it? It should work
without it, shouldn't it?
Kaj
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user