From 5e99929c012165f46cf93843ad160a067081ba55 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. --- 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 56790819cd..e851a40662 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -1476,9 +1476,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