commit 550f46a188c9a2566cf41fe965bb7dee9a5271f1
Author: Juergen Spitzmueller <[email protected]>
Date:   Tue Jun 4 08:20:02 2019 +0200

    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 files changed, 0 insertions(+), 34 deletions(-)

diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module
index 33d6c09..1ab6db4 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
 
 

Reply via email to