lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When (in seconds) does each page begin?


From: Valentin Villenave
Subject: Re: When (in seconds) does each page begin?
Date: Tue, 2 Jun 2020 10:19:37 +0200

On 5/30/20, Matt Wallis <m7956@acumen-it.co.uk> wrote:
> But I'd still like to know how to find out when a page of a score begins

Well, there is something to be done with the 'page-number and
'rank-on-page properties, as demonstrated in this regtest:
https://git.savannah.gnu.org/cgit/lilypond.git/plain/input/regression/multi-measure-rest-reminder.ly

The problem is that the page-breaking algorithm runs fairly late in
the process, so whenever I try adding that to the aforementioned
Grob_metadata_engraver, either ly:grob-system doesn’t return anything
or it remains stuck on 0.  (The regtest I mentioned works around that
in a pretty convoluted way, by creating a new grob and then suiciding
it.)

You might want to have a look; maybe your guess’s gonna be better than mine.

Cheers,
-- V.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]