Paul Scott <[EMAIL PROTECTED]> writes:

> #(def-markup-command (restOne layout props)
>   (interpret-markup layout props
>    (markup #:number #1)))

As soon as you are inside a Scheme expression, you don't have to use
`#' before expressions; the \number markup command takes a markup as
an argument, so use the string "1" instead of the number 1. Besides,
you forgot the signature argument of `def-markup-command, whih is
mandatory. Finally, you have defined a markup command, that you must
use after the \markup keyword. Here is a working example:

#(def-markup-command (restOne layout props) ()
   (interpret-markup layout props (markup #:number "1")))

rOne = { R1^\markup \restOne }

\score{ \rOne }

nicolas



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to