[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error duplicated in the log (if the error is in a variable copied in
Re: error duplicated in the log (if the error is in a variable copied in two contexts)
Sat, 22 Feb 2014 13:14:06 +0100
2014-02-22 11:57 GMT+01:00 David Kastrup <address@hidden>:
> Federico Bruni <address@hidden> writes:
> > 2014-02-22 11:19 GMT+01:00 David Kastrup <address@hidden>:
> >> Federico Bruni <address@hidden> writes:
> >> > 2014-02-22 11:04 GMT+01:00 Federico Bruni <address@hidden>:
> >> >
> >> >> While this works fine in the minimal example I posted before, I
> >> >> make it work in the real file I'm working on at the moment. The log
> >> message
> >> >> is duplicated and I cannot figure out why.
> >> >
> >> >
> >> > found it, it's the \midi block:
> >> You beat me to it.
> > Maybe it's worth adding a warning here?
> > http://lilypond.org/doc/v2.19/Documentation/usage/error-messages
> > The error or warning
forgot to add the context:
These locations are LilyPond’s best guess about where the warning or error
occurred, but (by their very nature) warnings and errors occur when
something unexpected happens. If you can’t see an error in the indicated
line of your input file, try checking one or two lines above the indicated
[my suggestion here]
More information about errors is given in Common errors.
> > may be printed twice if \score contains both \layout
> > and \midi blocks or if the music is located in two different contexts
> > Staff and TabStaff).
> It's more like diagnostics can be triggered in several stages of
> processing. If some input is processed several times (for example, in
> midi and layout output, or by using the same music variable in multiple
> contexts), diagnostics produced at a late stage (like a bar check) might
> be issued multiple times.
yes, much better
added to the tracker: