Hi Xavier,

>/One lead would be to "hack" the system-separator-markup./
>/See NR 1.6.1 Displaying staves > Separating systems/
>/https://lilypond.org/doc/v2.21/Documentation/notation/displaying-staves.html#separating-systems/

I was considering that… but can one change the separator mid-score?
I thought you could only change it in the \paper variable?

Cheers,
Kieren.

Hi,

You can make it depend on the page, but not more, as this test evidences:

#(define counter 1)
#(define (next layout props arg)
   (display counter) (newline)
   (set! counter (1+ counter))
   (interpret-markup layout props #{ \markup "A" #}))
\paper {
  system-separator-markup = \markup \on-the-fly #next \null
}
\repeat unfold 500 c'1

This prints
1
2
3

because there are three pages, but the markup is evaluated just once per page.

No clue wether there is a way to replace make-page-stencil from page.scm (https://gitlab.com/lilypond/lilypond/-/blob/master/scm/page.scm#L229) to override this behavior.

Best,
Jean

Reply via email to