bug-lilypond
[Top][All Lists]
Advanced

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

Re: Quoting music in ly:book-process


From: Nicolas Sceaux
Subject: Re: Quoting music in ly:book-process
Date: Wed, 26 Sep 2012 07:44:27 +0200

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




reply via email to

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