On Wed, Jan 14, 2015 at 2:45 AM, Pierre Perol-Schneider <
[email protected]> wrote:
> Hi Chris,
>
> Do you mean that you modifed titling-init.ly ?
> If yes, I don't think it is a good idea...
>
> How about :
>
> \version "2.18.2"
>
> \paper {
> oddHeaderMarkup = \markup\on-the-fly #not-part-first-page
> \fill-line {
> \null
> \fromproperty #'header:title
> \on-the-fly \print-page-number-check-first
> \fromproperty #'page:page-number-string
> }
> evenHeaderMarkup = \markup\on-the-fly #not-part-first-page
> \fill-line {
> \on-the-fly \print-page-number-check-first
> \fromproperty #'page:page-number-string
> \fromproperty #'header:title
> \null
> }
> }
>
> \header {
> title = "My Title"
> }
>
> {
> \repeat unfold 50 { s1*4 \break }
> \bar "|."
> }
>
> HTH,
> Pierre
>
> 2015-01-14 0:33 GMT+01:00 Chris Trahan <[email protected]>:
>
>> I figured it out. I went into the ly/titling-init.ly file and changed
>> this
>> line
>>
>> \on-the-fly #not-part-first-page \fromproperty #'header:instrument
>>
>> to this line
>>
>> \on-the-fly #not-part-first-page \fromproperty #'header:title
>>
>> in both the oddHeaderMarkup variable and the evenHeaderMarkup variable.
>>
>> Chris
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/Page-Headers-tp170410p170429.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
>>
>
>
Pierre,
Yes, that is what I modified. I know that I will need to modify it again
when there is an upgrade to a new version.l I am a computer programmer by
trade.
I will always want the title printed starting on page 2 so I didn't want to
have to put the code that you specified in each score that I do.
I do not need the instrument name printed. I could have also assigned the
title to the instrument variable but preferred to have the title
automatically printed in the header.
Thanks,
Chris
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user