Timothy, Thank you for your response. Your time spent writing out a solution is greatly appreciate. I would like to have something that is consistent with the manual.
Mark -----Original Message----- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On Behalf Of Timothy Lanfear Sent: Sunday, April 30, 2017 1:16 AM To: lilypond-user@gnu.org Subject: Re: opus conflict On 29/04/17 23:34, Mark Stephen Mrotek wrote: > > Hello, > > In my \book \header I have fields of title, composer, and opus. > > The manual (2.18) states "The values of the fields filter down this > hierarchy, with the values set higher in the hierarchy persisting > unless they are over-ridden by a value set lower in the hierarchy." > This is understand. So for the subsequent scores I insert title = ##f > and composer = ##f. The title and composer fields in the scores are > overridden. > > Now the conflict, when I insert opus = ##f in the score(s) the field > is overridden in the \book level (higher?) and is no longer printed > below the "composer." > I find the best way to handle having the opus printed once only on the first piece of a book is to redefine bookTitleMarkup and scoreTitleMarkup, moving the opus field to the bookTitleMarkup \version "2.19.59" % Move the opus markup from the score title to the % book title so it isn't repeated for every score. % Adapted from ly/titling-init.ly bookopus = \paper { bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold \fromproperty #'header:title } \fill-line { \large \bold \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:composer } } \override #'(baseline-skip . 2.0) \column { \null \fill-line { \null \fromproperty #'header:opus } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } scoreTitleMarkup = \markup { \column { \fill-line { \fromproperty #'header:piece \null } } } } \bookopus \book { \header { title="Title" composer="Composer" opus="opus" } \score { c''1 } \score { d''1 } } -- Timothy Lanfear, Bristol, UK. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user