[Top][All Lists]

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

Re: parser variables persist beyond { } scope

From: Werner LEMBERG
Subject: Re: parser variables persist beyond { } scope
Date: Thu, 30 Jul 2009 21:34:38 +0200 (CEST)

> I experimented a little bit with one possible solution, but I don't
> know how practical the rest of you will find it.  For each parser
> variable, it is possible to define a separate "default" value.  The
> existing variable would be initialized to the default value, and it
> would be reset to the default value after each call to the relevant
> command (eg. \afterGrace).  So if the user changes the existing
> variable, the new value will only be in effect for that call.

I don't like this very much.  It effectively doubles the number of
variables to be known by the user, even if the name can be
algorithmically derived.

What about resetting all such variables automatically at the beginning
of a new \score block?


reply via email to

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