bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1203 in lilypond: Page_turn_engraver refuses to break at R1*12, cr


From: lilypond
Subject: Issue 1203 in lilypond: Page_turn_engraver refuses to break at R1*12, crams notes and produces blank page in the middle of score.
Date: Mon, 09 Aug 2010 13:01:05 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1203 by brownian.box: Page_turn_engraver refuses to break at R1*12, crams notes and produces blank page in the middle of score.
http://code.google.com/p/lilypond/issues/detail?id=1203

By Reinhold Kainhofer,
http://lists.gnu.org/archive/html/bug-lilypond/2010-08/msg00071.html :

(it's not a regression, 2.12.3 does the same)

%---------------8< ------------------

[...]

Attached is an example. The page turn between page 3 and 4 should ideally be placed at the R1*12, but lilypond refuses to do so, instead breaking at the R1*5 and leaving one page empty (so 5 pages are used!).

[...]

\version "2.13.29"

\header {
  title = "Dummy score"
  instrument = "Violin 1"
  copyright = "No © 2010 by anyone"
}
\paper {
  ragged-last-bottom = ##f
  % Allow line-breaks only at long rests!
  #(define page-breaking ly:page-turn-breaking)
}
\paper {
  bookTitleMarkup = \markup {
    Dummy title page
      }
}
\layout {
  \context { \Staff
    \consists "Page_turn_engraver"
  }
}

% page break here, because the bookTitleMarkup will be a whole page:
\pageBreak

% The score: LilyPond refuses to add a page turn at the R1*12 and instead
%            gives a warning and crams together all notes!!!
\relative c'' {
  \compressFullBarRests
  \repeat unfold 30 { c4 c, c'' c, }\bar"||"
  R1*5 |
  \repeat unfold 120 { c4 c, c'' c, }\bar"||"
  R1*12 \bar"||"
  \repeat unfold 100 { c4 c, c'' c, } \bar"|."
}
%---------------8< ------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]