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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user