>>>>> "Han-Wen" == Han-Wen  <[EMAIL PROTECTED]> writes:

    Han-Wen> [EMAIL PROTECTED] writes:
    >> 
    >> I think I'm almost migrated to 1.5.  However, the
    >> Score.breakAlignOrder which in 1.4 causes my incipits to be separated
    >> from the modern clef by a barline, in 1.5 causes all the clefs to be
    >> printed before the staff starts.  I have tried fiddling with it, but
    >> every Score.breakAlignOrder setting that I have tried has this effect.

    Han-Wen> Check out ly/engraver.ly -- I've changed the symbols to look more
    Han-Wen> schemish. It's now span-bar i.s.o. Span_bar

Thanks, that works.  Is the attached patch all that's necessary to put
it into convert-ly, or is there some context information that
convert-ly would need?  (It worked once.)

--- convert-ly.py~	Sat May 18 20:12:35 2002
+++ convert-ly.py	Wed May 29 11:38:53 2002
@@ -857,6 +857,18 @@
 	
 	conversions.append (((1,5,56), conv, 'Pitch::transpose->ly-transpose-pitch'))
 
+if 1:
+	def conv(str):
+		str = re.sub ('Instrument_name', 'Instrument-name', str)
+		str = re.sub ('Left_edge_item', 'Left-edge', str)
+		str = re.sub ('Span_bar', 'Span-bar', str)
+		str = re.sub ('Breathing_sign', 'Breathing-sign', str)
+		str = re.sub ('Clef_item', 'Clef', str)
+		str = re.sub ('Key_item', 'Key-signature', str)
+		str = re.sub ('Staff_bar', 'Staff-bar', str)
+		str = re.sub ('Time_signature', 'Time-signature', str)
+		return str
+	conversions.append(((1,5,58), conv, 'old breakAlignOrder -> new breakAlignOrder'))
 ################################
 #	END OF CONVERSIONS	
 ################################

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139
(If I haven't invited you to my party on June 2, I'm sure it's an oversight.)

Reply via email to