So this time a "less minimal" example with a book and two bookparts.
The book title, which I would love to have on the first page, will never
get engraved.
In the meantime I experimented a bit more and found out that \on-the-fly
#first-page works very well in the page headers/footers, but doesn't work
in the bookTitleMarkup.
Jakub
--- snip
\version "2.17.24"
\paper {
bookTitleMarkup = \markup {
\column {
\on-the-fly #first-page \fromproperty #'header:title
\fromproperty #'header:subtitle
}
}
}
\book {
\header {
title = "Example book"
}
\bookpart {
\header {
subtitle = "part 1"
}
\score { \relative c' { a } }
}
\bookpart {
\header {
subtitle = "part 2"
}
\score { \relative c' { b } }
}
}
--- /snip
2013/11/9 Eluze <[email protected]>
> Jakub Pavlík wrote
> > Hi,
> >
> > I would like to have the full book title on the first page of the first
> > bookpart only and an abbreviated book title on the first pages of the
> > subsequent bookparts.
>
> unfortunately your code does not involve any \book or \bookpart where we
> could see what you mean...
>
> Eluze
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/on-the-fly-first-page-not-working-in-bookTitleMarkup-tp153577p153608.html
> Sent from the User mailing list archive at Nabble.com.
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user