]> git.donarmstrong.com Git - lilypond.git/commitdiff
Lilypond-book: fix QUOTE output
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 9 Jun 2010 08:54:55 +0000 (10:54 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 11 Jun 2010 11:12:01 +0000 (13:12 +0200)
python/book_html.py
python/book_latex.py
python/book_texinfo.py

index d5eb6dfede52aa48a558a150cfa7a7c9bbe7f496..d3fa7e8db1cce2569352abce496b10b81b010c0b 100644 (file)
@@ -123,7 +123,7 @@ class BookHTMLOutputFormat (BookBase.BookOutputFormat):
             rep['verb'] = BookBase.verbatim_html (snippet.verb_ly ())
             str += self.output[VERBATIM] % rep
         if QUOTE in snippet.option_dict:
-            str = self.output[QUOTE] % rep
+            str = self.output[QUOTE] % {'str': str}
 
         str += self.output[BEFORE] % rep
         for image in snippet.get_images ():
index ec4ce93156565a0a7af613d1d295dda2ef2981bf..dfb6fc0ac741617c530ef69701a43a1eaa2790c9 100644 (file)
@@ -255,8 +255,7 @@ class BookLatexOutputFormat (BookBase.BookOutputFormat):
             str += "".ljust (breaks, "\n").replace ("\n","%\n")
 
         if QUOTE in snippet.option_dict:
-            rep['str'] = str
-            str = self.output[QUOTE] % rep
+            str = self.output[QUOTE] % {'str': str}
         return str
 
 
index 4b5120f9d9f331f66eb1e07ddeac359a6aa8c380..03f723754a43619cf055d82d9f89601ffeda3356 100644 (file)
@@ -251,7 +251,7 @@ class BookTexinfoOutputFormat (BookBase.BookOutputFormat):
 #                str += ('@html\n' + self.output_html () + '\n@end html\n')
 
         if QUOTE in snippet.option_dict:
-            str = self.output[QUOTE] % rep
+            str = self.output[QUOTE] % {'str': str}
 
         # need par after image
         str += '\n'