[Top][All Lists]

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

Re: Emailing: markstest.denemo

From: Richard Shann
Subject: Re: Emailing: markstest.denemo
Date: Tue, 20 Oct 2020 10:37:10 +0100

On Tue, 2020-10-20 at 09:46 +0100, Richard Shann wrote:
> 4) It then occurred to me that a different approach could be used
> altogether:
>         something like a script
>         (while (d-SwapStaffs))
> would move the top staff to the bottom if executed while on a
> suitable
> staff. So you could perhaps have a couple of buttons to move the
> dynamics to where you want it for the layout you are about to
> typeset.
> I'd need to tinker with the details of that ...

I have duly tinkered, and as usual there were details to sort out.
These two scripts can be used to move the top staff to the bottom and
back again:

(while (d-MoveToStaffUp))
(while (d-MoveToStaffDown)
(d-SetSaved #f)


(while (d-MoveToStaffDown))
(while (> (d-GetStaff) 1)
(d-SetSaved #f)


So these could be commands, or palette buttons.
If you wanted the Moves to be un-doable you would need to preface them
with (d-TakeSnapshot) as the (d-IncreaseGuard)/(d-DecreaseGuard) are
turning of individual undo for each step. Taking a snapshot first means
you can undo to your original state.


reply via email to

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