Neil Puttock <n.putt...@gmail.com> writes:

> On 5 September 2011 20:10, David Kastrup <d...@gnu.org> wrote:
>
>> I suggest trying the following Lilypond fragment out.
>>
>> #(define (make-accidental-mod style)
>>  "Make a context modification from accidental style @var{style}."
>>  (let ((style-settings '(1 2 3 4)))
>>   #{ \with { extraNatural = #(cadr $style-settings)
>>              autoAccidentals = #(caddr $style-settings)
>>              autoCautionaries = #(cadddr $style-settings) } #}))
>> #(display (make-accidental-mod 'modern))
>
> Heh, silly me.  I was rather stupidly testing it with \set, which
> naturally causes the parser to complain.

Well, that's what I proposed after all.  I have a lousy memory for
syntax.

-- 
David Kastrup

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

Reply via email to