lilypond-user
[Top][All Lists]
Advanced

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

Re: Create a bookpart with a scheme function


From: Freddy Ouellette
Subject: Re: Create a bookpart with a scheme function
Date: Fri, 18 Nov 2016 08:47:21 +0000

Still a little confused about how to dynamically create a bookpart:

\version "2.18.2"

freddy = \bookpart {
  \score {
    \new Staff {
      c d e f g
    }
  }
}

full_scores = \book {
  
}

#(ly:book-add-bookpart! full_scores freddy)

\full_scores


this doesn't seem to work. 

C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:242:5: In procedure ly:book-process in _expression_ (process-procedure book paper ...):

C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:242:5: Wrong type (expecting real number): #<undefined>


Freddy 

reply via email to

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