[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to know the current page number from inside a regular markup (not sc
From: |
Wilbert Berendsen |
Subject: |
how to know the current page number from inside a regular markup (not score/book header) |
Date: |
Mon, 10 Sep 2012 08:40:49 +0200 |
Hi,
I use regular markups to display titles for hymns in a hymn book. The
hymn number should align to the right on right pages but to the left on
left pages.
A hymn can start anywhere on a page.
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?)
TIA,
Wilbert
--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)
- how to know the current page number from inside a regular markup (not score/book header),
Wilbert Berendsen <=