Am Montag, 22. März 2010 23:35:05 schrieb Reinhold Kainhofer:
> Am Montag, 22. März 2010 16:51:50 schrieben Sie:
> > Reinhold Kainhofer wrote Monday, March 22, 2010 3:45 PM
> > 
> > > The patch allows this as well (It treats \with and
> > > \contextmodifications
> > > exactly the same)... However, \with just doesn't tell you that
> > > this is only
> > > about Context modifications.
> > > 
> > > So, do you all think that we should only go with \with?
> > 
> > I would prefer that.  Are multiple \withs permitted?
> 
> Yes, multiple nested \with are allowed, and \with is now also allowed as
> the value of a variable and inside a \context definition. That's basically
> all that my patch does (internally, it also adds a C++ object for \with
> instead of simply treating it as a scheme list of modifications).

I have now pushed that patch. Although I'm not 100% happy with it, I have not 
added a new parser keyword (ie. NO \contextmodifications), only \with is 
allowed. While this might be clear for lilypond insiders, to a new user an 
assignment like
  something = \with { context-mods-here-only }
will not be clear.

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to