]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Fix parentheses with figured bass (code and test file was wrong :( )
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 2 Apr 2008 22:54:29 +0000 (00:54 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 2 Apr 2008 22:54:29 +0000 (00:54 +0200)
input/regression/musicxml/18a-FiguredBass.xml
python/musicexp.py

index 986ab1eca4e03fc27ecd5f41ce98b7a0aa7d6546..d578ac71f212cb6df54398431639ff8bf5ca493e 100644 (file)
@@ -67,8 +67,8 @@
         <dot/>
         <stem>up</stem>
       </note>
-      <figured-bass>
-        <figure parentheses="yes"><figure-number>6</figure-number></figure>
+      <figured-bass parentheses="yes">
+        <figure><figure-number>6</figure-number></figure>
         <duration>2</duration>
       </figured-bass>
       <note>
index 2014b0f203a33f484d1bc1703e6f4bc09072677c..cdd0271486c2944f6242030b9fbf1f104d963f0e 100644 (file)
@@ -1318,7 +1318,7 @@ class FiguredBassEvent (NestedMusic):
               notes.append (x.ly_expression ())
           contents = string.join (notes)
           if self.parentheses:
-              contents = '[%]' % contents
+              contents = '[%s]' % contents
           printer ('<%s>' % contents)
           self.duration.print_ly (printer)