lilypond-devel
[Top][All Lists]
Advanced

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

Re: music function to be included somewhere in scm/*


From: David Nalesnik
Subject: Re: music function to be included somewhere in scm/*
Date: Fri, 16 Dec 2016 08:27:21 -0600

On Fri, Dec 16, 2016 at 8:11 AM, David Nalesnik
<address@hidden> wrote:
> On Fri, Dec 16, 2016 at 8:07 AM, Knut Petersen
> <address@hidden> wrote:
>> Am 16.12.2016 um 14:38 schrieb Urs Liska:
>>>
>>>
>>>> As your knowledge of scheme seems to be well developed, could you give
>>>> a scheme equivalent of
>>>>
>>>> forceExtender = { \once  \override LyricExtender.force-extender = ##t }
>>>>
>>>> that is acceptable to lilypond?
>>>
>>> #(once (overrideProperty '(LyricExtender force-extender) #t))
>>>
>>> (untested)
>>
>> Thanks a lot for the quick answer. If I put
>>
>> (define-public (forceExtender)
>>   (once (overrideProperty '(LyricExtender force-extender) #t)))
>>
>> into scm/music-functions.scm, lilypond does know \forceExtender ... but it
>> complains about a "non-music expression"
>> if it is used ...
>
>
> If you are defining a music function, do it in ly/music-functions-init.ly,

Or if it's simply setting a property, as here, in ly/property.init.ly ...



reply via email to

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