lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can \barNumberCheck be set to error?


From: David Kastrup
Subject: Re: Can \barNumberCheck be set to error?
Date: Thu, 03 Dec 2015 07:39:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

thorne <address@hidden> writes:

> I am just wondering if there is any way to set only \barNumberCheck to
> generate an error instead of a warning.
>
> I am using a Makefile to handle a project.  I am using \barNumberCheck
> on every bar on every part.  It is convenient to have Lilypond error
> any time a bar number check fails so that the render fails and I know
> right away.
>
> I tried doing -dwarning-as-error, which works, but then makes the
> render fail any time anything generates a warning, which is probably
> not something I can have.
>
> Or, is there a better approach in general?

\barNumberCheck is defined in ly/music-functions-init.ly.  It's less
than a dozen lines.  Just copy that definition and replace the call to
ly:input-warning with something else.

-- 
David Kastrup



reply via email to

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