texlive[58589] Master/texmf-dist: covington (21mar21)
commits+karl at tug.org
commits+karl at tug.org
Sun Mar 21 22:40:19 CET 2021
Revision: 58589
http://tug.org/svn/texlive?view=revision&revision=58589
Author: karl
Date: 2021-03-21 22:40:19 +0100 (Sun, 21 Mar 2021)
Log Message:
-----------
covington (21mar21)
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 2021-03-21 21:39:53 UTC (rev 58588)
+++ trunk/Master/texmf-dist/doc/latex/covington/README 2021-03-21 21:40:19 UTC (rev 58589)
@@ -3,7 +3,7 @@
LaTeX macros for Linguistics
-Copyright 1991--2020 Michael A. Covington
+Copyright 1991--2021 Michael A. Covington
Robin Fairbairns
Juergen Spitzmueller
@@ -31,6 +31,9 @@
== CHANGES ==
+* Version 2.5 (2021-03-21):
+ - Fix metrics of stacked diacritics with XeTeX/LuaTeX.
+
* Version 2.4 (2020-01-02):
- Fix definition of covexercise if no subsection counter exists.
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 2021-03-21 21:39:53 UTC (rev 58588)
+++ trunk/Master/texmf-dist/doc/latex/covington/covington.tex 2021-03-21 21:40:19 UTC (rev 58589)
@@ -94,8 +94,8 @@
%
% Titling
%
-\def\pversion{Version 2.4}
-\def\pdate{January 2, 2020}
+\def\pversion{Version 2.5}
+\def\pdate{March 21, 2021}
\title{\textbf{The \cvt\ Package\\Macros for Linguistics}}
\author{Michael A. Covington \and J\"urgen Spitzm\"uller\thanks{Current maintainer.
@@ -1095,6 +1095,13 @@
\section{Release history}
+\subsection*{2.5 (2021 March 21)}
+
+\begin{itemize}
+ \item Fix metrics of stacked diacritics with XeTeX/LuaTeX.
+\end{itemize}
+
+
\subsection*{2.4 (2020 January 2)}
\begin{itemize}
Modified: trunk/Master/texmf-dist/tex/latex/covington/covington.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/covington/covington.sty 2021-03-21 21:39:53 UTC (rev 58588)
+++ trunk/Master/texmf-dist/tex/latex/covington/covington.sty 2021-03-21 21:40:19 UTC (rev 58589)
@@ -42,8 +42,8 @@
%%% Metadata
%%%
-\def\filedate{2020/01/02}
-\def\fileversion{2.4}
+\def\filedate{2021/03/21}
+\def\fileversion{2.5}
\def\filename{covington.sty}
% Force redefinition of environments?
@@ -71,6 +71,7 @@
% Required packages
%
\RequirePackage{xkeyval}
+\RequirePackage{iftex}
% Macro to issue warnings
\newcommand\cov at warning[1]{%
@@ -95,8 +96,10 @@
%%% Stacked accents
%%%
-% This is adapted from the \diatop macro in wsuipa.sty, which was
-% originally designed by Jean-Pierre Paillet.
+% This is adapted from the \diatop macro (designed by
+% Mike Dunleavy, originally in cjlmac.sty, designed by
+% Jean-Pierre Paillet) and included in wsuipa.sty
+% (designed by Dean Guenther and Janene Winter).
% Length to adjust accent distance
% Introduced 2016-07-06 JSP.
@@ -108,7 +111,7 @@
\setbox2=\hbox{{#2{}}}%
\dimen0=\ifdim\wd1>\wd2\wd1\else\wd2\fi%
\dimen1=\ht2\advance\dimen1by\twoaccsep%
- \setbox1=\hbox to1\dimen0{\hss#1\hss}%
+ \setbox1=\hbox to1\dimen0{\hss#1{}\hss}%
\rlap{\raise1\dimen1\box1}%
\hbox to1\dimen0{\hss#2\hss}}}%
@@ -119,14 +122,19 @@
\setbox2=\hbox{{#2{#3}}}%
\dimen0=\ifdim\wd1>\wd2\wd1\else\wd2\fi%
\dimen1=\ht2\advance\dimen1by\twoaccsep%
- \setbox1=\hbox to1\dimen0{\hss#1\hss}%
+ \setbox1=\hbox to1\dimen0{\hss#1{}\hss}%
\rlap{\raise1\dimen1\box1}%
\hbox to1\dimen0{\hss#2{#3}\hss}}}
% Special cases:
-\def\acm#1{\twodias{\'}{\=}{#1}} % acute over macron
-\def\grm#1{\twodias{\`}{\=}{#1}} % grave over macron
-\def\cim#1{\twodias{\^}{\=}{#1}} % circumflex over macron
+\def\acm#1{\twodias{\'}{\=}{#1}} % acute over macron
+\def\grm#1{\twodias{\`}{\=}{#1}} % grave over macron
+% Use MODIFIER LETTER CIRCUMFLEX ACCENT (U+2C6) with Xe/LuaTeX
+\iftutex
+ \def\cim#1{\twodias{\char"2C6}{\=}{#1}} % circumflex over macron
+\else
+ \def\cim#1{\twodias{\^}{\=}{#1}} % circumflex over macron
+\fi
%%%
%%% Example numbering
More information about the tex-live-commits
mailing list.