On Sunday, 19 March 2000, Paulo da Silva writes:

> I thought I understood the basics to start
> writing serious things with Lilypond, but
> I'm getting some problems I can't rid of.

You found some bugs, I think.

> I'm using the version 1.3.36.
> 
> 1. I'm getting a few warnings whose reason I don't
> understand;

Ok, here are two of them:

   Sonatina.ly:23:110: warning: Junking request: `Text_script_req':
                   sol2(^" "^1^\textscript "Moderato (1/4=88)" "Large"_" "_\textscript 
"dolce" "italic" \grace {\slurdown si8^3
                                                                                       
                                        (} \slurboth la8 sol la si |

The exact location that provoces the error is at the linebreak (should
we document that?).  Which means that the request for the 3 is not being
accepted.  It turns out, that there is no Text_engraver in the GraceContext
by default.  This will be partly fixed in 37 -- partly, because there's
also a bug in the placement location for the 3.


   Sonatina.ly:33:11: warning: unterminated slur:
                   <sol2 si(
                            _3_4> <fas2 do'_1_5> |
   warning: unbound spanner `Slur'

   warning: can't find both ends of slur


This is a cascade of errors, of course.  You fail to end two slurs.

   Sonatina.ly:38:11: warning: Junking request: `Bar_req':
          \bar "|.";
                    
Harmless.  You ask for an ending bar twice, you (can) get only one
(of those requests honoured).

> 2. TREBLE MEASURE 2: The \stemdown \slurup seems not
> to work. I'm getting the stemdown and SLURDOWN!

That's a bug.  In generic-property.scm, the order of 'verticalDirection'
(aka \stemup) and 'slurVerticalDirection' is wrong, giving 
'verticalDirection' the highest precedence.  Will be fixed in 37.

> 3. TREBLE MEASURE 3 GRACE NOTE: I need the stemup with
> slurdown. I'm getting stemdown and slurdown!
> 
> 4. BASS MEASURE 1-2: The slur should go from the
> 1st measure si to the 2nd measure si, but it ENDS
> before the 2nd measure!!!

This one is tricky.  You define a Staff context, but never ask for
a Voice context:

> LH = \notes \sequential {
>       \relative  do' \sequential {
>               <sol2 si(_3_4> <fas2 do'_1_5> |
>               <sol4 )si> r4 r2 |

>       \context Staff = bass <
>               \LH

When you do '<', two new voices are created.  So, when you use (),
you are asking for cross-voice slurs, which Lily can't do.  Add:

        \context Voice \relative  do' \sequential {
                <sol2 si(_3_4> <fas2 do'_1_5> |

Greetings,

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Reply via email to