Re: header in movements

2016-11-27 Thread Thomas Morley
2016-11-27 20:39 GMT+01:00 Mark Stephen Mrotek :
> Abraham,
>
>
>
> Thank you for your response.
>
> Yet the “Title” and “Composer” do not migrate.
>
> Should each movement has its own header?



Hi Mark,

From NR 3.2.1 Creating titles headers and footers:
A Score Title is derived from fields set at the top of the input file,
modified by fields set in the \book block, further modified by fields
set in the \bookpart block and finally modified by fields set in the
\score block. The resulting values are used to print the Score Title
for that score. Note, though, that only piece and opus fields are
printed by default in Score Titles unless the \paper variable,
print-all-headers, is set to #t.

In your case this means the 'opus' given at toplevel will be printed
for each score. This would be the same with 'piece', if set. But not
for the other possible header-variables, unless print-all-headers is
set #t.

You could do:

(1) clear the relevant fields

\header { opus = "Hob. XVI :27" }
\score { { c''1 }  }
\pageBreak
\score { { d''1 } \header { opus = " " } }
\pageBreak
\score { { e''1 } \header { opus = " " } }

(2) only set 'opus' in first score
\header { title = "TITLE" }
\score { { c''1 } \header { opus = "Hob. XVI :27" }  }
\pageBreak
\score { { d''1 } }
\pageBreak
\score { { e''1 } }

(3) redefine bookTitleMarkup and scoreTitleMarkup (ofcourse the
eplanations in NR will not match anymore)
\paper {
  bookTitleMarkup =
  \markup {
\column {
  \bookTitleMarkup
  \fill-line {
\null
\fromproperty #'header:opus
  }
}
  }
  scoreTitleMarkup =
  \markup {
\column {
  \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
  \fill-line {
\fromproperty #'header:piece
\null
  }
}
  }
}

\header { title = "TITLE" opus = "Hob. XVI :27" }
\score { { c''1 } }
\pageBreak
\score { { d''1 } }
\pageBreak
\score { { e''1 } }


HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: header in movements

2016-11-27 Thread Mark Stephen Mrotek
Abraham,

 

Thank you for your response. 

Yet the “Title” and “Composer” do not migrate.

Should each movement has its own header?

 

Mark

 

From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
tisimst
Sent: Sunday, November 27, 2016 10:23 AM
To: lilypond-user@gnu.org
Subject: Re: header in movements

 

That's because you put it in the global header block. By default, any
properties set there will trickle down to any other header unless set to
another value(including ##f).

HTH,
Abraham

 

On Sun, Nov 27, 2016 at 10:56 AM Mark Stephen Mrotek [via Lilypond] <[hidden
email]> wrote:

Hello,

 

When using the construction

 

\version "2.18.2"

\header {

  opus = "Hob. XVI :27"

}

\include "XVI27-1.ly"

\pageBreak

\include "XVI27-2.ly"

\pageBreak

\include "XVI27-3.ly"

 

The opus appears not only before the first movement but also with the second
and third.

 

Thank you for your kind attention.

 

Mark

 

 


___ 
lilypond-user mailing list 
[hidden email] <http://user/SendEmail.jtp?type=node&node=197139&i=0>  
https://lists.gnu.org/mailman/listinfo/lilypond-user



  _  

If you reply to this email, your message will be added to the discussion
below:

http://lilypond.1069038.n5.nabble.com/header-in-movements-tp197139.html 

To start a new topic under User, email [hidden email] 
To unsubscribe from Lilypond, click here.
 
<http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_
viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Bas
icNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.templat
e.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant
_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML


 

  _  

View this message in context: Re: header in movements
<http://lilypond.1069038.n5.nabble.com/header-in-movements-tp197139p197141.h
tml> 
Sent from the User mailing list archive
<http://lilypond.1069038.n5.nabble.com/User-f3.html>  at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: header in movements

2016-11-27 Thread tisimst
That's because you put it in the global header block. By default, any
properties set there will trickle down to any other header unless set to
another value(including ##f).

HTH,
Abraham

On Sun, Nov 27, 2016 at 10:56 AM Mark Stephen Mrotek [via Lilypond] <
ml-node+s1069038n197139...@n5.nabble.com> wrote:

> Hello,
>
>
>
> When using the construction
>
>
>
> \version "2.18.2"
>
> \header {
>
>   opus = "Hob. XVI :27"
>
> }
>
> \include "XVI27-1.ly"
>
> \pageBreak
>
> \include "XVI27-2.ly"
>
> \pageBreak
>
> \include "XVI27-3.ly"
>
>
>
> The opus appears not only before the first movement but also with the
> second and third.
>
>
>
> Thank you for your kind attention.
>
>
>
> Mark
>
>
>
>
>
> ___
> lilypond-user mailing list
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/header-in-movements-tp197139.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> To unsubscribe from Lilypond, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/header-in-movements-tp197139p197141.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user