Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread David Kastrup
Kaj Persson writes: > Den 2017-03-23 kl. 17:27, skrev Mats Bengtsson: >> Well, by default, the \mark command is defined as (in >> .../ly/music-functions-init.ly) >> >> mark = >> #(define-music-function >>(label) ((number-or-markup?)) >> "Make the music for the \\mark command." >> (let* ((

Re: Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Kaj Persson
Den 2017-03-23 kl. 17:27, skrev Mats Bengtsson: On 2017-03-23 10:18, wrote: Hello all! 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 Reh

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread David Kastrup
Mats Bengtsson writes: > Well, by default, the \mark command is defined as (in > .../ly/music-functions-init.ly) > > mark = > #(define-music-function >(label) ((number-or-markup?)) > "Make the music for the \\mark command." > (let* ((set (and (integer? label) >(context

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Mats Bengtsson
On 2017-03-23 10:18, wrote: Hello all! 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.

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Kaj Persson
On 2017-03-23 at 16:39, Toine Schreurs wrote: Try: A = { \mark #3 a'4 a' | \set Staff.rehearsalMark = #6 \mark \default a' a' } %etc 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. Howev

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Toine Schreurs
> >Try: > > > >A = { > > \mark #3 a'4 a' | > > \set Staff.rehearsalMark = #6 > > \mark \default a' a' > >} %etc > > > 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

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Kaj
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 firs

Re: A notice about \mark when Mark_engraver is moved

2017-03-23 Thread Toine Schreurs
> 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 i

A notice about \mark when Mark_engraver is moved

2017-03-23 Thread 70147persson
I noticed that my illustration was not included in my original post, so I make a new try, now pasting it in. The image file is also appended. Hello all! 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

A notice about \mark when Mark_engraver is moved

2017-03-23 Thread 70147persson
Hello all! 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