Re: Lyrics provoke "Moment is not increasing" complaint

2008-10-27 Thread Mats Bengtsson

This is weird and looks like a bug to me, so I forward it to bug-lilypond.
However, you may want to reorganize your score along the lines of
the email "Re: Adding a staff in the middle of a piece" I sent on 
lilypond-user some minutes ago, which shows how to switch a stave back 
and forth between behaving like a french stave and a normal stave, but 
setting the remove-empty property.


   /Mats

Roman Stawski wrote:

I want to have one group of parallel staves following another
sequentially. The constitution of the two groups is quite different.
(In the real piece I'm using \removeEmptyStaffContext to hide the
first group when I finish with it.) A cut-down example is:

- - - -[START]
\version "2.11.60"
\layout { ragged-right = ##t }

example = {
  <<
\new Staff { \new Voice = "a" \relative c'' { a1 } }
%\new Lyrics { \lyricsto "a" \lyricmode { Doo } }
  >>
  <<
\new Staff { \new Voice = "c" \relative c' { c1 } }
\new Lyrics { \lyricsto "c" \lyricmode { dah } }
  >>
}

\score { \example }
- - - -[END]

This snippet works, but when I uncomment the Lyrics line, I get

- - - -
...
Interpreting music...
programming error: Moment is not increasing. Aborting interpretation.
continuing, cross fingers
test.ly:11:18: warning: cannot find Voice 'c'

\new Lyrics {
  \lyricsto "c" \lyricmode { dah } }

...
- - - -

and the second group is corrupted in the display.

The only reference to this problem that I could find was a posting
from Morten Lemvigh last year:
http://thread.gmane.org/gmane.comp.gnu.lilypond.general/32409/focus=32412
He solves the problem by changing the lyrics, which isn't an option in
my case.

So what am I dong wrong? Does anyone have any ideas how to solve/get
around it?

Thanks

Roman





___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user
  



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Lyrics provoke "Moment is not increasing" complaint

2008-10-29 Thread Valentin Villenave
2008/10/28 Mats Bengtsson <[EMAIL PROTECTED]>:
> This is weird and looks like a bug to me, so I forward it to bug-lilypond.

Added as http://code.google.com/p/lilypond/issues/detail?id=702

LilyPond is not good at printing non-synchronized contexts, we've
already noticed that.

Cheers,
Valentin


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Lyrics provoke "Moment is not increasing" complaint

2008-10-29 Thread Valentin Villenave
2008/10/29 Mats Bengtsson <[EMAIL PROTECTED]>:
> I don't see anything that's non-synchronized here and I don't really agree
> on the
> title of the bug report. What the example shows is simply a use of
> simultaneous
> and sequential combinations of contexts.

Yes, this is what I mean by non-synchronized (i.e. there is no
top-level << >> construct).
I've changed the issue title.

Cheers,
Valentin


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Lyrics provoke "Moment is not increasing" complaint

2008-10-29 Thread Mats Bengtsson
I don't see anything that's non-synchronized here and I don't really 
agree on the
title of the bug report. What the example shows is simply a use of 
simultaneous

and sequential combinations of contexts.
{<< ... ... >> << ... ... >> }
which is well-defined and nothing strange. The syntax is clearly relevant.
It seems that it's the \lyricsto that causes the problem, but again I 
don't see any

reason why it shouldn't work as expected.

   /Mats

Valentin Villenave wrote:

2008/10/28 Mats Bengtsson <[EMAIL PROTECTED]>:
  

This is weird and looks like a bug to me, so I forward it to bug-lilypond.



Added as http://code.google.com/p/lilypond/issues/detail?id=702

LilyPond is not good at printing non-synchronized contexts, we've
already noticed that.

Cheers,
Valentin
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond