Re: Instrument line in header block - first piece only?
Hi Eluze, 2012/2/17 -Eluze elu...@gmail.com: LilyPond's standard headers/footers seem not to cover the possibilities of the snippet mentioned - should this become the standard? the current default is that you can catch the bookHeader-variables with page-headers/footers but not from the scoreHeader. In many cases you can wrap \bookpart around a score to solve the problem as shown in my pervious posts. The snippet by Gildas demonstrates another method. But you're right, it would be a nice feature to get the variables from the scoreHeader. As a possibility, not as default. And I see a problem: If there is more than one score on a page, which scoreHeader should be used? The last one?, all (printing the specified variables into a line or column)? How to define default-page-headers/footers? I'm not sure about this. Regards, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Hi Eluze, 2012/2/13 -Eluze elu...@gmail.com: harm6 wrote: seems I don't catch your point. May I ask you to provide an example? hi Harm here is an example for this request that just appeared on the French list: http://lilypond-french-users.1298960.n2.nabble.com/Insertion-des-titres-des-pieces-dans-l-en-tete-td7278793.html#a7281916 Eluze I learned from Xavier: Je n'avais pas les yeux en face des trous I read it in the NR and you explained it, but I didn't understand. :( To illustrate it: This works: \version 2.15.29 \paper { scoreTitleMarkup = ##f bookTitleMarkup = ##f oddHeaderMarkup = \markup \fill-line { \fromproperty #'header:composer } evenHeaderMarkup = \markup \fill-line { \fromproperty #'header:composer } } \header { composer = composer } \score { \new Staff \relative c' { \repeat unfold 4 { c1 \pageBreak } } } this not: \version 2.15.29 \paper { scoreTitleMarkup = ##f bookTitleMarkup = ##f oddHeaderMarkup = \markup \fill-line { \fromproperty #'header:composer } evenHeaderMarkup = \markup \fill-line { \fromproperty #'header:composer } } \score { \new Staff \relative c' { \repeat unfold 4 { c1 \pageBreak } } \header { composer = composer } } I tried a lot to make it work, but without success. Last I intended to adapt LSR-snippet http://lsr.dsi.unimi.it/LSR/Item?id=368 created by Nicolas, but I read that Gildas from the french list did already. See: http://lilypond-french-users.1298960.n2.nabble.com/Insertion-des-titres-des-pieces-dans-l-en-tete-td7278793.html Cordialement, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
hi again harm6 wrote: I learned from Xavier: Je n'avais pas les yeux en face des trous I read it in the NR and you explained it, but I didn't understand. :( don't shed tears! that's how it works with cognitive processes - you only know later that you have learned something. if you had known before you wouldn't have learned. but I'm concerned about the situation: LilyPond's standard headers/footers seem not to cover the possibilities of the snippet mentioned - should this become the standard? thanks for further opinions! Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p9829.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
harm6 wrote: seems I don't catch your point. May I ask you to provide an example? hi Harm here is an example for this request that just appeared on the French list: http://lilypond-french-users.1298960.n2.nabble.com/Insertion-des-titres-des-pieces-dans-l-en-tete-td7278793.html#a7281916 Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33318059.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
harm6 wrote: I'm not sure to understand: The default is explained in NR 3.2.1 How to create custom-titles etc in NR 3.2.2 I don't think that there is any need to change something. hi Harm my experience is that using instrument in oddFooterMarkup always shows the instrument defined in the books' header and not that of the score. can this be achieved? Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33305343.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Hi Eluze, 2012/2/11 -Eluze elu...@gmail.com: harm6 wrote: I'm not sure to understand: The default is explained in NR 3.2.1 How to create custom-titles etc in NR 3.2.2 I don't think that there is any need to change something. hi Harm my experience is that using instrument in oddFooterMarkup always shows the instrument defined in the books' header and not that of the score. can this be achieved? Eluze playing around with titling-init.ly I come up with : \version 2.14.2 myBookTitle = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \huge \larger \bold \fill-line { \larger \fromproperty #'header:myTitle } %\fill-line { % \large \smaller \bold % \larger \fromproperty #'header:subtitle %} %\fill-line { % \smaller \bold % \fromproperty #'header:subsubtitle %} \fill-line { \fromproperty #'header:poet % { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:myComposer } %\fill-line { % \fromproperty #'header:meter % \fromproperty #'header:arranger %} } } } myScoreTitle = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \huge \larger \bold \fill-line { \larger \fromproperty #'header:title } \fill-line { \large \smaller \bold \larger \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet % { \large \bold \fromproperty #'header:instrument } \null %\fromproperty #'header:composer } % \fill-line { % \fromproperty #'header:meter % \fromproperty #'header:arranger % } \fill-line { \fromproperty #'header:piece \fromproperty #'header:opus } } } } music = \relative c' { \repeat unfold 10 { c1 \break } \pageBreak \repeat unfold 10 { c1 \break } \pageBreak \repeat unfold 10 { c1 \break } \bar |. } \paper { ragged-right = ##f ragged-last-bottom = ##f scoreTitleMarkup = \myScoreTitle bookTitleMarkup = \myBookTitle oddHeaderMarkup = \markup \fill-line { %% force the header to take some space, otherwise the %% page layout becomes a complete mess. % Next line is commented to show the instrument % on the first page. %\on-the-fly #not-first-page \fromproperty #'header:instrument \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string } } \book { \header { myTitle = Das Wohltemperierte Klavier myComposer = J.S. Bach } % FUGA I \bookpart { \markup \vspace #5 \header { title = FUGA I piece = a 4 instrument = First Instrument } \score { \new Staff \music } } % Fuga II \bookpart { \header { title = FUGA II piece = a 4 instrument = Second Instrument myTitle = myComposer = } \score { \new Staff \music } } % Fuga III \bookpart { \header { title = FUGA III piece = a 4 instrument = Third Instrument myTitle = myComposer = } \score { \new Staff \music } } } Note: I commented the currently not needed lines in order to facilitate making other custom-output. Personally I use the bookTitleMarkup only to create a custom-tagline. For the title page I use sth like Nicolas demonstrated in http://lsr.dsi.unimi.it/LSR/Item?id=368 HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
harm6 wrote: playing around with titling-init.ly I come up with : … hi Harm this will also not reflect the score's header on the page header line specially when you have more than one score per bookpart! thanks Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33306696.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Hi Eluze, 2012/2/11 -Eluze elu...@gmail.com: harm6 wrote: playing around with titling-init.ly I come up with : … hi Harm this will also not reflect the score's header on the page header line specially when you have more than one score per bookpart! thanks Eluze seems I don't catch your point. May I ask you to provide an example? Best, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
harm6 wrote: regarding titling-init.ly I think it's not a bug but intended behaviour. Of course scoreTitleMarkup can be redefined: … thanks for pointing me to this! having reread the doc I must admit it is clearly and unmistakably documented to be limited to top-level \header text fields - I wonder why!? should a enhancement request for this be added? (as I said above I never used this feature before) Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33298901.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Hi Eluze, 2012/2/10 -Eluze elu...@gmail.com: harm6 wrote: regarding titling-init.ly I think it's not a bug but intended behaviour. Of course scoreTitleMarkup can be redefined: … thanks for pointing me to this! having reread the doc I must admit it is clearly and unmistakably documented to be limited to top-level \header text fields - I wonder why!? should a enhancement request for this be added? (as I said above I never used this feature before) Eluze I'm not sure to understand: The default is explained in NR 3.2.1 How to create custom-titles etc in NR 3.2.2 I don't think that there is any need to change something. Best, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Brent Annable wrote: Hi everyone, Quick question for the group: I'm producing part books for all the fugues in the well-tempered clavier, and I don't like the fact that the instrument name is printed every time there's a new heading: \book { \header { title = Das Wohltemperierte Clavier composer = J.S. Bach instrument = Superius } \score { \new Staff { \relative c' {c1} } \header { title = FUGA I piece = a 4} } \score { \new Staff { \relative c' {c1} } \header { title = FUGA II piece = a 4} } \paper { print-all-headers = ##t } } I'd like to use the instrument line because I do want the name of the instrument at the top of each page, just not below the heading for each fugue. And I'd like to use either the title or subtitle line for the heading of each fugue, and the piece line for indicating the number of parts. If I switch on all the headers, I get the instrument name everywhere, and if I turn them off, I get no titles or subtitles. Can anybody help? you can customize the layout with http://lilypond.org/doc/v2.15/Documentation/notation-big-page#custom-layout-for-headers-and-footers hth Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33293442.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Ok, so it looks like I need to include print-all-headers = ##t, and then suppress the 'instrument' line in all subsequent scores. Can someone direct me to a document describing how to do that? My search didn't reveal anything. Brent. On 9 February 2012 15:07, -Eluze elu...@gmail.com wrote: Brent Annable wrote: Hi everyone, Quick question for the group: I'm producing part books for all the fugues in the well-tempered clavier, and I don't like the fact that the instrument name is printed every time there's a new heading: \book { \header { title = Das Wohltemperierte Clavier composer = J.S. Bach instrument = Superius } \score { \new Staff { \relative c' {c1} } \header { title = FUGA I piece = a 4} } \score { \new Staff { \relative c' {c1} } \header { title = FUGA II piece = a 4} } \paper { print-all-headers = ##t } } I'd like to use the instrument line because I do want the name of the instrument at the top of each page, just not below the heading for each fugue. And I'd like to use either the title or subtitle line for the heading of each fugue, and the piece line for indicating the number of parts. If I switch on all the headers, I get the instrument name everywhere, and if I turn them off, I get no titles or subtitles. Can anybody help? you can customize the layout with http://lilypond.org/doc/v2.15/Documentation/notation-big-page#custom-layout-for-headers-and-footers hth Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33293442.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Actually, now that I think about it, the default 'instrument' line behaviour in the header seems a little odd to me. Does the instrument really need to be so demonstratively announced between movements or pieces if they are all part of the same document? Brent. On 9 February 2012 15:22, Brent Annable brentanna...@gmail.com wrote: Ok, so it looks like I need to include print-all-headers = ##t, and then suppress the 'instrument' line in all subsequent scores. Can someone direct me to a document describing how to do that? My search didn't reveal anything. Brent. On 9 February 2012 15:07, -Eluze elu...@gmail.com wrote: Brent Annable wrote: Hi everyone, Quick question for the group: I'm producing part books for all the fugues in the well-tempered clavier, and I don't like the fact that the instrument name is printed every time there's a new heading: \book { \header { title = Das Wohltemperierte Clavier composer = J.S. Bach instrument = Superius } \score { \new Staff { \relative c' {c1} } \header { title = FUGA I piece = a 4} } \score { \new Staff { \relative c' {c1} } \header { title = FUGA II piece = a 4} } \paper { print-all-headers = ##t } } I'd like to use the instrument line because I do want the name of the instrument at the top of each page, just not below the heading for each fugue. And I'd like to use either the title or subtitle line for the heading of each fugue, and the piece line for indicating the number of parts. If I switch on all the headers, I get the instrument name everywhere, and if I turn them off, I get no titles or subtitles. Can anybody help? you can customize the layout with http://lilypond.org/doc/v2.15/Documentation/notation-big-page#custom-layout-for-headers-and-footers hth Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33293442.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Brent Annable brentanna...@gmail.com writes: Actually, now that I think about it, the default 'instrument' line behaviour in the header seems a little odd to me. Does the instrument really need to be so demonstratively announced between movements or pieces if they are all part of the same document? It is common for wind instrument players to have to switch instruments between parts. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
On 9 February 2012 15:22, Brent Annable brentanna...@gmail.com wrote: Ok, so it looks like I need to include print-all-headers = ##t, and then suppress the 'instrument' line in all subsequent scores. Can someone direct me to a document describing how to do that? My search didn't reveal anything. Hi, Add instrument = in the header of FUGA II. Should be OK for all subsequent scores. Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Message: 5 Date: Thu, 09 Feb 2012 16:05:18 +0100 From: David Kastrup d...@gnu.org To: lilypond-user@gnu.org Subject: Re: Instrument line in header block - first piece only? Message-ID: 874nv0nj2p@fencepost.gnu.org Content-Type: text/plain Brent Annable brentanna...@gmail.com writes: Actually, now that I think about it, the default 'instrument' line behaviour in the header seems a little odd to me. Does the instrument really need to be so demonstratively announced between movements or pieces if they are all part of the same document? It is common for wind instrument players to have to switch instruments between parts. -- David Kastrup It might be somewhat common for wind musicians to switch instruments during the course of a multi-movement work, or even during a movement, but it is not common to notate which instrument to play (apart from the top of the page) UNTIL one has to change. I'm a horn player, so I'm not switching physical instruments except by my own choice (and I don't), but we frequently have different transpositions (which correspond to switching horns or crooks back in the old days) within a work, and I can assure you that the normal practice is to *assume* horn in F, until told otherwise. Clarinet players switch actual instruments more than anyone I'd say, and I don't play clarinet, so I can't speak to that, but I have a feeling that they likewise assume B-flat until they are told something else. Tim Reeves ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Tim Reeves wrote: Clarinet players switch actual instruments more than anyone I'd say, and I don't play clarinet, so I can't speak to that, but I have a feeling that they likewise assume B-flat until they are told something else. Band players can. Orchestral players really can't make assumptions. A survey of orchestral clarinet parts done a decade or so ago showed a distribution of about 40% clarinet in A, 40% clarinet in Bb, and 20% clarinet in C, with a smattering of other oddities. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Brent Annable wrote: Ok, so it looks like I need to include print-all-headers = ##t, and then suppress the 'instrument' line in all subsequent scores. that will probably not be sufficient… Can someone direct me to a document describing how to do that? My search didn't reveal anything. I couldn't find a detailed documentation. I never have used this before, but I stumbled over customizing the oddFooterMarkup when trying to include score variables (book variables seem to work). if I don't succeed soon I'll file a report/question on the bug list. Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33297275.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument line in header block - first piece only?
Hi, 2012/2/10 -Eluze elu...@gmail.com: Brent Annable wrote: Ok, so it looks like I need to include print-all-headers = ##t, and then suppress the 'instrument' line in all subsequent scores. that will probably not be sufficient… Can someone direct me to a document describing how to do that? My search didn't reveal anything. I couldn't find a detailed documentation. I never have used this before, but I stumbled over customizing the oddFooterMarkup when trying to include score variables (book variables seem to work). if I don't succeed soon I'll file a report/question on the bug list. Eluze -- View this message in context: http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33297275.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user regarding titling-init.ly I think it's not a bug but intended behaviour. Of course scoreTitleMarkup can be redefined: \version 2.14.2 myScoreTitle = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \huge \larger \bold \fill-line { \larger \fromproperty #'header:title } \fill-line { \large \smaller \bold \larger \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet % { \large \bold \fromproperty #'header:instrument } \null %\fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } \fill-line { \fromproperty #'header:piece \fromproperty #'header:opus } } } } music = \relative c' { \repeat unfold 10 { c1 \break } \pageBreak \repeat unfold 10 { c1 \break } \bar |. } \paper { ragged-right = ##f ragged-last-bottom = ##f scoreTitleMarkup = \myScoreTitle } \book { \header { title = Das Wohltemperierte Clavier composer = J.S. Bach instrument = Superius } % quick and dirty hack \markup \vspace #3 \score { \new Staff \music \header { title = FUGA I piece = a 4 } } \pageBreak \score { \new Staff \music \header { title = FUGA II piece = a 4 } } } See also: http://lists.gnu.org/archive/html/lilypond-user/2012-02/msg00184.html HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user