Attached patch can somehow fix this, but it may be an ugly work around.
Perhaps, in most of cases, it might not be so much troublesome.
But since headers are copied each time, its behavior gets odd sometimes.
Also to engrave titles, headers must be written in top level or in book block,
not in score block.
Any good ideas to cope with this?
\version "2.7.5"
\header{
title = \markup{ \huge "title" }
opus = "opus1" % globaly defined
}
\header {
subtitle = "subtitle" % OK
}
\book{
\header{
composer = "composer" % NG, ignored
}
\header{
instrument = "horn" % OK, the last one is valid
}
\score{
\new Staff { c'1 \pageBreak d'1 }
\header{
title = "New title" % NG, ignored
piece = "1st mov" % OK
opus = "Op.1" % OK, override "opus1"
}
}
\score{
\new Staff \relative { c'4 c c c \pageBreak d d d d }
\header{
breakbefore = ##t
piece = "2nd mov" % OK
instrument = "clarinet" % NG, ignored
%% and here global "opus1" appears.
}
}
}
On Sat, 6 Aug 2005 19:14:32 +0900
Ishizaki <address@hidden> wrote:
Hello , just for info.
I noticed today that I embuged current CVS tree by my patch.
The following sample does not work as it should, the header in 2nd score block
overrides header in 1st score block , so you will see two "2nd movement" instead
of "1st movement" then "2nd movement".
I've not yet found how to fix this, sorry.
------------------------------------------------------------------------
| Yoshinobu Ishizaki |
| http://www2c.biglobe.ne.jp/~isizaki/ |
------------------------------------------------------------------------
\version "2.7.0"
\header {
title = "title"
subtitle = "subtitle"
opus = "opus No."
composer = "composer"
dedication = "dedication"
arranger = "arranger"
instrument = "instrm"
}
\book{
\score {
\new Staff <<
\new Voice \relative c' {
c d e f
}
>>
\header {
piece = "1st movement"
}
\layout{}
}
%%
\score {
\new Staff <<
\new Voice \relative c' {
g a b c
}
>>
\header {
piece = "2nd Movement"
opus = ""
}
\layout{}
}
}
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel
------------------------------------------------------------------------
| Yoshinobu Ishizaki |
| http://www2c.biglobe.ne.jp/~isizaki/ |
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel