Hi Tina,
Am 05.10.25 um 22:04 schrieb Tina Petzel:
Hello Lukas,
#(set-global-staff-size size)
you need to do `$(set-global-staff-size size)`. `$` will be evaluated while the
expression is parsed, while `#` is parsed to a scheme token that may be
evaluated at a later point. So what is happening here is that the `(set-
global-staff-size size)` gets evaluated only after the parser is in the next
book definition, thus affecting the wrong book.
Probably to be considered a bug, for while it is in align with how Lilypond
works the result is not what one would expect.
Thanks much!
This is fascinating: With $, the situation seems reversed. Now I get the
(naively) expected behaviour if I add the top-level score as a \book,
but the sizes are messed up if I only add it as a \bookpart.
The whole staff-size-setting-business seems full of surprised. For
instance, I don't really understand why the setting of the global staff
size happens at top level rather than inside a \paper block ...
Lukas