lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup : convert to v2.18/v2.19 generate error


From: tisimst
Subject: Re: Markup : convert to v2.18/v2.19 generate error
Date: Tue, 18 Nov 2014 03:58:02 -0700 (MST)

How about using define-scheme-function instead?

-Abraham

Sent from my iPhone

On Nov 18, 2014, at 3:15 AM, Schneidy [via Lilypond] <[hidden email]> wrote:

but this gives me
"error: unexpected post-event".

So I've come up with this function :

ti =
#(define-music-function (parser location button) (string?)
  (if cadb
    #{
      \markup
      \override #'(direction . 0)
      \fontsize #-1.5 #button
    #}
    #{
      \markup
      \override #'(direction . (rang button))
      \underline \fontsize #-1.5 #(touchnum button)
    #}))


but I'm still stuck with another error :

error: music function cannot return \markup \override #'(direction rang button) \underline \fontsize #-1.5 "3"


Herewith is a tiny example that shows the problem.

TIA, cheers,
Pierre




_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
~Pierre



If you reply to this email, your message will be added to the discussion below:
http://lilypond.1069038.n5.nabble.com/Markup-convert-to-v2-18-v2-19-generate-error-tp168787.html
To start a new topic under User, email [hidden email]
To unsubscribe from Lilypond, click here.
NAML


View this message in context: Re: Markup : convert to v2.18/v2.19 generate error
Sent from the User mailing list archive at Nabble.com.

reply via email to

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