Hi all,
I have a score with a full-page title page and several scores. Now, everything 
fits on 3 pages, but the page breaks are not ideal and I can afford to use 4 
pages anyway. 

So, I insert a force page break before the last score (which takes ~0.66 pages 
originally) to give it its own page and stretch the scores before that from 
1.33 pages to 2 pages.

Unfortunately, after inserting this forced \pageBreak the scores (except the 
last), which before took only ~1.33 pages, suddently don't even fit on 2 pages 
any more, but need 3 pages!

Attached is an example of this effect. if you leave the second \pageBreak 
commented out, everything fits on 3 pages. As in my real score the page breaks 
are not ideal, I added the \pageBreak before the final score. Simply uncomment 
that \pageBreak and suddently the score uses 5 pages instead of the expected 4 
pages.

I have not found any way to convice lilypond 2.13.10 to use 4 pages... (using 
\paper { page-count = #4 } does not work, since that results in 8 pages, 4 
pages for the scores before the page break and 4 pages for the final score 
after the page break)...

Any ideas how I can get this score on 4 pages, with 
-) 1 Title page
-) 2 pages for the next 4 scores
-) 1 page for the final score

Thanks a lot,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\version "2.13.10"
#(set-default-paper-size "a4")
#(set-global-staff-size 15.5)

\header {
  title = "Serben-Quadrille"
  composer = "Johann Strauss Sohn (1825-1899)"
  subtitle = "Arrangement for String Trio"
}

\paper {
  ragged-right = ##f
  ragged-last = ##f
  ragged-bottom = ##f
  ragged-last-bottom = ##f
}

myTitlePageMarkup = \markup \column {
  "Here comes a nice titlepage (full page)..."
}
\paper {
  bookTitleMarkup = \myTitlePageMarkup
}

sc = \score {
  <<
  \new Staff \relative c'' { \repeat unfold 15 {c''4 c,,,, c'' c}}
  \new Staff \relative c'' { \repeat unfold 15 {c4 c c c}}
  \new Staff \relative c'' { \repeat unfold 15 {c4 c c c}}
>> \header { piece = "Test"} 
}


% The bookTitleMarkup should be on its own page, so we need to insert a page break
\pageBreak
\score { \sc }
\score { \sc }
\score { \sc }
\score { \sc }
% Without the following page break, the music fits on two pages, where the first
% four scores take ~1.33 pages, the final score takes ~0.66 pages.
% If I want to force a page break before the final score (should be one one page
% by itself), the first four scores suddenly take 3 (!!!!) pages instead of 
% the expected two pages...
% Just insert the following page break and the whole score will increase from 
% 3 pages to 5 instead of 4:

% \pageBreak

\score {
  <<
  \new Staff \relative c'' { \repeat unfold 40 {c4 c c c}}
  \new Staff \relative c'' { \repeat unfold 40 {c4 c c c}}
  \new Staff \relative c'' { \repeat unfold 40 {c4 c c c}}
>> \header { piece = "Test"} 
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to