Remove covington backwards compatibility code

The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.
This commit is contained in:
Juergen Spitzmueller 2019-06-04 08:20:02 +02:00
parent 639b5da1af
commit 550f46a188

View File

@ -53,15 +53,6 @@ Style Numbered_Example_(multiline)
Color Blue Color Blue
EndFont EndFont
Requires covington Requires covington
Preamble
% Backwards compatibility with covington < 1.1
% This code can be removed eventually
\AtBeginDocument{%
\@ifundefined{covexample}{%
\newenvironment{covexample}{\begin{example}}{\end{example}}%
}{}
}
EndPreamble
Category Linguistics Category Linguistics
End End
@ -88,15 +79,6 @@ Style Numbered_Examples_(consecutive)
LabelString "Custom Numbering|s" LabelString "Custom Numbering|s"
Tooltip "Customize the numeration" Tooltip "Customize the numeration"
EndArgument EndArgument
Preamble
% Backwards compatibility with covington < 1.1
% This code can be removed eventually
\AtBeginDocument{%
\@ifundefined{covexamples}{%
\newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
}{}
}
EndPreamble
End End
@ -107,22 +89,6 @@ Style Subexample
LabelCounter "subexample" LabelCounter "subexample"
StepMasterCounter true StepMasterCounter true
Requires covington Requires covington
Preamble
% Backwards compatibility with covington < 1.6
% This code can be removed eventually
\AtBeginDocument{%
\@ifundefined{covsubexamples}{%
\newenvironment{covsubexamples}{%
\addtolength{\examplenumbersep}{-0.5em}%
\begin{covexample}%
\begin{enumerate}
\renewcommand\theenumi{\alph{enumi}}
\renewcommand\labelenumi{(\theenumi)}
\renewcommand\p@enumi{\theequation\,}}%
{\end{enumerate}\end{covexample}}
}{}
}
EndPreamble
End End