lilypond-devel
[Top][All Lists]
Advanced

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

Re: order of function arguments


From: Janek Warchoł
Subject: Re: order of function arguments
Date: Tue, 23 Apr 2013 18:09:29 +0200

Hi,

2013/4/23 David Kastrup <address@hidden>:
> Janek Warchoł <address@hidden> writes:
>> Btw, issue 2540 made it possible to write
>>
>> \version "2.17.3"
>> { < \tweak Accidental #'color #red cis' fis'' > }
>>
>> which colored the sharp of the cis.  Is it possible to achieve the
>> same goal with newer versions?  I've tried some combinations with
>> 2.17.13 but they failed.
>
> If you don't want to read the manual, you can use convert-ly.

Hmm.  I tried, but apparently Frescobaldi tricked me - it appeared as
if the conversion didn't change anything.  Apologies - i've tried
doing this directly with command line, which worked and gave me

\version "2.17.3"
{ < \tweak Accidental.color #red cis' fis'' > }

which, quite frankly, is exactly what i hoped for!  Woohoo!  Now we're
talking.  So, current \tweak syntax is actually

\tweak grob-property-path value grob-or-music
(not \tweak property value grob-or-music as i mistakenly thought)

and _that_ makes my day!  I wish that someone told me that when i
asked about it in https://codereview.appspot.com/8647044/#msg2 - it
would save us a lot of time.

>>> I don't see a better solution here.  Obviously, or I would not have
>>> converged to the behavior implemented in October.  Unless you can
>>> come up with anything that has not already been considered and/or
>>> discussed, this is not going to lead anywhere.
>>
>> well, i have one idea that i think wasn't quite discussed.  However, i
>> suppose i have to learn more about parser and related things to have a
>> meaningful discussion, so i suppose this has to wait.
>
> That sounds like you are planning for something that can't be made to
> work with the current parser and music functions.  Which probably means
> that it is going to make things nicer at the price of making things
> considerably more complex.

Well, i suppose that it's something that wouldn't actually be very
complex, but from the past experience i expect that i'd probably fail
to formulate my thoughts 100% precisely, and then we'd spend a week
arguing over something different than the suggestion i actually had in
mind. :P

best,
Janek



reply via email to

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