Hi Pierre,

On Sat, Mar 14, 2015 at 1:49 PM, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Hi David,
>
> 2015-03-14 19:03 GMT+01:00 David Nalesnik <david.nales...@gmail.com>:
>
>
>> However, why don't you subsume this in the let-block?
>>
>
> I've tried to - in fact I've tried a lot of things... without succes.
>
>
>>
>>
>>>   (define string-qty arg-string-qty)
>>>   ;; hereunder should be fine:
>>>   (let* ((mrkp (markup #:upright #:concat (prefix fret-nbr))))
>>>
>>
>> You've defined Prefix with a capital "P" above.
>>
>>
>>>     (let* ((mrkp (markup #:upright #:concat (#:lower 0.08 prefix #:lower
>>> 0.05 fret-nbr #:hspace 0.3))))
>>>
>>
>> Same problem here.
>>
>
> Actually no, 'prefix' here should be the markup-command not a variable.
> How can I fix that ?
>
>

Ah, I see.  I just got the errors to go away, and figured I had fixed it!

I believe that you want this line:

(let* ((mrkp (markup #:upright #:concat (#:lower 0.08 #:prefix string-qty
#:lower 0.05 fret-nbr #:hspace 0.3))))

%%
I added in the string-qty because \prefix expects an integer,

Does this give you what you want?

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

Reply via email to