lilypond-user
[Top][All Lists]
Advanced

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

Re: Problems with using \bookpart


From: Timothy Lanfear
Subject: Re: Problems with using \bookpart
Date: Wed, 21 Dec 2016 14:48:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 21/12/16 10:16, David Sumbler wrote:
Thanks for that solution.  It is helpful to know that I can get things
to work in this way.  However, I do wish I understood why this works
and my version doesn't - bearing in mind that my version does work
until I introduce /bookpart, yet the error messages produced by
Lilypond don't obviously relate to that.

What is also curious is this.  I understand that introducing Scheme
code with '#' or '$' affects at what point the code is run.  Your
version works in both cases.  My version works in neither case,
although only the '$' version produces the error messages.  Using the
'#' version there are no errors apparently, but still no output file is
produced.

Molto misterioso!

David


After a little experimentation, if appears that a default paper definition is not being created, which can fixed by adding an explicit \paper statement in testprint.ily.

\version "2.19.48"

\language "english"

printScore  = ##t
printMvtOne = ##t
printMvtTwo = ##t

$(if
  (and printScore
   (or printMvtOne printMvtTwo))
  #{ \include "testprint.ily" #} )

%%%%%%%%%%%%%%%%%%%

\version "2.19.48"

\book {
  \bookpart {
    \paper {}
    \score { c'' }
  }
}


--
Timothy Lanfear, Bristol, UK.




reply via email to

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