lilypond-user
[Top][All Lists]
Advanced

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

Re: on-page procedure


From: David Kastrup
Subject: Re: on-page procedure
Date: Fri, 25 Sep 2015 10:28:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Paul Scott <address@hidden> 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



reply via email to

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