Le 26 sept. 2012 à 01:31, Mark Witmer a écrit :

> I can't seem to get quotes/cues working in a score generated with ly:book-
> process. This is my code:
> 
> % Quoted notes should appear in music created with ly:book-process,
> % but they do not
> \version "2.16.0"
> myPaper = \paper {}
> myLayout = \layout {}
> 
> \addQuote "test" {c1 b1 a1}
> 
> #(ly:book-process 
>  (ly:make-book myPaper (make-module) 
>   (ly:make-score #{ 
>    \new Staff {
>      {a1 \quoteDuring "test" {s1 s1} g1 }
>  } #} )) myPaper myLayout "quote-test")
> 
> The two bars with spacer rests remain empty in the output. The problem is the 
> same if I move the \addQuote statement to the inside of the \new Staff {} 
> block.
> 
> Is there a way to work around this? It looks like a bug to me.

You have to "apply" the music functions found in your music before making it a
score.  Use scorify-music instead of ly:make-score.  See scm/lily-library.scm.

Nicolas


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to