On Mon, May 4, 2015 at 8:47 AM, Klaus-Dieter Bauer
<[email protected]> wrote:

> Here \providecommand defines the macro locally to this environment, but
> \AtEndDocument has a global effect, so when reaching \end{document} the
> previously defined macro is used but undefined, preventing compilation. In
> such cases, LyX tends to fail quietly, and I mistook it for standard
> behaviour since it affected all my recent documents.

You might be experiencing the following issues:
http://www.lyx.org/trac/ticket/9354
http://www.lyx.org/trac/ticket/9510
Both will be fixed at least by LyX 2.2.0.

Scott

Reply via email to