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

2019-08-09 Thread Pierre-Luc Gauthier
13:51, Timothy Lanfear 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

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

2019-08-07 Thread Timothy Lanfear
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 (

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

2019-08-07 Thread Timothy Lanfear
/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

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

2019-08-07 Thread Timothy Lanfear
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

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

2019-08-07 Thread Pierre-Luc Gauthier
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

Re: headers and footers

2017-06-28 Thread Guy Stalnaker
:-/ And options for formatting that time string: http://strftime.org/ %x = mm/dd/, e.g., 6/28/2017 On 6/28/2017 6:40 PM, Karlin High wrote: % BEGIN LILYPOND CODE \version "2.19.62" tagdate = #(strftime "%m-%d-%Y" (localtime (current-time))) \header { tagline = \markup {

Re: headers and footers

2017-06-28 Thread Guy Stalnaker
An options for formatting that time string: On 6/28/2017 6:40 PM, Karlin High wrote: % BEGIN LILYPOND CODE \version "2.19.62" tagdate = #(strftime "%m-%d-%Y" (localtime (current-time))) \header { tagline = \markup { $(string-append "Made with LilyPond " (lilypond-version) " on ") \tagdate

Re: headers and footers

2017-06-28 Thread Karlin High
On 6/28/2017 11:13 AM, William Zeitler wrote: > > * On all pages, in the lower right: "Revision: today's-MM/DD/YY" What I use: % BEGIN LILYPOND CODE \version "2.19.62" tagdate = #(strftime "%m-%d-%Y" (localtime (current-time))) \header { tagline = \markup { $(string-append "Made with

Re: headers and footers

2017-06-28 Thread Jacques Menu Muzhic
Hello William, For your second point, you can start with the following « oddFooterMarkup » and adapt it to your needs. JM \version "2.19.40" #(define (fileName) (let* ((args (program-arguments)) (args-len (length args))) (list-ref args (- args-len 1 #(define fileSize

headers and footers

2017-06-28 Thread William Zeitler
I'm still new to Lilypond. I have RTFMed the documentation, but where to begin to do the following eludes me: * After the first page, I want a header like "MyTitle - Page X of Y" * On all pages, in the lower right: "Revision: today's-MM/DD/YY" How would I do that? Many thanks, oh wise ones!