On Wednesday, 25 November 1998, Adrian Mariano writes:


> I really dislike the way that \relative doesn't penetrate into these
> structures.  I don't want to say \relative repeatedly for each

Yes, me too.  Somebody fix this! 
:-)

> fragment.  Why are the extra brackets required for the body of the
> \repeat?  

Uhm, to avoid shift/reduce problems with bison.  It's ugly, we'll have
to think of something.

> When compiling, I got 
> 
> make[1]: Entering directory `/home/team/adrian/src/lilypond-1.1.8/intl'
> ../stepmake/stepmake/c-targets.make:7: warning: overriding commands for targe
    + t `out/config.h'
> ../stepmake/stepmake/c-targets.make:4: warning: ignoring old commands for tar
    + get `out/config.h'
> to install libintl type 'make lib; make install-lib'
> true
> make[1]: Leaving directory `/home/team/adrian/src/lilypond-1.1.8/intl'
> make[1]: Entering directory `/home/team/adrian/src/lilypond-1.1.8/stepmake'
> make[1]: *** No rule to make target `all'.  Stop.
> make[1]: Leaving directory `/home/team/adrian/src/lilypond-1.1.8/stepmake'
> make: *** [all] Error 2

Strange, is there a stepmake/GNUmakefile, did you autoconf + reconfigure?

> In addition to some funny looking output, I get mysterious messages like:
> 
> warning: can't open file: `8.afm'
> warning: guessing dimensions for font style: `number-1'
> warning: can't open file: `cmbx8.afm'
> warning: guessing dimensions for font style: `bold'

Yes, those are TODOs.  Font selection has to be fixed.
You can switch font styles in mudela, but currently Lily
can't decide what actual font will be used.  Those decisions
are made in the tex/ps output itself...

   mudela    lily           tex
   roman  -> settext    ->  cmr<size>.afm
   italic -> setitalic  ->  cmti<size>.afm

Lily now wants to know the font metrics to produce reasonable
lyric spacing, so there's a translation table to guess the font 
that will be used.  The `8.afm' etc. are just wrong guesses, or
missing .afm's.
Anyway, this is all too ugly to discuss and will be fixed soon, 
i hope.

> from this:

i've added some \partials.
Now, the second \partial seems an ugly one.  Would it be OK to set
\partial 1; implicitly for the last (?) alternative? (Han-Wen, and can
this be done?)

a bit better, but still wierd things, of course.

\header{
   bogus = nothing;
   title = "Trip to Sofia";
   composer = "David Bartley";
}

\score{  
  \notes \relative c'' {  \key f; \time 4/4; \partial 4;
   \repeat 2 {  \relative c''{
    [e8 d] | [cis a a e] [g a cis a] | [bes a g a] [bes d e f] |
    [g a, f' a,] [e' a, cis a] | [bes d e d ] cis4-\prall [a8 d] | 
    [cis a a e] [g a cis a] | [bes a g a] [bes d e f] |
    [g a, f' a,] [e' a, cis a] } }
    \alternative{ \relative c''{ [g f f g ] e4 } 
    % urg, \partial 1;
    \relative c''{ \partial 1; [g'8 f f g ] e2 } }

    \repeat 2 { \relative c''{
    [bes8 a g a] [bes d e f] | [g a, f' a,] [e' a, cis a] |
    [bes a g a] [bes g'] [ f d ] | [cis d e d ] cis4-\prall a |
    [bes8 a g a] [bes d e f] }}
    \alternative {   \relative c'''{ [g a, f' a,] [e' a, cis a] |
    [a' g g f] [f e e d] | [d cis d e ] cis4-\prall a }
    \relative c''{
    [a'8 g f a] [g f e g] | [f e d f] [e d cis a] | 
    [bes d f gis] a4 }}
   }
  \paper{}
  \midi{\tempo 4 = 220;}
}

> I couldn't figure out extenders.  What do I do if I want to have the
> lyric "foo____________________" where the long line extends over
> several notes?  

What about:

\score{
        <
        \type Staff \notes { c  ~ c ~ c ~ c }
        \type Lyrics \lyrics { bla2. __ _ }
        >
}

Nice patch, thanks!

Jan.

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

Reply via email to