Paul Scott <[email protected]> writes:

> On Fri, Sep 25, 2015 at 10:10:10AM +0200, Marc Hohl wrote:
>> Am 25.09.2015 um 10:05 schrieb Paul Scott:
>> >2.19.27
>> >
>> >I can get other procedures to work in \on-the-fly but not
>> >on-page.  The NR suggests:
>> >
>> >\on-the-fly (on-page nmbr) ...
>> 
>> IIUC, it has to be
>> 
>> \on-the-fly #(on-page 2) "page-2-header-text"
>
> Great!  That works.
>
> Now I am trying to get an "and" as mentioned at the end of 3.2.2
> in the NR with:
>
> \on-the-fly #(on-page 3)
> \on-the-fly #(on-page 4)
> { markup }
>
> Can you help with that one?

That will, as requested, output { markup } whenever you are on page 3
while at the same time being on page 4.  Namely never.

It's probably easiest to write

\combine \on-the-fly #(on-page 3) { markup }
         \on-the-fly #(on-page 4) { markup }

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to