Hello David,

Many thanks for explaining that. Makes complete sense now!


mattfong

On Sat, Mar 12, 2022 at 9:35 PM David Wright <lily...@lionunicorn.co.uk>
wrote:

> On Sat 12 Mar 2022 at 20:14:41 (-0800), Matthew Fong wrote:
> > Hello Lilypond friends,
> >
> > I am working on a polyphone piece of music which employs a ChoirStaff,
> and
> > proceeded to make a local layout block in the score a global one.
> >
> > The include to make a *global* layout block works just fine, but if I
> > eliminate the layout block in the score block itself, the music no longer
> > compiles. Please see the comment starting with % [Help].
> >
> > Any ideas why this might be? Other pieces where I have only a single
> voice,
> > I rely only upon the global block from an include, and compules fine
> > without a layout block in the score block.
>
> A \score on its own will produce a PDF.
> Such a \score, with a \midi added, will produce just a MIDI.
> A \score with both \midi and \layout will produce a PDF and a MIDI.
>
> Your score has a \midi and so, without a \layout, no PDF would be produced.
>
> Cheers,
> David.
>

Reply via email to