Hi Graeme,
> how do I get oddHeaderMarkup to access a variable which is in a bookpart
Put the variable in the bookpart…?
\bookpart {
\header {
instrument = "Violin I"
}
\paper {
oddHeaderMarkup = \markup {
\column {
\fill-line {
\smallCaps \fromproperty #'header:instrument
}
" "
}
}
evenHeaderMarkup = \oddHeaderMarkup
}
\score {
\new StaffGroup \keepWithTag #'vnp \Imusic
\layout {
\compressFullBarRests
\context {
\Score
\override MultiMeasureRest.expand-limit = #2
}
\context {
\Staff \override InstrumentName #'stencil = ##f
}
}
}
}
\bookpart {
}
Hope this helps!
Kieren.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user