From: Werner Lemberg <wl@gnu.org>
Date: Sun, 15 Feb 2009 07:22:37 +0000 (+0100)
Subject: Improve output of LSR snippets in PDF.
X-Git-Tag: release/2.12.3-1~125
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d5753a6b8c10d6a194025f126c27f78987a49285;p=lilypond.git

Improve output of LSR snippets in PDF.

lilypond-book.py (output_texinfo): Always put @lydoctitle into a separate
paragraph.
(cherry picked from commit cccfe67250f23f317a1fb343bb727051174d4e5a)
---

diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index c629201c5d..c2e1a97c8d 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -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