Jan Nieuwenhuizen | 1 Feb 2004 11:37
Picon
Gravatar

Re: 2.1.16 crashes

Erik Sandberg writes:

> I reduced the score to this:
>
> \version "2.1.16"
> \score {
>   \notes <<
>   \context Voice=A \notes {a}
>   \lyricsto A \context Lyrics \lyrics { | a }
>   >>
> }
>
> which gives the following crash:

Thanks, fixed in CVS.

Note however, that you'd probably want to write:

   \lyricsto A \context LyricsVoice \lyrics { | a }

you bind LyricsVoice to a melodical Voice.

Jan.

--

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org
Juergen Reuter | 1 Feb 2004 23:44
Picon
Favicon

lyricsto


lily/new-lyric-combine-music-iterator.cc:

> void
> New_lyric_combine_music_iterator::find_thread ()
> {
>   if (!music_context_)
>     {
>       SCM voice_name = get_music ()->get_mus_property ("associated-context");
>  
>       if (gh_string_p (voice_name))
> 	{
> 	  Translator_group *t = report_to ();
> 	  while (t && t->daddy_trans_)
> 	    t = t->daddy_trans_;
>
> 	  String name = ly_scm2string (voice_name);
> 	  Translator_group *voice = find_context_below (t, "Voice", name);

  	                                                    ^^^^^

Lyrics may appear not only in conjunction with Voice, but also in TabVoice 
(I think), VaticanaVoice, GregorianTranscriptionVoice and probably any 
other derived ("\alias ...") Voice context.  The effect of the above bug is, 
that lyrics do not print ("warning: Cannot find Voice") in any voice 
context other than Voice, when \lyricsto is applied.

Greetings,
Juergen
(Continue reading)

Han-Wen Nienhuys | 2 Feb 2004 10:25
Picon
Picon
Favicon

lyricsto

reuter <at> ipd.uka.de writes:
> 
> Lyrics may appear not only in conjunction with Voice, but also in TabVoice 
> (I think), VaticanaVoice, GregorianTranscriptionVoice and probably any 
> other derived ("\alias ...") Voice context.  The effect of the above bug is, 
> that lyrics do not print ("warning: Cannot find Voice") in any voice 
> context other than Voice, when \lyricsto is applied.

fixed.

--

-- 

 Han-Wen Nienhuys   |   hanwen <at> xs4all.nl   |   http://www.xs4all.nl/~hanwen 
Mats Bengtsson | 2 Feb 2004 11:23
Picon
Picon
Favicon

Re: Tagline on first page instead of second

The page breaking mechanism in TeX is very intricate, so even though we
have tried to put the instruction to use the tagline as a footer at the
very end of the document, it's sometimes interpreted before TeX finally
decides to use an extra page for the last line. I have included the
following  fix in the CVS. I hope it works also in your examples.

--- scripts/lilypond.py~ 2004-01-29 12:17:06.000000000 +0100
+++ scripts/lilypond.py 2004-02-02 11:12:10.000000000 +0100
 <at>  <at>  -482,7 +482,7  <at>  <at> 
                 first = 0

-       s = s + '\\thispagestyle{lastpage}\n'
+       s = s + '\n\\thispagestyle{lastpage}\n'
         s = s + '\\end{document}'

         return s

   /Mats

Bertalan Fodor wrote:
> It seems to me that when there is only one staff on the second page, the
> tagline is printed on the first.
> 
> Bert
> 
> 
> 
> _______________________________________________
> Bug-lilypond mailing list
> Bug-lilypond <at> gnu.org
(Continue reading)

Han-Wen Nienhuys | 2 Feb 2004 11:38
Picon
Picon
Favicon

limitation with ignoreMelismata?

erik.sandberg.9195 <at> student.uu.se writes:
> Hi,
> 
> I'm afraid that the combination ignoreMelismata + melisma[End] is still not 
> enough. Consider the following:

Try this one:

	\header
	{
	texidoc ="

	By inserting  <at> code{\\skip} statements into lyric lines, one can put less lyric syllables to a melody. 

	"
	}

	% shorthand for Skip Lyric
	sl = \notes { \skip 4 }

	\version "2.1.16"
	\score {
	  <<
	  \context Voice = "A"  \notes  {c4 c c c}
	  \lyricsto "A" \context LyricsVoice=A \lyrics { foo __ \sl \sl bar }
	  \lyricsto "A" \context LyricsVoice=B \lyrics { foo -- \sl baz bar }
	  \lyricsto "A" \context LyricsVoice=C \lyrics { foo -- baz -- baaz bar }
	  >>
	}

(Continue reading)

Erik Sandberg | 2 Feb 2004 12:02
Picon
Picon
Favicon

barcheck bug in 2.1.16

Hi,
The following produces an incorrect barcheck warning during MIDI output. Very 
small random changes in the \notes section will spoil the warning, e.g. 
replacing "a4.~a4 a8" by "a4. a".

Using 2.1.16, Pedro's package.

/erik

\version "2.1.16"
\score {
  \addlyrics 
    \notes {
      \time 6/8 a8 a8 a a4( a8) | a4.~a4 a8 |
      a8( a8.) a16 a8( a a) | a2. | a8. a16 a8 a4 a8 |
      a a a a4. | a8 
    }
    \context Lyrics \lyrics {
      a a a a a a a a a a a a a a a a a a a | a
    }

  \paper{}
  \midi {\tempo 4=100}
}

/tmp$ lilypond foo
lilypond (GNU LilyPond) 2.1.16
Running usr...
Now processing: `foo.ly'
Parsing...Interpreting music...[7]
(Continue reading)

Erik Sandberg | 2 Feb 2004 12:14
Picon
Picon
Favicon

Re: limitation with ignoreMelismata?

On Monday 02 February 2004 11.38, Han-Wen Nienhuys wrote:
> erik.sandberg.9195 <at> student.uu.se writes:
> > Hi,
> >
> > I'm afraid that the combination ignoreMelismata + melisma[End] is still
> > not enough. Consider the following:
>
> Try this one:
>
>
> 	\header
> 	{
> 	texidoc ="
>
> 	By inserting  <at> code{\\skip} statements into lyric lines, one can put less
> lyric syllables to a melody.
>
> 	"
> 	}
>
>
> 	% shorthand for Skip Lyric
> 	sl = \notes { \skip 4 }
>
> 	\version "2.1.16"
> 	\score {
> 	  <<
> 	  \context Voice = "A"  \notes  {c4 c c c}
> 	  \lyricsto "A" \context LyricsVoice=A \lyrics { foo __ \sl \sl bar }
> 	  \lyricsto "A" \context LyricsVoice=B \lyrics { foo -- \sl baz bar }
(Continue reading)

Han-Wen Nienhuys | 2 Feb 2004 12:21
Picon
Picon
Favicon

Re: limitation with ignoreMelismata?

erik.sandberg.9195 <at> student.uu.se writes:
> > 	}
> 
> Thanks, but it gives a warning:
> /tmp/foo.ly:9:53: warning: unbound spanner `LyricHyphen':
> \lyricsto "A" \context LyricsVoice=B \lyrics { foo4 -
>                                                      -  \sl baz bar }
> 
> and then I get the attached output. The __ is still not output, and I want the 
> -- on voice B to go all the way to "baz".
> 

upgrade to CVS please 

--

-- 

 Han-Wen Nienhuys   |   hanwen <at> xs4all.nl   |   http://www.xs4all.nl/~hanwen 
Han-Wen Nienhuys | 2 Feb 2004 12:23
Picon
Picon
Favicon

lyricsto bug

erik.sandberg.9195 <at> student.uu.se writes:
> The following two scores generate different output using 2.1.16.
> 
> \version "2.1.16"
> 
> songA = \notes \relative c' { a2. r8. }
> songB = \notes \relative c'' { a16 a8 a }
> 
> \score {
>   \notes <<
>   \context Voice=A \notes {\songA \songB }
>   \lyricsto A \context Lyrics \lyrics { a a a a }
>   >>
> }

Lyrics is deprecated. I'm still mulling over the best way to remove it
from LilyPond.

--

-- 
 Han-Wen Nienhuys   |   hanwen <at> xs4all.nl   |   http://www.xs4all.nl/~hanwen 

Gmane