I don't see that. layout/midi are different output media. paper has
some overarching information (like base file names). It also contains
some information pertinent to typesetting a whole document as opposed to
single scores, like paper dimensions. Things like staff sizes are a
whole lot murkier, and developers have been scratching their head about
making things like layout-set-staff-size work in a sensible manner, if
at all.
Relatedly, there's still
https://gitlab.com/lilypond/lilypond/-/issues/1885: A
system-system-spacing set in a \layout block actually is being heeded,
but ...
\version "2.24"
\score {
{
\repeat unfold 500 c'4
}
\layout {
system-system-spacing.padding = 20
}
}
\score {
{
\repeat unfold 200 c'4
}
\layout {
system-system-spacing.padding = 0
}
}
... see page 3. So the setting seems to be used on a per-page basis, but
conceptually it should work per-score I think.
Lukas