On 2/1/07, Trevor Bača <[EMAIL PROTECTED]> wrote:
On 2/1/07, Joe Neeman <[EMAIL PROTECTED]> wrote:
> On 2/1/07, Trevor Bača <[EMAIL PROTECTED]> wrote:
> > Hi Joe,
> >
> > This is cool.
> >
> > So setting line-break-permission = ##f should preclude the value of
> > page-break-permission, right? (IOW, saying "don't put line breaks
> > anywhere except where I tell you" should entail "don't put page breaks
> > except where I tell you, too", right?).
>
> It should, but it doesn't (until the next unstable version, anyway).
> This logic is currently handled by the \break, \pageBreak, etc. macros
> but it's a good idea to check it in the backend too.
OK, cool.
> > Question: in the following snippet, setting line-break-permission =
> > ##f clearly has the intended effect: only a single line of music that
> > runs off the page; but commenting out line-break-permission and
> > leaving only page-break-permission = ##f seems to have no effect (ie,
> > still multiple pages of music). What am I missing in setting
> > page-break-permission = ##f?
>
> There's a bug (fixed in my working copy) where in order to forbid
> page-breaks you need to use '(), not ##f.
Ah. Yup. Using #'() works fine. I'll wait to .16 for ##f.
Hi,
##f does indeed work in 2.11.16.
%%% BEGIN %%%
\version "2.11.16"
\new Score \with {
\override NonMusicalPaperColumn #'page-break-permission = ##f
} {
\new Staff {
\repeat unfold 200 {
c'4 c'4 c'4 c'4
}
}
}
%%% END %%%
--
Trevor Bača
[EMAIL PROTECTED]
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user