On 3/17/11 9:37 AM, "Adam Good" <adamg...@adamgood.com> wrote:

> Another tree to bark up and on a similar note, how to set roman
> numerals in Score.markFormatter as rehearsal marks via \mark \default
> ...
> 
> \version "2.12.3"
> 
> \relative c' {
>   \set Score.markFormatter = #(fancy-format #f "~@r." 1)
> 
>   \mark \default
>   a b c d
> 
>   \mark \default
>   a b c d
> }
> 
> gives:
> 
> warning: type check for `markFormatter' failed; value `"I."' must be
> of type `procedure'

Right  -- markFormatter needs to be a procedure, so you define it as a
lambda procedure:

\set Score.markFormatter = #(lambda (mark) (fancy-format #f "~@r." mark))

Haven't tested, but this is the general idea.

Carl


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to