]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.42
authorfred <fred>
Tue, 26 Mar 2002 21:49:26 +0000 (21:49 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:49:26 +0000 (21:49 +0000)
scripts/mudela-book.py

index 2c93948d71c0a5ca8d518ac67fd59502b53d9a34..2ad7a86eb2abb018e346e1e47b39b5d82ec07f9b 100644 (file)
@@ -61,6 +61,9 @@
 # 0.5.4: (Mats B)
 #   - .fly and .sly files in \mudelafile{} are treated as standalone Lilypond.
 #   - Fragments, .fly and .sly files are in \relative mode.
+# 0.5.5: (Mats B)
+#   - bf: Default fragments have linewidth=-1.0
+#   - Added 'singleline' and 'multiline' options.
 
 import os
 import string
@@ -267,6 +270,10 @@ class Mudela_output:
             self.code_type_override = 'sly'
         if 'nonfragment' in optlist:
             self.code_type_override = 'ly'
+        if 'singleline' in optlist:
+            self.code_type_override = 'sly'
+        if 'multiline' in optlist:
+            self.code_type_override = 'fly'
         if 'eps' in optlist:
             self.graphic_type = 'eps'
         for pt in fontsize_pt2i.keys():
@@ -291,7 +298,7 @@ class Mudela_output:
             self.file.write('\\score{\n\\notes\\relative c{')
     def close (self):
         if self.code_type == 'unknown':
-            self.code_type = 'fly'
+            self.code_type = 'sly'
         if self.code_type_override:
             self.code_type = self.code_type_override
         self.write_red_tape()