commit c0f5c1dd9f09df4d880a1a3fb77418abaf43f723
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Aug 26 10:45:15 2016 +0200

    Fix \@ifundefined check for covexample(s)
    
    Fixes: #10340
---
 lib/layouts/linguistics.module |    4 ++--
 status.22x                     |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module
index a3a4002..c2f3df1 100644
--- a/lib/layouts/linguistics.module
+++ b/lib/layouts/linguistics.module
@@ -35,7 +35,7 @@ Style Numbered_Example_(multiline)
        % This code can be removed eventually
        \@ifundefined{covexample}{%
            \newenvironment{covexample}{\begin{example}}{\end{example}}%
-       }
+       }{}
        EndPreamble
        Category              Linguistics
 End
@@ -56,7 +56,7 @@ Style Numbered_Examples_(consecutive)
        % This code can be removed eventually
        \@ifundefined{covexamples}{%
            \newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
-       }
+       }{}
        EndPreamble
 End
 
diff --git a/status.22x b/status.22x
index 03797eb..5a69176 100644
--- a/status.22x
+++ b/status.22x
@@ -53,6 +53,9 @@ What's new
 
 - Fixed usage of new module "Title and Preamble Hacks" (bug 10320).
 
+- Fix error with older versions of the covington package in the
+  Linguistics module (bug 10340).
+
 
 * LYX2LYX
 

Reply via email to