From ef9e7199deb7f3b91dd05606ea67bfc869ed8376 Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Mon, 2 Feb 2004 10:14:15 +0000 Subject: [PATCH] * scripts/lilypond.py (ly_paper_to_latexpaper): Add newline before \thispagestyle{lastpage} to avoid that it's printed on the second last page when there's only a single score line on the last page. (The page breaking mechanism in TeX played some ugly tricks to us.) --- ChangeLog | 7 +++++++ scripts/lilypond.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a04fcb0f12..0e12fe0879 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-02-02 Mats Bengtsson + + * scripts/lilypond.py (ly_paper_to_latexpaper): Add newline before + \thispagestyle{lastpage} to avoid that it's printed on the second + last page when there's only a single score line on the last page. + (The page breaking mechanism in TeX played some ugly tricks to us.) + 2004-02-01 Jan Nieuwenhuizen * scripts/filter-lilypond-book.py: Further development. diff --git a/scripts/lilypond.py b/scripts/lilypond.py index 96dd3b4cd0..b2b3373484 100644 --- a/scripts/lilypond.py +++ b/scripts/lilypond.py @@ -482,7 +482,7 @@ lily output file in TFILES after that, and return the Latex file constructed. ' first = 0 - s = s + '\\thispagestyle{lastpage}\n' + s = s + '\n\\thispagestyle{lastpage}\n' s = s + '\\end{document}' return s -- 2.39.5