Forwarded to list, since I missed it on the reply.
Carl
------ Forwarded Message
From: Carl Sorensen <[EMAIL PROTECTED]>
Date: Mon, 18 Aug 2008 05:09:48 -0600
To: <[EMAIL PROTECTED]>
Conversation: string number problem
Subject: Re: string number problem
Tom Cloyd wrote:
--------------------------
OK - here's a minimal version of my problem -
[running ver. 2.10.33]
input:
====
\relative c'{ <fis-1\4>8 [(g-2) a-4] <b-1\3> [c-2 d-4] <e-1\2> [fis-3 g-4] |
}
console output:
==========
GNU LilyPond 2.10.33
Processing `test.ly'
Parsing...
warning: Not in toplevel scope
Interpreting music...
test.ly:31:36: warning: Ignoring grob for slur. avoid-slur not set?
\relative c'{ <fis-1
\4>8 [(g-2) a-4] <b-1\3> [c-2 d-4] <e-1\2> [fis-3 g-4] | }
[1]
--------------------------
The clue is in the warning message: avoid-slur not set.
The short answer -- add an override:
\relative c'{
\override StringNumber #'avoid-slur = #'around
<fis-1\4>8 [( <g-2>) a-4] <b-1\3> [c-2 d-4] <e-1\2>
[fis-3 g-4] | }
The longer question:
How do we find the override to add? (The LilyPond Index doesn't have an
entry for avoid-slur).
The longer answer:
A. Go to the docs (GDP preferably, since they're the most up-to-date) and
find the section on String Numbers.
B. Follow the Internals Reference link to StringNumber at the bottom of the
page.
C. Click on interfaces (at the bottom of the page) until I find one that has
avoid-slur as a property. It happens to be grob-interface.
D. Choose the best value for avoid-slur in this application. In my
opinion, for this usage, around is the proper value.
E. Go to the Learning Manual (part of the GDP docs, or 2.11 docs) to see
the syntax, because I can never remember how to do it right. Section 4.1.4
is what I need to remind me.
F. Add the tweak to the input. Try it, and -- it works!
HTH,
Carl
------ End of Forwarded Message
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user