Thank you both for your helpful replies. I now have things working just as I had hoped.
David On Fri, 2024-10-18 at 07:03 -0400, Kieren MacMillan wrote: > Hi David, > > As Xavier points out: > > It's not odd-header-markup but oddHeaderMarkup (same for even). > > I also thought I would just offer this snippet, which shows a > possible structure using bookpart: > > %%% SNIPPET BEGINS > \version "2.24.3" > > > %% GLOBAL PAPER DEFINITIONS > \paper { > oddHeaderMarkup = \markup { \fromproperty #'header:title } > evenHeaderMarkup = \markup { \fromproperty #'header:piece } > } > > > %% MUSIC VARIABLES (can be \include-d from other files!) > > hello = { c''1 } > > goodbye = { \clef bass c,,1 } > > > %% THE SCORE > \book { > > %% BOOKPART FOR FIRST PIECE > \bookpart { > > \header { > title = "Hello (title)" > piece = "Hello (piece)" > } > > \score { > \new Staff \hello > } > } > > %% BOOKPART FOR SECOND PIECE > \bookpart { > > \header { > title = "Goodbye (title)" > piece = "Goodbye (piece)" > } > > \score { > \new Staff \goodbye > } > } > > } > %%% SNIPPET ENDS > > This is the kind of thing I do with my large-scale scores (but > obviously with custom titles!). > > As I said in my last email, if you’re splitting a single score across > multiple pages — as opposed to having individual scores (like my > example above) — then the \bookpart method won’t work for you. In > that case, I would recommend either customizing the titling (to avoid > the piece header appearing on the first page!), or use a custom > header parameter: > > %%% SNIPPET BEGINS > \version "2.24.3" > > > %% GLOBAL PAPER DEFINITIONS > \paper { > oddHeaderMarkup = \markup { \fromproperty #'header:title } > evenHeaderMarkup = \markup { \fromproperty #'header:RH-header } > } > > > %% MUSIC VARIABLES (can be \include-d from other files!) > > hello = { c''1 \pageBreak c''1 } > > > %% THE SCORE > \book { > > %% BOOKPART FOR SPLIT PIECE > \bookpart { > > \header { > title = "Hello (title)" > RH-header = "Goodbye (piece)" > } > > \score { > \new Staff \hello > } > } > > } > %%% SNIPPET ENDS > > Hope that helps! > Kieren. > ______________________________________________ > > My work day may look different than your work day. Please do not feel > obligated to read or respond to this email outside of your normal > working hours. >