Hello Michael,
If I could extent that to the scope of the current typesetted score, it might
do what I want.
Here I do not understand how this can help you.
What is a big deal to access (to "read") upper header in your case?
I want to read the score-header on a level - the footer - that is the
"global" bookpart-level.
So I want score-header-fields to appear in the footer. In the following
snippet the piece-field is not readable in the footerMarkup. My question
is, how can I read the score level piece-header?
Best regards,
Jan-Peter
\version "2.12.3"
\paper {
oddFooterMarkup = \markup { \fill-line {
\concat { \fromproperty #'header:composer ", " \bold
\fromproperty #'header:title ", " \fromproperty #'header:piece }
\fromproperty #'page:page-number-string
}
}
evenFooterMarkup = \markup { \fill-line {
\fromproperty #'page:page-number-string
\concat { \fromproperty #'header:composer ", " \bold
\fromproperty #'header:title ", " \fromproperty #'header:piece }
}
}
}
\bookpart {
\header {
title = "title"
composer = "composer"
piece = "*"
}
\score {
\relative c' {
c d e f
}
\header {
piece = "first"
}
}
\score {
\relative c' {
c d e f
}
\header {
piece = "second"
}
}
}
On 01.11.2010 04:22, Michael Roy wrote:
Hello Jan-Peter,
I wish to set several scores in one bookpart, because sometimes there should be
more than one score on a page.
That is, you will have one bookpart header and score headers with
different piece fields.
So my question should be, how can I access header fields in a distant/different
scope.
I found one snippet: http://lsr.dsi.unimi.it/LSR/Item?id=467
Well, this snippet allows to get properties from upper level header on
the markup level.
which allows \fromproperty in arbitrary markups.
Ok.
If I could extent that to the scope of the current typesetted score, it might
do what I want.
Here I do not understand how this can help you.
What is a big deal to access (to "read") upper header in your case?
Best regards,
Michael.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user