From 550f46a188c9a2566cf41fe965bb7dee9a5271f1 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 4 Jun 2019 08:20:02 +0200 Subject: [PATCH] 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. --- lib/layouts/linguistics.module | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 33d6c09ed5..1ab6db418f 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -53,15 +53,6 @@ Style Numbered_Example_(multiline) Color Blue EndFont 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 End @@ -88,15 +79,6 @@ Style Numbered_Examples_(consecutive) LabelString "Custom Numbering|s" Tooltip "Customize the numeration" 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 @@ -107,22 +89,6 @@ Style Subexample LabelCounter "subexample" StepMasterCounter true 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 -- 2.39.2