On 12/21/19, 10:06 AM, "kupirijo" <kupirijo.wikiped...@gmail.com> wrote:
I see. But then I need to copy the notes twice, one for the book with layout and for the book with the midi. No, you just need to put the notes in a variable. myMusic = { ... } \score { \myMusic \layout{} } \score { \myMusic \midi{} } HTH, Carl kupirijo Στις 21/12/19 6:55 pm, ο Robin Bannister έγραψε: > kupirijo wrote: >> Thanks. I am aware of this method but this is not exactly what I want. I >> need to output one .pdf file, not many. > > The \book blocks I suggested will not produce .pdf files. > They do not contain \layout sections. > > To output the .pdf file you need a single additional \book block with > \paper, \score and \layout sections (and no \midi section). > > > Cheers, > Robin > >