[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot eliminate layout block in score block?
From: |
David Wright |
Subject: |
Re: Cannot eliminate layout block in score block? |
Date: |
Sat, 12 Mar 2022 23:35:56 -0600 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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.