On Sun, Jan 27, 2019 at 4:40 AM David Kastrup <d...@gnu.org> wrote:

> layout-set-staff-size does not work properly anyway IIRC.  This is
> probably only one symptom.
>

It may have problems inside \layout { ... } but in this example it's used
in \paper { ... }. It seems to work fine in \paper. In fact
set-global-staff-size simply calls layout-set-staff-size in a \paper
context. (More precisely it calls layout-set-absolute-staff-size-in-module
on a clone of $defaultpaper and then sets $defaultpaper to the clone.)

It seems like there should be a way of setting the staff size in a \book
context. \book { #(set-global-staff-size n) ... } doesn't work at all (and
doesn't warn either; it should probably either work or warn). But \book {
\paper { #(layout-set-staff-size n) } ... } has precisely the same
sizing/positioning effect as top-level #(set-global-staff-size n) on
absolutely everything in my score except the stems of notes produced by
\note-by-number. It is very very close to working perfectly already.
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to