[Top][All Lists]

[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

From: David Kastrup
Subject: Re: error duplicated in the log (if the error is in a variable copied in two contexts)
Date: Sat, 22 Feb 2014 11:57:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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 cannot
>> >> 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


> may be printed twice if \score contains both \layout
> and \midi blocks or if the music is located in two different contexts (e.g.
> 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.

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]