ly:page-turn-breaking also adds a page turn to very short sheet music

2014-10-08 Thread ArnoldTheresius
>I'm not top posting. 
Compiling with 2.18.2 on Win7/64 (another user tested it on Mac) I get two
pages,
the first page with the first score block (one line of sheet music),
and the second score block (two lines of sheet music) on the second page.

With 2.18.0 on Win7/64 (and 2.16.2 on Mac OX X 10.4.11) the result
was as expected on one page only. It easily fits on one page.

Example:

\version "2.18.0"

\paper {
  page-breaking = #ly:page-turn-breaking
}

\header{
  title = "odd-pageturnbreaking.ly"
}

I = {
  \repeat unfold 16 g'4
  \bar "||"
}

II = {
  \repeat unfold 52 g'4
  \bar "||"
}

\score {
\new Staff {
  \I
}
}

\score {
\new Staff {
  \II
}
}

%% END of example

ArnoldTheresius



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ly-page-turn-breaking-also-adds-a-page-turn-to-very-short-sheet-music-tp167310.html
Sent from the Bugs mailing list archive at Nabble.com.

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: ly:page-turn-breaking also adds a page turn to very short sheet music

2014-10-17 Thread Ralph Palmer
On Wed, Oct 8, 2014 at 5:12 AM, ArnoldTheresius 
wrote:

> >I'm not top posting.
> Compiling with 2.18.2 on Win7/64 (another user tested it on Mac) I get two
> pages,
> the first page with the first score block (one line of sheet music),
> and the second score block (two lines of sheet music) on the second page.
>
> With 2.18.0 on Win7/64 (and 2.16.2 on Mac OX X 10.4.11) the result
> was as expected on one page only. It easily fits on one page.
>
> Example:
>
> \version "2.18.0"
>
> \paper {
>   page-breaking = #ly:page-turn-breaking
> }
>
> \header{
>   title = "odd-pageturnbreaking.ly"
> }
>
> I = {
>   \repeat unfold 16 g'4
>   \bar "||"
> }
>
> II = {
>   \repeat unfold 52 g'4
>   \bar "||"
> }
>
> \score {
> \new Staff {
>   \I
> }
> }
>
> \score {
> \new Staff {
>   \II
> }
> }
>
> %% END of example
>
> ArnoldTheresius
>

Thanks, ArnoldTheresius. Submitted as Issue 4166 :
https://code.google.com/p/lilypond/issues/detail?id=4166

Ralph
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond