Why not take the slur-attachment-override.ly from the Tips and Tricks document of version 2.2 (attached)? This property doesn't exist in version 2.4 and there is no replacement either as far as I know. However, the question is if convert-ly should warn about every single property that has been removed or changed in a way so that automatic conversion is impossible. I'm afraid that this example is just one of many such properties.
/Mats
Erik Sandberg wrote:
Hi,
Can you please send in a complete (but preferably small) score that generates the bug #1?
Erik
On Sunday 14 November 2004 00.40, Andrew Johnson wrote:
I just built Lilypond 2.4.2 on my SuSE 9.0 system, and converted some of my old music from version 2.2.1.
Bug #1: The conversion script didn't handle this override properly:
\override Slur #'attachment = #'(stem . stem)
The result was this error message from lilypond:
Interpreting music... warning: Can't find property type-check for `attachment' (backend-type?). Perhaps you made a typing error? warning: Doing assignment anyway.
Bug #2: Then after commenting those override statements out, I was still getting this warning from the midi generation:
Interpreting music... warning: FIXME: key change merge warning: FIXME: key change merge
MIDI output to `YouHaveHeard.midi'... Track...
If I play the resulting midi file the sound stops early, before playing a note with an accidental that might have caused that message. I can provide the source .ly file if anyone needs it.
I love Lilypond; thank-you to everyone who has contributed to it!
- Andrew
_______________________________________________ bug-lilypond mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-lilypond
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
\version "2.5.0"
\header{
texidoc="@cindex Slur Attachment Override
In some cases, you may want to control the attachment points of a slur
by hand. "
}
%%
%% except that both slurs are stem <<-> stem.
%%
fragment = {
\set autoBeaming = ##f
\override Stem #'direction = #1
\override Slur #'direction = #1
d'32( f'4 d8..)
\override Slur #'attachment = #'(stem . stem)
d,32( f'4 d8.)
}
\score {
\relative c \fragment
\layout { raggedright = ##t}
}
_______________________________________________ bug-lilypond mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-lilypond
