Status: Accepted
Owner: v.villenave
CC: nicolas.sceaux,  joeneeman
Labels: Type-Defect Priority-Medium

New issue 884 by v.villenave: pageBreak resets page-count property
http://code.google.com/p/lilypond/issues/detail?id=884

From Chris Snyder:

"According to LNR 4.1.2, the page-count setting sets "The number of pages
to be used for a score." The presence of a \pageBreak command in the score,
however, causes the score to be split into multiple chunks, each having
page-count number of pages. Effectively, the final page count of the score
is page-count*(number of \pageBreak commands present + 1) rather than just
page-count."

For instance, the following snippet produces a four-pages PDF though
page-count is set to 2:

\version "2.13.6"

\paper {
 page-count = 2
}

\score {
 \new Staff {
  \repeat unfold 50 { c'1 }
  \pageBreak
  \repeat unfold 50 { c'1 }
 }
}

Of course, an easy solution would be to change the documentation of page-count.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to