lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can headers and footers access the current \fromproperty #'header:pi


From: Pierre-Luc Gauthier
Subject: Re: Can headers and footers access the current \fromproperty #'header:piece
Date: Wed, 7 Aug 2019 14:43:00 -0400

Thanks Timothy,

It sure does the trick !

Though,
I was using \pageBreak as an example and I don't actually want them.
I've adapted the MWE to reflect more accurately the situation.
The point is for the musician to know where he is in the opera on any
page he happens to open the book on. As a lousy example, on page 2,
the musician does not know where he is in the production and has to
open the book where a scene starts or to refer to the TOC of course.

As a follow-up question : do you know if \bookparts can *not* produce
\pagebreaks?
I suppose it's part of what they were made for…

Le mer. 7 août 2019 à 13:51, Timothy Lanfear <address@hidden> a écrit :
>
> On 07/08/2019 15:29, Pierre-Luc Gauthier wrote:
> > Hello there,
> >
> > I trying to add the *current* piece in the header and/or footer of,
> > say, every page in a score.
> >
> > As mentioned here :
> >
> > http://lilypond.org/doc/v2.19/Documentation/notation/creating-titles-headers-and-footers#default-layout-of-headers-and-footers
> >
> > "These markup variables can only access text fields from top-level
> > \header blocks (which apply to all scores in the book)."
> >
> > Is there a way to get around this limitation?
> >
> > Thanks for any pointers
> > Here is a MWE
> > --
> > Pierre-Luc Gauthier
>
> Structure the book with bookparts. As a bonus, a bookpart starts a new
> page so you don't need pageBreak.
>
>
> --
> Timothy Lanfear, Bristol, UK.
>


-- 
Pierre-Luc Gauthier

Attachment: dynamicHeaderFooter-03.ly
Description: Text Data

Attachment: dynamicHeaderFooter-03.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]