+2005-07-16 Graham Percival <gperlist@shaw.ca>
+
+ * ly/titling-init.ly: add printallheaders option.
+
+ * Documentation/user/global.itely: document printallheaders.
+
2005-07-16 Han-Wen Nienhuys <hanwen@xs4all.nl>
* lily/system.cc (do_derived_mark): don't mark from object_alist_
Amount of space between consecutive titles (e.g., the title of the
book and the title of a piece).
+@item printallheaders
+Setting this to #t will print all headers for each \score in a
+\book. Normally only the piece and opus \headers are printed.
+
@item systemSeparatorMarkup
This contains a markup object, which will be inserted between
systems. This is often used for orchestral scores.
}
}
+#(define (print-all-headers layout props arg)
+ (if (eq? (ly:output-def-lookup layout 'printallheaders) #t)
+ (interpret-markup layout props arg)
+ empty-stencil))
+
bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
}
}
-scoreTitleMarkup = \markup {
+scoreTitleMarkup = \markup { \column {
+ \on-the-fly #print-all-headers \bookTitleMarkup
\fill-line {
\fromproperty #'header:piece
\fromproperty #'header:opus
}
}
+}
#(define (first-page layout props arg)
(if (= (chain-assoc-get 'page:page-number props -1)