lilypond-user
[Top][All Lists]
Advanced

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

Re: improving Janek's \dynamic function (for combo dynamics)


From: Thomas Morley
Subject: Re: improving Janek's \dynamic function (for combo dynamics)
Date: Wed, 13 Sep 2017 01:21:55 +0200

2017-09-12 21:58 GMT+02:00 Kieren MacMillan <address@hidden>:
> Hi Harm,
>
> Is
>
>     \dynamicH "text only"
>
> (or something like that) supposed to work?

Well, it did work in a previous version. So it's a regression.

Thanks spotting it.

For a quick fix, change here:

#(define (get-list-parts lst dyn-indices idx)
;; Relying on @var{idx}, which selects from @var{dyn-indices} return a new
;; list containing sublists with stuff before the selected dynamic, the
;; dynamic itself and stuff after the dynamic.
  (if (null? dyn-indices)
-      (list '() '() '())
+      (list lst '() '())

Not sure whether it's the best fix, though.
Will need to test.

Cheers,
  Harm



reply via email to

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