On Tue, Mar 21, 2017 at 1:41 PM, Jeffery Shivers
<jefferyshiv...@gmail.com> wrote:
> On Tue, Mar 21, 2017 at 1:28 PM, Jeffery Shivers
> <jefferyshiv...@gmail.com> wrote:
>> On Tue, Mar 21, 2017 at 1:18 PM, Urs Liska <u...@openlilylib.org> wrote:
>>>>The problem was subtracting 2 from (length  input-file) for `ctx`:
>>>>      (input-file (string-split (car (ly:input-file-line-char-column
>>>>(*location*))) #\/ ))
>>>>      (ctx (list-tail input-file (- (length input-file) 2)))
>>>>
>>>>This corrects that:
>>>>      (ctx (list-tail input-file (- (length input-file) 1)))
>>>>
>>>>Sorry for the noise everyone. Don't know why I didn't look there
>>>>before posting. Should have eaten my Wheaties first.
>>>
>>> Ehm, doesn't that break things in other situations? I assume the "2" is 
>>> there fir a reason ...
>>
>> So far, no. `cd`ing all around the system (up, down, to the side), it
>> does just fine. I don't know what other situations you'd have in mind
>> though.
>
> Scratch that.

Actually, false alarm. Anyhow, we should probably continue this
discussion on the scholarly issue tracker at this point.

-- 

Jeffery Shivers
 jefferyshivers.com
 soundcloud.com/jefferyshivers

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to