Am Dienstag, 10. Juni 2008 schrieb Steven Weber:
> #(define-markup-command (myCircle layout props name) (string?)
> "Print the name inside a circle. Syntax: \\myCircle #\"note\""
> (interpret-markup layout props
> (markup #:line (#:override (circle-padding . 0.5) (#:circle
2008/6/9 Steven Weber <[EMAIL PROTECTED]>:
> Any clue what's going on here, or why the exact string Lilypond claims to be
> using internally doesn't work?
You're missing a quote which stops guile from trying to evaluate it as
a variable (it's a symbol):
#(define-markup-command (myCircle layout p
ere, or why the exact string Lilypond claims to be
using internally doesn't work?
Thanks!
--Steven
-Original Message-
From: Neil Puttock [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2008 3:10 PM
To: Steven Weber
Cc: bug-lilypond@gnu.org
Subject: Re: Problems setting circle-pa
Hi Steven,
2008/6/9 Steven Weber <[EMAIL PROTECTED]>:
> warning: cannot find property type-check for `circle-padding' (backend-type?).
> perhaps a typing error?
> warning: doing assignment anyway
Circle-padding is a markup property only, so it's not designed for use
as an override with TextScrip
Lilypond version 2.11.48, Windows XP
\version "2.11.48"
{
% This throws a warning, but pads the circle
\override TextScript #'circle-padding = #0.5
c'1 ^\markup { \circle "Hi" } |
% This causes a fatal error in lilypond (uncomment to