[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fret value 0 in place-fret leads to unwanted capo indication in fret
From: |
Thomas Morley |
Subject: |
Re: fret value 0 in place-fret leads to unwanted capo indication in fret diagrams |
Date: |
Sun, 25 Oct 2015 22:07:32 +0100 |
2015-10-25 21:56 GMT+01:00 Thomas Morley <address@hidden>:
> 2015-10-25 20:00 GMT+01:00 pls <address@hidden>:
>> Hey all,
>>
>> the following code produces an unwanted capo indication in the first
>> fret of the fret diagram (thick bar that covers all the strings):
>>
>> \version "2.19.30"
>>
>> \markup
>> \override #'(size . 5)
>> \override #'(fret-diagram-details . ((finger-code . in-dot)))
>> \fill-line {
>> \fret-diagram-verbose #`(
>> (place-fret 3 0)
>> )
>> }
>>
>> Why didn't I use the official syntax e.g. /open 3/ to indicate an open
>> string? Because I wanted to place text inside the fingering indication
>> dots which is only possible via the place-fret command.
>>
>> There is a way to get rid off this capo indication but it's only a dirty
>> workaround:
>>
>> \markup
>> \override #'(size . 5)
>> \override #'(fret-diagram-details . ((finger-code . in-dot)))
>> \fill-line {
>> \fret-diagram-verbose #`(
>> (capo -1)
>> (place-fret 3 0 "g")
>> )
>> }
>>
>> HTH,
>> Patrick
>>
>
> I see two different tasks to do here
>
> (1)
> fix the unwanted capo, a defect
> I entered
> https://sourceforge.net/p/testlilyissues/issues/4644/
>
> (2)
> support printing text in the dots entered with `(open 4)'
> an enhancement
>
> Currently I test a patch in a local branch to fix (1)
The patch survived regtest, uploaded.
> (2) may be more work ...
>
> Cheers,
> Harm