On 2020-12-04 7:10 am, Stefan Thomas wrote:
Dear Thomas,
thanks for Your reply!
Unfortunately the code doesn't work for me, I get the error message:

Processing `/tmp/lyp/wrappers/bendbefore.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `/tmp/lilypond-TlFzo5'...<unnamed port>: In expression
(rmoveto 12.500042 -2.5 ...):

<unnamed port>: Unbound variable: rmoveto

Is Your code written for 2.20.0?

Newer than that, as it fails with 2.20.0. There was a change to stencil expressions that removed an extra level of quoting. For 2.20.0 and earlier, you'll need to add that back in:

;;;;
  (exp (list 'path thickness
             `(quote
               (rmoveto
                 ,(- left-x self-x) ,(- delta-y)
                 rcurveto
                 ,(/ dx 3) 0
                 ,dx ,(* 0.66 delta-y)
                 ,dx ,delta-y)))))
;;;;


-- Aaron Hill

Reply via email to