lilypond-user
[Top][All Lists]

## Re: Reorganizing the contents of the \paper block

 From: Trevor Bača Subject: Re: Reorganizing the contents of the \paper block Date: Wed, 7 Feb 2007 21:04:56 -0600

On 2/7/07, Cameron Horsburgh <address@hidden> wrote:

> [Sidenote: if this proposal to collapse \paper and \alyout does make
> sense, then we'll have to decide what to do with the fact that there's
> a second, equally important use for \layout blocks, which is the
> overriding of context attributes ... which is a wholly separate thing
> from making the different settings talked about in this thread, as
> described in 9.2.6. This sort of thing:
>
> \layout {
>  ...
>  \context {
>    \Staff
>
>    \set fontSize = #-2
>    \override Stem #'thickness = #4.0
>    \remove "Time_signature_engraver"
>  }
> }
>

\layout has another function, although it may be a special case of one
of its other uses. If a \score block contains a \midi block the
\layout block is needed if PDF output is also desired.

Ah right. I remember that coming up a while back.

OK, duly noted. If there's support for the layout + paper -> settings
proposal, then we'll have to find a way to tell lily to produce a PDF
even when there's no \settings block. Sounds like a good candidate for
a commandline switch.

--
Trevor Bača