[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: change Grob.id to Grob.output-properties
From: |
Paul |
Subject: |
Re: Proposal: change Grob.id to Grob.output-properties |
Date: |
Fri, 16 Sep 2016 12:05:32 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 09/16/2016 09:43 AM, Paul wrote:
% is \procE a string or a procedure? No way to tell in convert-ly
% and calling a string as if it were a procedure doesn't work
% \override NoteHead.id = #(lambda (grob `((id . ,(procE grob)))))
On second thought, I guess the following rewrite would work for this
issue, but I'm not sure it's doing users much of a favor...
\override NoteHead.id =
#(lambda (grob)
`((id . ,(if (procedure? procE)
(procE grob)
procE))))
and there's still the issue of how to regex a lambda expression...
Carl's plan makes sense to me, so I'll go with that.
-Paul