Fix \@ifundefined check for covexample(s)

Fixes: #10340
This commit is contained in:
Juergen Spitzmueller 2016-08-26 10:45:15 +02:00
parent c680c83adf
commit c0f5c1dd9f
2 changed files with 5 additions and 2 deletions

View File

@ -35,7 +35,7 @@ Style Numbered_Example_(multiline)
% This code can be removed eventually % This code can be removed eventually
\@ifundefined{covexample}{% \@ifundefined{covexample}{%
\newenvironment{covexample}{\begin{example}}{\end{example}}% \newenvironment{covexample}{\begin{example}}{\end{example}}%
} }{}
EndPreamble EndPreamble
Category Linguistics Category Linguistics
End End
@ -56,7 +56,7 @@ Style Numbered_Examples_(consecutive)
% This code can be removed eventually % This code can be removed eventually
\@ifundefined{covexamples}{% \@ifundefined{covexamples}{%
\newenvironment{covexamples}{\begin{examples}}{\end{examples}}% \newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
} }{}
EndPreamble EndPreamble
End End

View File

@ -53,6 +53,9 @@ What's new
- Fixed usage of new module "Title and Preamble Hacks" (bug 10320). - 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 * LYX2LYX