]> git.donarmstrong.com Git - lilypond.git/commitdiff
Improve output of LSR snippets in PDF.
authorWerner Lemberg <wl@gnu.org>
Sun, 15 Feb 2009 07:22:37 +0000 (08:22 +0100)
committerPatrick McCarty <pnorcks@gmail.com>
Fri, 17 Jul 2009 08:25:28 +0000 (01:25 -0700)
lilypond-book.py (output_texinfo): Always put @lydoctitle into a separate
paragraph.
(cherry picked from commit cccfe67250f23f317a1fb343bb727051174d4e5a)

scripts/lilypond-book.py

index c629201c5d6cb3d71dcd3317e08bb63b947089ff..c2e1a97c8dd350e488d928a7bc0d31f68ba7c0c8 100644 (file)
@@ -1475,9 +1475,9 @@ class LilypondSnippet (Snippet):
             doctitle = base + '.doctitle'
             translated_doctitle = doctitle + document_language
             if os.path.exists (translated_doctitle):
-                str += '@lydoctitle %s\n' % open (translated_doctitle).read ()
+                str += '@lydoctitle %s\n\n' % open (translated_doctitle).read ()
             elif os.path.exists (doctitle):
-                str += '@lydoctitle %s\n' % open (doctitle).read ()
+                str += '@lydoctitle %s\n\n' % open (doctitle).read ()
         if TEXIDOC in self.option_dict:
             texidoc = base + '.texidoc'
             translated_texidoc = texidoc + document_language