lilypond-user
[Top][All Lists]
Advanced

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

Re: modular "markup" and arguments


From: Urs Liska
Subject: Re: modular "markup" and arguments
Date: Wed, 06 Nov 2013 10:29:52 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Am 06.11.2013 10:27, schrieb Jan-Peter Voigt:
Hello all,

I didn't follow the discussions about temporary and push-+-pop. Is there
a simple explanation for the indroduction of \temporary?

On a user-level (apart from push and pop) it means:

\override and \revert a property will result in the default value of that property \temporary\override and \revert will result in the value the property had before the override, but not necessarily the default.

Pseudo-code:

\override #'color = #blue
% current color is blue
\temporary\override #'color = #red
% current color is red
\revert #'color
% current color is blue, not black

It was introduced in 2.17.6

HTH
Urs

Why does
\override-\revert now has to be \temporary\override-\revert?
AFAICS it was introduced sometime in the 2.17 development and it will be
for better lilypond-syntax or the like?

Just a short question
Jan-Peter


Am 06.11.2013 10:07, schrieb Johan Vromans:
For grob properties:

\override               pop + push value for prop
\temporary\override     push value for prop
\revert                 pop value for prop
\once\override          set (push?) grob prop for next operation, then
                         fall back (pop?) to current value

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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