Werner+LEMBERG wrote:
> > . the second lilypond code snippet from the file
> > lilypond-overview.doc, lilypond-overview-0.1.1.ly, is this:
> >
> > \include "paper16.ly"
> > \paper{\paper_sixteen linewidth = -1.\cm;
> > castingalgorithm = \Gourlay;}
> > \score{\notes\relative c
> > {\context Staff
> > <\context Voice
> > { c''8 c''8 } >}}
> >
> > I would expect two c'' eights, but I get a c'' followed by a
> > c''''...
>
> This is because of the \relative keyword, the meaning of '' roughly
> is two octaves above the previous note. The LaTeX documentation is
> not up to date because the mudela-book received some patches
> lately.
>
> I see. Then this is either a bug in mudela-book or
> lilypond-overview.doc which translates
>
> \mudela{c''8 c''8}
>
> to the above code. I would prefer that mudela-book does *not* use the
> \relative keyword if not explicitly asked for.
It's not a bug in mudela-book. Some time ago someone changed music written in
\mudela{...} to be \relative c (not me :-), and I think it should stay this
way, when you get used to it, relative mode is very nice.
I will check the documentation to see if it is wrong about this.
It is possible to define your own comand \mymudela{...} that print music that
is not \relative c. It is described in mudela-book.doc, but I can send you a
file to do this if you want.
Tom Cato
>
>
> Werner
>
>