From 5fd510fafc524796669cb84c0fc6afec54b9ef9b Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 21:49:26 +0000 Subject: [PATCH] lilypond-1.1.42 --- scripts/mudela-book.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/mudela-book.py b/scripts/mudela-book.py index 2c93948d71..2ad7a86eb2 100644 --- a/scripts/mudela-book.py +++ b/scripts/mudela-book.py @@ -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() -- 2.39.5