]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
* Documentation/user/refman.itely: updates.
[lilypond.git] / scripts / convert-ly.py
index ed2e099ddae168b1d6f63bf5d56620b4bf136bcb..9459d91887df71f36bf990f89a5470b4b6cdc9cd 100644 (file)
@@ -1144,6 +1144,12 @@ if 1:
        
        conversions.append (((1,7,13), conv, "ly:XX-molecule-YY -> ly:molecule-XX-YY")) 
 
+if 1:
+       def conv(str):
+               str = re.sub (r"linewidth *= *-[0-9.]+ *(\\mm|\\cm|\\in|\\pt)?", 'raggedright = ##t', str )
+               return str
+       
+       conversions.append (((1,7,16), conv, "linewidth = -1 -> raggedright = ##t"))    
        
 
 ################################