Re: Unaccepted #t
Hi Tom, Am 09.12.2013 14:05, schrieb Tom van der Hoeven: > \override NonMusicalPaperColumn #'line-break-permission = #'force > \override NonMusicalPaperColumn #'page-break-permission = #'allow > > this solves the problem, but is is strange that > > \override NonMusicalPaperColumn #'page-break-permission = ##f > > is accepted #f is often just interpreted as nil or null. So \override NonMusicalPaperColumn #'page-break-permission = ##f would be something like NonMusicalPaperColumn.page-break-permission = null in another language. HTH, Jan-Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unaccepted #t
Urs, thank for you quick reply. I am translating pieces with clef alto to clef treble First step by just copy the original. At checking time I want to be in sink with the original Second step clef treble and free format, because the spacing of Lilypond is the best. For free format you need changes at 2 places. The trick with mbreak = {} %\break and give line break permission. I want to handle them both with a boolean in the masterfile freeformat = #t or freeformat = #f So this is the underlying problem Tom Noeck, \override NonMusicalPaperColumn #'line-break-permission = #'force \override NonMusicalPaperColumn #'page-break-permission = #'allow this solves the problem, but is is strange that \override NonMusicalPaperColumn #'page-break-permission = ##f is accepted Tom Urs Liska schreef op 9-12-2013 13:30: Am 09.12.2013 13:00, schrieb Tom van der Hoeven: The following snippet gives an error because ##t Why Tom \version "2.16.2" freeformat = #f \score{ \new Staff << \relative c'{ c d e f a g a g a g a g a g a g a g a g a g a g a g a g a g a g a \break a b f} >> \layout { \context { \Score \override NonMusicalPaperColumn #'line-break-permission = ##t \override NonMusicalPaperColumn #'page-break-permission = ##f } } %\midi{} } In order for this to be compiled without errors you'd have to write freeformat = ##f #f is the Scheme representation of "false" and you need the second # to tell LilyPond that there is going to be a Scheme expression. But you don't use that value in your code, so what is it for? HTH Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unaccepted #t
> both the line- and the page-break-permissions expect one of these key > words: 'allow or 'force and not boolean values (#t or #f). PS: Btw, this documented here: http://lilypond.org/doc/v2.16/Documentation/internals/nonmusicalpapercolumn PPS: If you put this in the layout block, they are valid for each point in time and thus line breaks or page breaks are allowed or forced at each barline. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unaccepted #t
Am 09.12.2013 13:00, schrieb Tom van der Hoeven: > The following snippet gives an error because ##t > Why > \override NonMusicalPaperColumn #'line-break-permission = ##t > \override NonMusicalPaperColumn #'page-break-permission = ##f Hi Tom, both the line- and the page-break-permissions expect one of these key words: 'allow or 'force and not boolean values (#t or #f). For example: \override NonMusicalPaperColumn #'line-break-permission = #'force \override NonMusicalPaperColumn #'page-break-permission = #'allow HTH, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unaccepted #t
Am 09.12.2013 13:00, schrieb Tom van der Hoeven: The following snippet gives an error because ##t Why Tom \version "2.16.2" freeformat = #f \score{ \new Staff << \relative c'{ c d e f a g a g a g a g a g a g a g a g a g a g a g a g a g a g a \break a b f} >> \layout { \context { \Score \override NonMusicalPaperColumn #'line-break-permission = ##t \override NonMusicalPaperColumn #'page-break-permission = ##f } } %\midi{} } In order for this to be compiled without errors you'd have to write freeformat = ##f #f is the Scheme representation of "false" and you need the second # to tell LilyPond that there is going to be a Scheme expression. But you don't use that value in your code, so what is it for? HTH Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Unaccepted #t
The following snippet gives an error because ##t Why Tom \version "2.16.2" freeformat = #f \score{ \new Staff << \relative c'{ c d e f a g a g a g a g a g a g a g a g a g a g a g a g a g a g a \break a b f} >> \layout { \context { \Score \override NonMusicalPaperColumn #'line-break-permission = ##t \override NonMusicalPaperColumn #'page-break-permission = ##f } } %\midi{} } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user