]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scripts/lilypond.py (ly_paper_to_latexpaper): Add newline before
authormatsb <matsb>
Mon, 2 Feb 2004 10:14:15 +0000 (10:14 +0000)
committermatsb <matsb>
Mon, 2 Feb 2004 10:14:15 +0000 (10:14 +0000)
\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
scripts/lilypond.py

index a04fcb0f12fa06214a312b91e3fa051e7e91fe32..0e12fe0879e7f358fc46d95731f67bf6e551f39a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-02  Mats Bengtsson  <mabe@drongo.s3.kth.se>
+
+       * 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  <janneke@gnu.org>
 
        * scripts/filter-lilypond-book.py: Further development.
index 96dd3b4cd0c241df4e189a8cdb3ac99d9443a9d6..b2b3373484b2fe01e2c145b16a49b11001d0be35 100644 (file)
@@ -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