On Tue, 2024-09-10 at 17:37 +0100, Richard Shann wrote:
> On Tue, 2024-09-10 at 16:04 +0100, Joe Wilkinson wrote:
> > Hi Richard,
> > I am confused by two errors which report on typesetting. The
> > typeset
> > seems to work without such reports if set to "Continuous" 
> When typesetting with "continuous" errors are not looked for in the
> LilyPond output (because you may be half way through making a change
> like starting and the ending a slur and it would be annoying if it
> told
> you that there was an error the moment you put in the slur start)
> 
> > and Checkscore reports no errors.
> 
> 
> > When I export to  a file test1.ly,
> or, easier look in the LilyPond View.
> 
> 
> >  and run Lilypond directly on it, I get the report:
> > # -*-compilation-*-
> >  Processing `test1.ly'
> >  Parsing...
> >  test1.ly:1198:1: error: syntax error, unexpected '}'
> 
> This was a new one on me - you have a typo in your metronome marks 
> the syntax emitted is
>         \tempo "{3½ min) Andante" 4=80 
> where you have started with a { and ended with a )
> Unfortunately, Denemo tries to be helpful and counts up how many "{"
> you have used and adds a "}" if you haven't got them all closed.
> Fortunately, the resulting error is one that doesn't stop LilyPond
> generating a good typeset - it just ignores the extra "}" that Denemo
> put in for you.
> 
> If you wanted to track down the bug you would have deleted the
> movements that didn't cause a problem, then half the music (using the
> delete measures from cursor) and half again and so on until it
> started
> typesetting properly with continuous off. Then what you have left -
> which would have been the first bar is where the error lay. Then you
> would be down to deleting the notes in the bar and finally you would
> get to an empty bar with just that mark, looking terribly sheepish.
> 
> 
> Now what is strange is that I wouldn't have thought Denemo would
> count
> "{" if it occurs in some text... I've raised a bug for this.

I've fixed the bug now, version 2.6.40 will build tonight. Your score
will then typeset without complaint.

Richard



> BTW what command did you use to insert that mark?
> 
> HTH Richard
> Oh, of course the fix is to re-do those two metronome marks...
> 
> 
> 
> >  
> >  }
> >  test1.ly:2230:1: error: syntax error, unexpected '}'
> >  
> >  }
> >  Interpreting
> > music...[8][16][24][32][40][48][56][64][72][80][88][96][104][112]
> >  Preprocessing graphical objects...
> >  Interpreting
> > music...[8][16][24][32][40][48][56][64][72][80][88][96][104][112][1
> > 20
> > ][128][136]
> >  Preprocessing graphical objects...
> >  Interpreting music...[8][16][24][32][40][48][56][64][72][72]
> >  Preprocessing graphical objects...
> >  Finding the ideal number of pages...
> >  Fitting music on 9 or 10 pages...
> >  Drawing systems...
> >  Converting to `test1.pdf'...
> >  fatal error: failed files: "test1.ly"
> > but when I look at Movement 2 Voice 1, and Movement 3 Voice 2, I
> > can
> > find nothing wrong. I have deleted both of these final bars and re-
> > created them, to no avail.
> > Any ideas?
> > Joe
> > 
> >  
> 
> 


Reply via email to