On Wed 11 Dec 2019 at 15:16:04 (+0100), David Kastrup wrote: > "Peter Gentry" <peter.gen...@sunscales.myzen.co.uk> writes: > > It seems that the issue reared its head as a result of my "erroneous" > > assumption that > > \book { > > Page layout stuff for front page > > } > > \bookpart { > > Header & music > > } > > \bookpart { > > Header & music > > } > > > > Was a way to go. > > > > Although this has worked over the years it doesn't today. > > A toplevel \bookpart belongs to the "default" book, and a toplevel \book > introduces a non-default book. > > Can someone with access to older versions check whether this was > different at some not-too-distant point of time in history? If it was, > something intended to be a "refactoring" might have been an actual > change. I am not ruling that out, but should be surprised if it were > so.
I just installed 2.12.3 and ran the attached. It gives the same documents as 2.19.83 although their appearance is obviously different wrt scaling of objects. 2.10.33 didn't understand \bookpart. Cheers, David.
\version "2.18.2" #(set-default-paper-size "a6") fluteI = { \repeat unfold 20 { c''8 e'' g'' e'' } \bar "|." } fluteII = { \repeat unfold 20 { c'4 g' } \bar "|." } \book { \header { instrument = "Flute 2 layout 12" } \score { \new Staff \fluteII \layout { #(layout-set-staff-size 12) } } } #(set-global-staff-size 17) \bookpart { \header { instrument = "Full Score global 17" } \score { \new StaffGroup << \new Staff \with { instrumentName = "Fl. 1" } \fluteI \new Staff \with { instrumentName = "Fl. 2" } \fluteII >> } } \bookpart { \header { instrument = "Flute 1 layout in mod 24" } \score { \new Staff \fluteI \layout { #(layout-set-absolute-staff-size-in-module (current-module) (* 24 (eval 'pt (current-module)))) } } } \bookpart { \header { instrument = "Flute 2 layout 8" } \score { \new Staff \fluteII \layout { #(layout-set-staff-size 8) } } }