lilypond-user
[Top][All Lists]
Advanced

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

Re: how to know the current page number from inside a regular markup(not


From: Trevor Daniels
Subject: Re: how to know the current page number from inside a regular markup(not score/book header)
Date: Mon, 10 Sep 2012 08:41:36 +0100

Wilbert Berendsen wrote Monday, September 10, 2012 7:40 AM

> It seems I can't access the page:page-number-string property inside a
> markup function if it is not called in the context of a page header or
> footer.

> Is there any possibility for a regular (toplevel) \markup { } to know
> the page it is drawn on? (Or, at least, whether it is a right or left
> page?)

I don't think so.  The reason is explained at the bottom of section
3.2.4 in the Notation Reference.  It says there that at the time markups 
are interpreted page breaking has not yet occurred, so the page 
numbers are not yet known.

Trevor

reply via email to

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