[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I ought to have a bar line here...
From: |
Thomas Morley |
Subject: |
Re: I ought to have a bar line here... |
Date: |
Mon, 26 Oct 2020 23:58:53 +0100 |
Am Mo., 26. Okt. 2020 um 23:47 Uhr schrieb Carl Sorensen
<carl.d.sorensen@gmail.com>:
>
>
>
> On Mon, Oct 26, 2020 at 4:35 PM Thomas Morley <thomasmorley65@gmail.com>
> wrote:
>>
>> Hi Carl,
>>
>> Am Mo., 26. Okt. 2020 um 23:04 Uhr schrieb Carl Sorensen
>> <c_sorensen@byu.edu>:
>> >
>> > Try this:
>>
>> > \defineBarLine ".|:-|." #'("|." ".|:" "")
>>
>> Though, \defineBarLine ".|:-|." #'("|." ".|:" #f) _should_ work as well.
>>
>> It's a bug in 'ly:bar-line::calc-anchor' in bar-line.scm, triggered by
>> the RehearsalMark requiring an anchor.
>> The anchor-calculating procedure compares the span-glyph using
>> string=? which bombs out if span-glyph is not a string.
>> One should likely use equal? here.
>
>
> Thanks, Harm! Sometimes it's almost as good to be lucky as to be good. You
> are absolutely right, of course, and were I not too lazy to do so, I'd have
> looked up the line where the actual error was. Instead I just saw that #f
> didn't work, so I changed to "",
Patch's up
https://gitlab.com/lilypond/lilypond/-/merge_requests/483
Cheers,
Harm
- Re: I ought to have a bar line here..., (continued)
- Re: I ought to have a bar line here..., Christian Masser, 2020/10/25
- Re: I ought to have a bar line here..., Aaron Hill, 2020/10/25
- Re: I ought to have a bar line here..., Mike Dean, 2020/10/26
- Re: I ought to have a bar line here..., Carl Sorensen, 2020/10/26
- Re: I ought to have a bar line here..., Mike Dean, 2020/10/26
- Re: I ought to have a bar line here..., Mike Dean, 2020/10/26
- Re: I ought to have a bar line here..., Aaron Hill, 2020/10/26
- Re: I ought to have a bar line here..., Carl Sorensen, 2020/10/26
- Re: I ought to have a bar line here..., Thomas Morley, 2020/10/26
- Re: I ought to have a bar line here..., Carl Sorensen, 2020/10/26
- Re: I ought to have a bar line here...,
Thomas Morley <=