[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme coding] turning a list into a markup/string
From: |
David Kastrup |
Subject: |
Re: [Scheme coding] turning a list into a markup/string |
Date: |
Tue, 21 Jan 2020 23:37:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> Hi David,
>
>> The line below it is a 2.21.0 feature that cannot be used from a
>> LilyPond for which we have an installer.
>
> Ah. Thanks. (Note: feature/version disconnection is another thing that
> caused my past Scheme efforts to stumble, leading to becoming
> discouraged in my efforts.)
>
>> I wasn't aware that the line above is problematic but I see how it
>> could. Maybe write #some-music instead.
>
> That works great. Is there a similar fix for the next input line?
>
> \markup \right-column \with-color #red { \buzz { c' d' e' c' } }
Well, ##{ c' d' e' c' #} would work. Basically, almost everything that
is not either a markup or markup list in 2.20 has to start with # .
And I am not sure that the second line will survive eternally: it's
discomfortingly close to markup list syntax and thus would be tricky to
implement once markup commands get more intelligent predicate
interpretation, like music functions do now.
It's conceivable when { gets read to check whether the predicate would
accept '() (the simplest markup list) and only get into music mode when
it doesn't.
Markups are icky things.
--
David Kastrup
Re: [Scheme coding] turning a list into a markup/string, David Kastrup, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, Kieren MacMillan, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, David Kastrup, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, Kieren MacMillan, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string,
David Kastrup <=
- Re: [Scheme coding] turning a list into a markup/string, Kieren MacMillan, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, David Kastrup, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, Kieren MacMillan, 2020/01/21
- Re: [Scheme coding] turning a list into a markup/string, David Kastrup, 2020/01/21
Re: [Scheme coding] turning a list into a markup/string, Kieren MacMillan, 2020/01/21