Hi again,
The attached file contains two almost identical scores (just the lenght of 
them varies) without any special settings. However, the vertical layout of 
both scores with identical settings is radically different:
-) The first, 6-measure score is placed on 6 (!!!) pages, with one measure per 
page. Due to RemoveEmptyStaffContext, some pages contain only one system
with two staves, stretched VERY, VERY wide.
-) Strangely, the second, 16-measure score is normally stretched, with 2-4 
systems per page, resulting in only 5 pages for this score...

Is this yet another problem in the vertical layout code?

Cheers,
Reinhold

PS: The PDF output of the file can be found at:
http://www.fam.tuwien.ac.at/~reinhold/LilyPond/VerticalStretching_TwoScoresDifferent.pdf

-- 
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], 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.11"

#(set-default-paper-size "a5")
#(set-global-staff-size 15)

\layout {
  \context { \RemoveEmptyStaffContext  }
}

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

% This score is placed on 6 (!!!) pages, with one measure per page.
% Due to RemoveEmptyStaffContext, some pages contain only one system
% with two staves, stretched VERY, VERY wide.
\score {
  \new StaffGroup <<
    \new Staff { \repeat unfold 6 { g'4 g' g' g' \pageBreak} }
    \new Staff { \repeat unfold 6 { g'4 g' g' g' \break } }
    \new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
    \new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
    \new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
    \new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*4 }
    \new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*4 }
  >>
}


% Strangely, this score is normally stretched, with 2-4 systems per page...
\score {
  \new StaffGroup <<
    \new Staff { \repeat unfold 16 { g'4 g' g' g' \break} }
    \new Staff { \repeat unfold 16 { g'4 g' g' g' \break } }
    \new Staff { \repeat unfold 14 { g'4 g' g' g' \break } s1*2 }
    \new Staff { \repeat unfold 14 { g'4 g' g' g' \break } s1*2 }
    \new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*12 }
    \new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*14 }
    \new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*14 }
  >>
}
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to