bug-lilypond
[Top][All Lists]
Advanced

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

Re: LSR snippet 903


From: Thomas Morley
Subject: Re: LSR snippet 903
Date: Fri, 13 Jun 2014 18:16:38 +0200

2014-06-12 15:05 GMT+02:00 Pierre Perol-Schneider
<address@hidden>:
> 2014-05-31 23:46 GMT+02:00 Thomas Morley <address@hidden>:
>
>>
>> Why do you write 'ly:clef::print'?
>>
>> Can't see any sense in it. Deleting it makes no difference.
>
>
> Hi Harm,
> I fixed all concerned snippets for a couple of days (see preveiw problems
> here
> http://lilypond.1069038.n5.nabble.com/No-LSR-preview-was-quot-More-questions-about-using-Lilypond-quot-td163235.html)
> with one exception : http://lsr.di.unimi.it/LSR/Item?id=903 :
> At the end of the code you'll see :
>
> \override KeySignature.stencil = #(lambda (grob)
>
>    (ly:stencil-translate-axis
>
>     (ly:stencil-scale
>
>      (ly:key-signature-interface::print grob) -1 1) 3 X))
>
>
> deleting "ly:key-signature-interface::print grob" will create an error.
>
> So I've finally found an interest for this code line at least for the key
> signature. ;)
>
> Cheers,
>
> Pierre
>
>
>
Has nothing to do with key-signature in particular.
Here the procedure `ly:key-signature-interface::print' is applied to
`grob', outputting the default-stencil for use with `ly:stencil-scale'
and `ly:stencil-translate-axis'
Whereas in the example from my initial mail `ly:clef::print' did
nothing, afaict.

Btw, meanwhile I approved all pending LSR-snippets, sometimes I did
some editing.

Snippet 878 remains unapproved due to the discussion starting here:
http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00713.html

Cheers,
  Harm



reply via email to

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