texlive[53303] Master/texmf-dist: covington (2jan20)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 2 23:11:37 CET 2020


Revision: 53303
          http://tug.org/svn/texlive?view=revision&revision=53303
Author:   karl
Date:     2020-01-02 23:11:37 +0100 (Thu, 02 Jan 2020)
Log Message:
-----------
covington (2jan20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/covington/README
    trunk/Master/texmf-dist/doc/latex/covington/covington.pdf
    trunk/Master/texmf-dist/doc/latex/covington/covington.tex
    trunk/Master/texmf-dist/tex/latex/covington/covington.sty

Modified: trunk/Master/texmf-dist/doc/latex/covington/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/covington/README	2020-01-02 22:10:48 UTC (rev 53302)
+++ trunk/Master/texmf-dist/doc/latex/covington/README	2020-01-02 22:11:37 UTC (rev 53303)
@@ -3,7 +3,7 @@
 
 LaTeX macros for Linguistics
 
-Copyright 1991--2019 Michael A. Covington
+Copyright 1991--2020 Michael A. Covington
                      Robin Fairbairns
                      Juergen Spitzmueller
 
@@ -31,6 +31,9 @@
 
 == CHANGES ==
 
+* Version 2.4 (2020-01-02):
+	- Fix definition of covexercise if no subsection counter exists.
+
 * Version 2.3 (2019-06-21):
 	- Add preamble option to subexamples environment.
 	- Allow to use covington together with the drs package.

Modified: trunk/Master/texmf-dist/doc/latex/covington/covington.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/covington/covington.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/covington/covington.tex	2020-01-02 22:10:48 UTC (rev 53302)
+++ trunk/Master/texmf-dist/doc/latex/covington/covington.tex	2020-01-02 22:11:37 UTC (rev 53303)
@@ -94,8 +94,8 @@
 %
 % Titling
 %
-\def\pversion{Version 2.3}
-\def\pdate{June 21, 2019}
+\def\pversion{Version 2.4}
+\def\pdate{January 2, 2020}
 
 \title{\textbf{The \cvt\ Package\\Macros for Linguistics}}
 \author{Michael A. Covington \and J\"urgen Spitzm\"uller\thanks{Current maintainer.
@@ -1095,6 +1095,12 @@
 
 \section{Release history}
 
+\subsection*{2.4 (2020 January 2)}
+
+\begin{itemize}
+	\item Fix definition of covexercise theorem when no subsection counter is defined.
+\end{itemize}
+
 \subsection*{2.3 (2019 June 21)}
 
 \begin{itemize}
@@ -1248,7 +1254,7 @@
 		by morpheme glosses}. Revised version of February 2008. Department
 		of Linguistics, Max Plank Institute for Evolutionary Anthropology.
 		\url{http://www.eva.mpg.de/lingua/resources/glossing-rules.php}.
-	\bibitem{drs} Dimitradis, Alexis: \emph{drs -- Typeset Discourse Representation Structures (DRS)}.
+	\bibitem{drs} Dimitriadis, Alexis: \emph{drs -- Typeset Discourse Representation Structures (DRS)}.
 	     June 10, 2010. \url{https://ctan.org/pkg/drs}.
 	\bibitem{sdrt} Isambert, Paul: \emph{sdrt -- Macros for Segmented Discourse Representation Theory}.
 	     May 13, 2007. \url{https://ctan.org/pkg/sdrt}.

Modified: trunk/Master/texmf-dist/tex/latex/covington/covington.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/covington/covington.sty	2020-01-02 22:10:48 UTC (rev 53302)
+++ trunk/Master/texmf-dist/tex/latex/covington/covington.sty	2020-01-02 22:11:37 UTC (rev 53303)
@@ -42,8 +42,8 @@
 %%% Metadata
 %%%
 
-\def\filedate{2019/06/21}
-\def\fileversion{2.3}
+\def\filedate{2020/01/02}
+\def\fileversion{2.4}
 \def\filename{covington.sty}
 
 % Force redefinition of environments?
@@ -951,7 +951,7 @@
 %
 % New in 1.1 (2016-07-06):
 %            We provide a covexercise environment and only (re)define
-%            example if it does not yet exist or if redefinition is
+%            exercise if it does not yet exist or if redefinition is
 %            forced by the "force" option. This prevents clashes
 %            with packages/classes that roll their own exercise environment.
 
@@ -968,7 +968,11 @@
 %             large curly brackets.  Good for alternatives
 %             within sentences or PS-rules.
 
-\newtheorem{covexercise}{Exercise}[subsection]
+\ifcsname c at subsection\endcsname
+  \newtheorem{covexercise}{Exercise}[subsection]
+\else
+  \newtheorem{covexercise}{Exercise}
+\fi
 
 % Exercise numbering resets to 0 not only at the start of
 % a subsection, but also at the start of a section or chapter



More information about the tex-live-commits mailing list