I'm afraid I cannot provide any perfect solution. The problem, as has been
discussed several times on the mailing list, is that you have run into a
limitation of
LilyPond, namely that you can only have one \mark at each bar line.
Therefore
it's not possible to specify one \mark to appear at the and of a line
and another one
to appear at the same (musically) bar line after the line break. One
possible workaround
is to attach one of the markups to a note instead, for example the one
before the line break.
Another possibility might be to add a spacer note after the final bar
line and use
\stopStaff and \startStaff to hide the corresponding staff lines. The
result will be
that the final score line is shortened a bit, which might look well anyway.
/Mats
Luc wrote:
Hi Mats
I followed your advice writing all the parts in one score and now I
run into problems with naming the movements ("first", "second") at the
left of a new line (like "piece=" in the \header would do) and marking
the end of a movement with "fine", "dal segno" or glyphs. These marks
should be aligned with the line or the bar, not with the note.
Obviously the 2 adjacent \mark \markup create problems.
Thanks for a good solution!
Luc
\version "2.8.6"
{
\mark \markup "first "
\repeat unfold 12 { e' 1 }
\once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
\once \override Score.RehearsalMark #'self-alignment-X = #right
\mark \markup "Fine"
\break
\mark \markup { "second" }
\repeat unfold 18 { g' 1 }
}
\markup {
\wordwrap-string #"Where is it? The *Fine* disappeared and the
*second* which should be on the next line moved to the line before!"
}
----- Original Message ----- From: "Mats Bengtsson"
<[EMAIL PROTECTED]>
To: "luc" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, September 02, 2006 9:40 PM
Subject: Re: continuous numbering over several pieces
Quoting luc <[EMAIL PROTECTED]>:
Hi
Actually (Windows XP, Version "2.8.6"), bar numbering restarts at 1
with every
new piece in a book.
Is it possible to prevent it from being reset automatically?
(of course I don't wanna use \set Score.currentBarNumber = #...)
Not that I know of. It might be possible to implement Scheme
functions that you can use at the end of each score to store the
current bar number in some global variable and at the beginning
of the next score to set currentbarNumber.
Isn't it possible to write all the pieces in the same score block?
/Mats
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user