From d5753a6b8c10d6a194025f126c27f78987a49285 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 15 Feb 2009 08:22:37 +0100 Subject: [PATCH] Improve output of LSR snippets in PDF. lilypond-book.py (output_texinfo): Always put @lydoctitle into a separate paragraph. (cherry picked from commit cccfe67250f23f317a1fb343bb727051174d4e5a) --- scripts/lilypond-book.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2