teHead
g'1
\once \substitute
#(lambda (grob)
;; just an example procedure
(display grob)(newline)
#f)
Staff.NoteHead
a'1
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-971100
2014-06-05 15:12 GMT+02:00 Paul Morris :
> Thomas Morley-2 wrote
[...]
>> And really hackish is:
>>
>> test =
>> #(define-music-function (parser location test-arg mus)
>>(
>> ;very bad, kludgy and hacky, though valid:
>> ((lambda (x) (or (boolean? x) (number? x) (procedure? x))) "")
>>
.)
What if a list of type predicates was a valid type predicate?
'(boolean? number? procedure?)
Their individual descriptions could be combined for error messages.
At the end of the day this is a small and incremental thing and I don't want
to belabor it.
Cheers,
-Paul
2014-06-01 18:45 GMT+02:00 Paul Morris :
> Paul Morris wrote
>> #(define-music-function (parser location arg)
>> (or (boolean?) (number?) (procedure?))
>> ...)
>
> I suppose it would need to be something like this to work for multiple
> arguments:
>
> #(define-music-function (parser locatio
procedure?)
pair?)
...)
Anyway, you can see the idea despite my fumbling with the syntax.
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162973.html
Sent from the Dev mailing list a
ul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162970.html
Sent from the Dev mailing list archive at Nabble.com.
___
lilypond-devel mailing list
lilypo
then I don't have to learn a new way to do it.
So maybe the question is whether we're talking about a general shortcut for
tweaking stencils, or a new command for tweaking stencils with markups. If
it is only for markups then maybe the name should be less general to
indicate this specifi
Paul Morris writes:
> Thomas Morley-2 wrote
>> Maybe a step in this direction:
>>
>> \version "2.19.6"
>>
>> appear =
>> #(define-music-function (parser location mrkp item)
>>(markup? symbol-list-or-music?)
>>(let ((stil (lambda (item)
>> (grob-interpret-markup item mrk
James writes:
> On 20/05/14 19:27, David Kastrup wrote:
>> Paul Morris writes:
>>
>>> Thought of another idea for a name:
>>>
>>> \substitute \markup {...} Score.TimeSignature
>>>
>>> But maybe it's no better than \replace, which is shorter and basically
>>> conveys the same thing.
>> "replace"
nd.org/doc/v2.18/Documentation/notation/predefined-type-predicates
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162742.html
Sent from the Dev mailing list archive at Nabble.com.
___
raw conveys replacement by a new
version.
But as you said, neither of them are two-object verbs so the usage is not as
natural as with \substitute.
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignature
Paul Morris writes:
> David Kastrup wrote
>>> How about "\adorn"?
>>
>> Less cute: \retouch.
>
> I like \retouch better than \adorn. So far my favorites (for what it's
> worth) are \redraw, \substitute, and \replace, since I think they convey
> well what the user is doing, from the user's persp
rspective. I think you're
right that \swap is not as good, for that reason.
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162693.html
Sent from the D
David Kastrup writes:
> Paul Morris writes:
>
>> David Kastrup wrote
>>> "replace" is a bit too generic in my opinion. I rather like the flair
>>> of \behold. \substitute does not seem all that bad either, however.
>>
>> \behold does have flair, but I think it wouldn't really convey what we'd
Paul Morris writes:
> David Kastrup wrote
>> "replace" is a bit too generic in my opinion. I rather like the flair
>> of \behold. \substitute does not seem all that bad either, however.
>
> \behold does have flair, but I think it wouldn't really convey what we'd
> want. (i.e. pointing out what
On 05/21/2014 12:54 AM, James wrote:
On 20/05/14 23:38, Colin Campbell wrote:
On 05/20/2014 02:44 PM, James wrote:
On 20/05/14 21:42, James wrote:
'\behold'? hmm..
Trying to understand how you (as a non-native English speaker) comes up
with 'behold' as I am not seeing the relation. Although,
27;s already there or revealing something hidden
(like James' \et_voila!), rather than making a change.)
Anyway, I thought of another one: \swap
...to stick with four-letter words like \hide and \omit.
Cheers,
-Paul
--
View this message in context:
http://lilypond.106
On 20/05/14 23:38, Colin Campbell wrote:
> On 05/20/2014 02:44 PM, James wrote:
>> On 20/05/14 21:42, James wrote:
>>> On 20/05/14 19:27, David Kastrup wrote:
>>>
"replace" is a bit too generic in my opinion. I rather like the flair
of \behold. \substitute does not seem all that bad eit
On 05/20/2014 02:44 PM, James wrote:
On 20/05/14 21:42, James wrote:
On 20/05/14 19:27, David Kastrup wrote:
"replace" is a bit too generic in my opinion. I rather like the flair
of \behold. \substitute does not seem all that bad either, however.
'\behold'? hmm..
Trying to understand how
On 20/05/14 21:42, James wrote:
> On 20/05/14 19:27, David Kastrup wrote:
>> Paul Morris writes:
>>
>>> Thought of another idea for a name:
>>>
>>> \substitute \markup {...} Score.TimeSignature
>>>
>>> But maybe it's no better than \replace, which is shorter and basically
>>> conveys the same thi
On 20/05/14 19:27, David Kastrup wrote:
> Paul Morris writes:
>
>> Thought of another idea for a name:
>>
>> \substitute \markup {...} Score.TimeSignature
>>
>> But maybe it's no better than \replace, which is shorter and basically
>> conveys the same thing.
> "replace" is a bit too generic in my
Paul Morris writes:
> Thought of another idea for a name:
>
> \substitute \markup {...} Score.TimeSignature
>
> But maybe it's no better than \replace, which is shorter and basically
> conveys the same thing.
"replace" is a bit too generic in my opinion. I rather like the flair
of \behold. \s
Thought of another idea for a name:
\substitute \markup {...} Score.TimeSignature
But maybe it's no better than \replace, which is shorter and basically
conveys the same thing.
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-391
the explanations.
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162571.html
Sent from the Dev mailing list archive at Nabble.com.
___
lilypond-devel mail
Paul Morris writes:
> David Kastrup wrote
>> There is not one "code that handles overriding stencils". Overrides are
>> a general mechanism. So we are talking about the code _interpreting_
>> stencils. This code will tend to be some get_property ("stencil") call.
>> There are a lot of those fr
ither markup or stencil since it's
simpler for the user, but either way would work.
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162567.html
Sent from the Dev mailing list archive
Paul Morris writes:
> Just to make sure I'm communicating my other idea (above)... you're
> saying the following wouldn't work well either (but would end up an
> invasive mess)?
>
> The code that handles overriding stencils could accept either a
> stencil or a markup, and when it received a marku
e user. I suppose it could accept either a markup or a stencil and just
pass the stencil through to the override (or tweak) if a stencil was
supplied.
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Re-Issue-3918-Add-alternatingTimeSignatures-issue-97110045-tp162462p162562.html
Sent from the Dev mailing list archive at Nabble.com.
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel
2014-05-17 9:17 GMT+02:00 David Kastrup :
> Thomas Morley writes:
>
>> I think David thought of something at the lines of the following function:
>>
>> appearance =
>> #(define-music-function (parser location mrkp item)
>>(markup? symbol-list-or-music?)
>> (let ((stil (lambda (item)
>>
Paul Morris writes:
> David Kastrup wrote
>> You mean with regard to patches? Let's first figure out what we want to
>> arrive at. Personally, I'm not really enthused about any proposal
>> including my own ones yet. But maybe we can manage to find something
>> making most people happier yet.
>
; #})
\time 2/4
c'2
%{
% the following doesn't work though:
% error: markup outside of text script or \lyricmode
% This object should be a markup: #
\override Staff.TimeSignature.stencil =
\markupToStencil \markup "33"
\time 2/4
c2
%}
}
--
View this
Thomas Morley writes:
> I think David thought of something at the lines of the following function:
>
> appearance =
> #(define-music-function (parser location mrkp item)
>(markup? symbol-list-or-music?)
> (let ((stil (lambda (item)
>(grob-interpret-markup item mrkp
>#
Urs Liska writes:
> That looks good.
> With a little modification (just skipping the wrapping of the
> generated markup to a stencil one could still use fractionList with
> that like:
>
> \appearance \fractionList #'(#t (6 8)(7 8)) Score.TimeSignature
>
> What do you think?
I don't know what you
Urs Liska writes:
> Am 16.05.2014 09:41, schrieb d...@gnu.org:
>>
>> Well, we have \omit already. What if we had
>> \appearance [markup] [grobname or music]
>>
>> Which would basically be the syntactic sugar for overriding the stencil
>> with an appropriate grob-interpret-markup?
>>
>> That way
Am 17.05.2014 01:51, schrieb Thomas Morley:
2014-05-17 0:38 GMT+02:00 Urs Liska :
Am 16.05.2014 09:41, schrieb d...@gnu.org:
Well, we have \omit already. What if we had
\appearance [markup] [grobname or music]
Which would basically be the syntactic sugar for overriding the stencil
with an
2014-05-17 0:38 GMT+02:00 Urs Liska :
> Am 16.05.2014 09:41, schrieb d...@gnu.org:
>>
>> Well, we have \omit already. What if we had
>> \appearance [markup] [grobname or music]
>>
>> Which would basically be the syntactic sugar for overriding the stencil
>> with an appropriate grob-interpret-mark
Am 16.05.2014 09:41, schrieb d...@gnu.org:
On 2014/05/16 07:06:46, uliska wrote:
It took a while because in the meantime Peter Bjuhr joined efforts,
and we
implemented the option of printing hyphens between the time
signatures. While I
don't like this and wouldn't use it personally, it's exp
On 2014/05/16 07:06:46, uliska wrote:
It took a while because in the meantime Peter Bjuhr joined efforts,
and we
implemented the option of printing hyphens between the time
signatures. While I
don't like this and wouldn't use it personally, it's explicitly
suggested by
Gould.
Additional
It took a while because in the meantime Peter Bjuhr joined efforts, and
we implemented the option of printing hyphens between the time
signatures. While I don't like this and wouldn't use it personally, it's
explicitly suggested by Gould.
Additional changes:
- change to \fractionList that only re
39 matches
Mail list logo