Printing the title in top of each pages in a single score is quite easy.
For exemple, this works well :
%%%%%%%%%%%%
\version "2.11.40"
\paper {
oddHeaderMarkup = \markup \fill-line
{ \on-the-fly #print-page-number-check-first \fromproperty
#'header:title }
evenHeaderMarkup = \markup \fill-line{ \fromproperty #'header:title }
}
\header {
title = "The title"
}
\score {
\new Staff {\repeat unfold 3 {\repeat unfold 8 { c'1 \break}
\pageBreak } }
}
%%%%%%%%%%%%%
But now, if i try to make it work for several scores (with differents
titles), i have to change the above code like that :
%%%%%%%%%%%%
\version "2.11.40"
\paper {
printallheaders=##t
oddHeaderMarkup = \markup \fill-line
{ \on-the-fly #print-page-number-check-first \fromproperty
#'header:title }
evenHeaderMarkup = \markup \fill-line{ \fromproperty #'header:title }
}
\score {
\new Staff { \repeat unfold 3 {\repeat unfold 8 { c'1 \break}
\pageBreak } }
\header {
title = "The title"
}
}
%%%%%%%%%%%
But it doen't work anymore. (only in the first page of course)
What is the problem here ?
Gilles
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user