lilypond-user
[Top][All Lists]
Advanced

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

Re: Unaccepted #t


From: Tom van der Hoeven
Subject: Re: Unaccepted #t
Date: Mon, 09 Dec 2013 14:05:31 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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