lilypond-user
[Top][All Lists]
Advanced

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

Re: Distance of a grob from its reference point


From: Carl Sorensen
Subject: Re: Distance of a grob from its reference point
Date: Thu, 16 Jan 2020 00:12:13 +0000
User-agent: Microsoft-MacOutlook/10.10.10.191111

 

 

From: Paolo Prete <address@hidden>
Date: Wednesday, January 15, 2020 at 4:45 PM
To: Carl Sorensen <address@hidden>
Cc: Lilypond-User Mailing List <address@hidden>
Subject: Re: Distance of a grob from its reference point

 

Thanks to you Carl.

 

Now, given that it's nonsense to offset an unknown value, I would remove this property from the offset command of Lilypond. 

Or at least, if that remove is not easily doable in the internal API, raise a *heavy* warning that you are using a random/deprecable command.

Please do not see that as bad criticism. I'm telling that because it could save time to other people.

 

\offset is, as described in the NR, applicable to any property that has a number value, including user-defined properties.  It is not created explicitly on a property-by-property basis.

 

I could see that it might be useful to add a known issue to the \offset command section of the NR that might say something like

 

“If the property being offset has a default value (as mentioned in the Internals Reference) that is an unpure-pure-container function, the results of the \offset command may not provide a simple numerical offset from the results without the \offset command applied.”

 

Thanks,

 

Carl

 


reply via email to

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