bug-lilypond
[Top][All Lists]
Advanced

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

Re: Possible bug with cautionary accidentals


From: David Kastrup
Subject: Re: Possible bug with cautionary accidentals
Date: Mon, 06 Feb 2012 15:34:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

David Kastrup <address@hidden> writes:

> -Eluze <address@hidden> writes:
>
>> David Kastrup wrote:
>>> 
>>> -Eluze <address@hidden> writes:
>>> 
>>>> Phil Holmes wrote:
>>>>> 
>>>>> With this input:
>>>>> 
>>>>> {
>>>>>   #(set-accidental-style 'modern-voice-cautionary)
>>>>>   \clef bass
>>>>>   ces4 ces ces ces |
>>>>>   c4 c c c |
>>>>> }
>>>>> 
>>>>> I get a cautionary in the second bar up until 2.15.16 (which I believe I 
>>>>> would expect) but none in 2.15.18.    I reckon this is a bug, but would
>>>>> like 
>>>>> someone who does this stuff to confirm that it's not a deliberate change 
>>>>> (for some reason).
>>>>> 
>>>>> 
>>>>
>>>> use \accidentalStyle "modern-voice-cautionary" instead - couldn't find
>>>> this
>>>> in Changes either!
>>> 
>>> I don't think that this should make a difference.  It is a nicer
>>> interface, but the results should be the same I think.  I have not
>>> investigated, though.
>>> 
>> it obviously does:
>>
>> { \accidentalStyle "modern-voice-cautionary" ces1 c }
>> { #(set-accidental-style 'modern-voice-cautionary) ces1 c }
>
> Sigh.  I'll investigate.

Right.  Now I remember (and so does convert-ly, by the way).
set-accidental-style used to be (ly:export ...) since it returns a music
expression, and it no longer is (since ly:export does no longer exist).
So you need to call it as $(set-accidental-style ...)
if it is supposed to have any effect.

-- 
David Kastrup




reply via email to

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