Hi Andrew, If I follow you correctly, then this would work:
Put these vars in directly in your lilypond file: composer = "Bob Smith" catalog-number = “001” In default.ily, create this function: #(define-markup-command (substitute layout props) () (interpret-markup layout props (markup (string-append composer "." catalog-number)) )) Then use it in default.ily as follows: \on-the-fly #not-part-first-page \line { Klang Büro \substitute } I am sure you can think of a better function name than I can. Obviously you can format the substitute string as per your desire. Andrew
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user