[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lower-case letter rehearsal marks
From: |
David Kastrup |
Subject: |
Re: Lower-case letter rehearsal marks |
Date: |
Fri, 11 Dec 2015 11:50:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> 2015-12-10 11:58 GMT+01:00 David Kastrup <address@hidden>:
>> Thomas Morley <address@hidden> writes:
>>
>>> Not sure why
>>> foo-markup = \markup \bold \with-color #cyan \markletter \etc
>>> \markup \foo #1
>>> does not work, as opposed to
>>> bold-red-markup = \markup \bold \with-color #red \etc
>>> \markup \bold-red "text"
>>
>> Anyway, should this rather work using the syntax
>>
>> \markup bold-red = \bold \with-color #red \etc
>>
>> ? this would have the advantage of hiding the way \markup introduces
>> its own name space, and one could use the full define-markup-command
>> resulting in (markup #:bold-red ...) and make-bold-red-markup working as
>> well.
>
> Nice advantages.
>
>> But it seems weird to use this for \etc-style functions only.
>
> And right now
> \markup bold-red
> prints the string "bold-red".
And \markup bold-red = at top level is a syntax error now. No
conflict. I tested that already in the grammar but without tying any
useful action to the grammar rule.
> Having
> \markup bold-red = <ẃhat-ever>
> ,i.e. a definition might lead to confusions.
The compiler isn't confused. The question is more about the user.
> Is it possible to create a sort-of-markup-macro to be used like:
>
> \sort-of-markup-macro sort-of-markup-macro-name = <whatever>
>
> instead?
> (Just brain-storming)
Uh, that went over my head. Care to elaborate? I cannot really fit the
wildcard pieces here.
>> And the whole markup-macro machinery is crazy anyway.
>
> I trust your expertise.
Well, markups in general...
--
David Kastrup
- Re: Lower-case letter rehearsal marks, (continued)
- Re: Lower-case letter rehearsal marks, David Kastrup, 2015/12/09
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/09
- Re: Lower-case letter rehearsal marks, David Kastrup, 2015/12/09
- Re: Lower-case letter rehearsal marks, Kieren MacMillan, 2015/12/09
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/09
- Re: Lower-case letter rehearsal marks, David Kastrup, 2015/12/10
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/10
- Re: Lower-case letter rehearsal marks, Kieren MacMillan, 2015/12/10
- Re: Lower-case letter rehearsal marks, David Kastrup, 2015/12/10
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/10
- Re: Lower-case letter rehearsal marks,
David Kastrup <=
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/12
- Re: Lower-case letter rehearsal marks, David Kastrup, 2015/12/12
- Re: Lower-case letter rehearsal marks, Thomas Morley, 2015/12/12
- Re: Lower-case letter rehearsal marks, Noeck, 2015/12/13
- Re: Lower-case letter rehearsal marks, Johan Vromans, 2015/12/09