From 7fab868fc4a9148be6607ce799986b96e29ebe94 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Wed, 9 Jun 2010 10:54:55 +0200 Subject: [PATCH] Lilypond-book: fix QUOTE output --- python/book_html.py | 2 +- python/book_latex.py | 3 +-- python/book_texinfo.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/python/book_html.py b/python/book_html.py index d5eb6dfede..d3fa7e8db1 100644 --- a/python/book_html.py +++ b/python/book_html.py @@ -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 (): diff --git a/python/book_latex.py b/python/book_latex.py index ec4ce93156..dfb6fc0ac7 100644 --- a/python/book_latex.py +++ b/python/book_latex.py @@ -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 diff --git a/python/book_texinfo.py b/python/book_texinfo.py index 4b5120f9d9..03f723754a 100644 --- a/python/book_texinfo.py +++ b/python/book_texinfo.py @@ -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' -- 2.39.5