> Le 3 oct. 2023 à 16:59, Werner LEMBERG <w...@gnu.org> a écrit :
>
>
>>> Do we have a list of variables that only have an effect if set in
>>> `\paper` (and not in `\layout`)?
>>
>> What do you want this for?
>
> I'm working on issue
> https://gitlab.com/lilypond/lilypond/-/issues/1392 (but not for the IR
> but as an appendix for the NR) and I would like to avoid writing the
> sentence
>
> `foo` may also be specified in `\layout` blocks
>
> again and again. I could imagine that the opposite, namely
>
> `foo` has no effect if added to a `\layout` block
>
> would be better.
Honestly, I think the best would be to work towards reducing or completely
eliminating the \paper/\layout distinction. For me at least, it's
incomprehensible. I mean, generally speaking, \layout affects only music while
\paper affects paper, page layout and music, but the implementation is muddled
enough that I cannot even tell if this rule is absolute or not. (For example, I
don't remember off the top what we do with \markup \score.)