lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fret-diagrams.scm:657:42: Wrong type: #f


From: Thomas Morley
Subject: Re: fret-diagrams.scm:657:42: Wrong type: #f
Date: Sun, 23 Aug 2015 01:00:39 +0200

2015-08-22 10:46 GMT+02:00 David Kastrup <address@hidden>:
> ClausRogge <address@hidden> writes:
>
>> OK thanks for all your suggestions ... the error was very simple - one space
>> too much here
>> \stopStaff s2 s_\markup {\bold "D dur"}^\markup{{\fret-diagram #"s:6;h:5;
>>  <-!!
>> 6-2;6-3;6-5;5-2;5-4;5-5;4-2;4-4;4-5;3-2;3-4;2-2;2-3;2-5;1-2;1-3;1-5;"}}
>>
>> I didn't show in my posting because of the automatic line breaking.
>
> That begs the question on whether \fret-diagram should be ignoring
> embedded whitespace in order to allow for more readable formatting of
> the command string.
>
> --
> David Kastrup


How about a check like:

  (string-filter
    "s:2;h:5;
     6-x;
     5-x;
     4-4;
     3-2;
     2-3;
     1-x;"
    (char-set-union
      char-set:letter+digit
      char-set:punctuation))

If no better suggestion, I'll put up a patch


Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]