lilypond-devel
[Top][All Lists]
Advanced

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

guilev2 problem (user-markup-command sometimes not accepted)


From: Thomas Morley
Subject: guilev2 problem (user-markup-command sometimes not accepted)
Date: Sun, 11 Nov 2018 20:12:57 +0100

Hi,

the following works fine with current master (and every tested lily-version):
#(begin
 (define-markup-command (dummy layout props arg) (markup?)
   (interpret-markup layout props arg))
 (display-scheme-music (markup #:dummy "foo")))
#(display "whatever")

With guilev2 I get:
$ lilypond-git-guile-2.2 atest-85.ly
GNU LilyPond 2.21.0
Processing `atest-85.ly'
Parsing...
fatal error: Not a markup command: dummy

Not even the later 'display' is reached.

Though this works:
#(define-markup-command (dummy layout props arg) (markup?)
   (interpret-markup layout props arg)
#(display-scheme-music (markup #:dummy "foo")))
#(display "whatever")


I'm not able to track this down, anyone with some insight?


Thanks,
  Harm



reply via email to

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