Sorry, my fault! When I compile the example on its own than everything works perfectly (version 2.11.34). (I compiled it several times with a couple of other fragments. The error must be in one of the fragments that are compiled before this one. Strange enough the error seems to influence only the repeat & alternative ending-function.) I will check the other fragments and use smaller test files in future (minimal examples :-))!
Thanks PLS > Patrick Schmidt wrote: > > Dear all, > > > > could anybody please help me with the following problem: > > > > I'm trying to typeset a fragment with 3 repeats and 1 alternative > ending but I get syntax errors. > > > > What's wrong with this syntax? > > > > frag = { > > \key d \minor% > > \set TabStaff.stringTunings = #'(+2 -3 -7 -12 -17 -24)%Dropped C-Tuning > > > > \repeat volta 4 {<d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4>8 > > <d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4> <f,\6 c\5 f\4> > > <d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4>8~<d,\6 a,\5 d\4>4} > > > > \alternative { {<c,\6 g,\5 c\4>1 <es,\6 bes,\5 es\4>} > > {<es,\6 bes,\5 es\4>1 <c,\6 g,\5 c\4>} } > > > > } > > \new StaffGroup << > > \new Staff { \clef "G_8" \frag } > > \new TabStaff { \frag } > > >> > > > > Thanks a lot, > > > > PLS > > > > > > -- > ============================================= > Mats Bengtsson > Signal Processing > Signals, Sensors and Systems > Royal Institute of Technology > 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 > ============================================= -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user