texlive[72487] Master/texmf-dist: mathtools (7oct24)
commits+mseven at tug.org
commits+mseven at tug.org
Tue Oct 8 03:03:29 CEST 2024
Revision: 72487
https://tug.org/svn/texlive?view=revision&revision=72487
Author: mseven
Date: 2024-10-08 03:03:29 +0200 (Tue, 08 Oct 2024)
Log Message:
-----------
mathtools (7oct24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/mathtools/empheq.pdf
trunk/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf
trunk/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf
trunk/Master/texmf-dist/source/latex/mathtools/empheq.dtx
trunk/Master/texmf-dist/source/latex/mathtools/mathtools.dtx
trunk/Master/texmf-dist/source/latex/mathtools/mathtools.ins
trunk/Master/texmf-dist/tex/latex/mathtools/empheq.sty
trunk/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
Added Paths:
-----------
trunk/Master/texmf-dist/source/latex/mathtools/empheq.ins
Modified: trunk/Master/texmf-dist/doc/latex/mathtools/empheq.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/mathtools/empheq.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mathtools/empheq.dtx 2024-10-08 01:01:42 UTC (rev 72486)
+++ trunk/Master/texmf-dist/source/latex/mathtools/empheq.dtx 2024-10-08 01:03:29 UTC (rev 72487)
@@ -69,7 +69,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: empheq 2020/03/24 v2.16 empheq}
+\Msg{* Package: empheq 2024/08/09 v2.17 empheq}
\Msg{************************************************************************}
\keepsilent
@@ -133,13 +133,18 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{empheq.drv}%
- [2020/03/24 v2.16 Emphasizing equations]
+ [2024/08/09 v2.17 Emphasizing equations]
\documentclass{ltxdoc}
\usepackage{mathpazo}
\usepackage[overload]{empheq}
-\usepackage{xcolor,varioref,booktabs,fancybox}
+\usepackage{xcolor,varioref,booktabs,fancybox,iftex}
\usepackage[overload]{textcase}
+\iftutex\else
+ \usepackage[T1]{fontenc}
+\fi
+
+
\pagestyle{headings}
\hyphenation{emph-eq}
\makeatletter
@@ -338,6 +343,7 @@
\end{document}
%</driver>
% \fi
+% \changes{v2.17}{2024/08/09}{Fixed typo in manual}
% \changes{v2.16}{2020/03/24}{fixed several bugs related to amsart/-book}
% \changes{v2.15}{2017/03/31}{Fixed a bug in relation to the AMS
% classes and completed prefixing macros belonging to \pkg{mhsetup}
@@ -376,7 +382,7 @@
% release}
%
% \GetFileInfo{empheq.drv}
-% \CheckSum{2495}
+% \CheckSum{2635}
%
% \title{The \pkg{empheq} package\thanks{This file has version number
% \fileversion, last revised \filedate.}\\
@@ -1498,8 +1504,8 @@
% \begin{codesyntax}
% \cs{newenvironment}
% \marg{env_name} \oarg{num} \oarg{default}\\
-% \texttt{~~}\arg{\meta{other commands} \cs{EmpheqMainEnv}}\\
-% \texttt{~~}\arg{\cs{endEmpheqMainEnv}}
+% \texttt{~~}\arg{\meta{other commands} \cs{EmphEqMainEnv}}\\
+% \texttt{~~}\arg{\cs{endEmphEqMainEnv}}
% \end{codesyntax}
% In the above environment the \meta{other commands} part must
% contain certain things before it'll work.
@@ -1753,7 +1759,7 @@
% \begin{macrocode}
%<*package>
\ProvidesPackage{empheq}%
- [2017/03/31 v2.15 Emphasizing equations]
+ [2024/08/09 v2.17 Emphasizing equations]
% \end{macrocode}
% \changes{v2.15}{2017/03/31}{Bumped required mhsetup release}
% \begin{macrocode}
@@ -2939,7 +2945,8 @@
% \end{macrocode}
% \end{environment}
% We make a choice here: the good \env{multline} or the bad?
-% \refstepcounter{CodelineNo}\label{goodandbad}\addtocounter{CodelineNo}{-1}
+% ^^A daleif 2024/10/07: the line below fails
+% ^^A \stepcounter{CodelineNo}\label{goodandbad}\addtocounter{CodelineNo}{-1}
% \begin{macrocode}
\MH_if_boolean:nTF {good_mult}{
% \end{macrocode}
@@ -4559,5 +4566,5 @@
% \begin{macrocode}
%</package>
% \end{macrocode}
-% Finale
+% \Finale
\endinput
Added: trunk/Master/texmf-dist/source/latex/mathtools/empheq.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/mathtools/empheq.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/mathtools/empheq.ins 2024-10-08 01:03:29 UTC (rev 72487)
@@ -0,0 +1,94 @@
+%%
+%% This is file `empheq.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% empheq.dtx (with options: `install')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2002-2007 by Morten Hoegholm
+%% Copyright (C) 2012-2019 by Lars Madsen
+%% Copyright (C) 2020- by Lars Madsen, The LaTeX3 Project
+%%
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is
+%% Lars Madsen, The LaTeX3 Project
+%%
+%% This work consists of the main source file empheq.dtx
+%% and the derived files
+%% empheq.sty, empheq.pdf, empheq.ins, empheq.drv.
+%%
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: empheq 2024/08/09 v2.17 empheq}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2002-2007 by Morten Hoegholm
+Copyright (C) 2012-2019 by Lars Madsen
+Copyright (C) 2020- by Lars Madsen, The LaTeX3 Project
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+This Current Maintainer of this work is
+Lars Madsen, The LaTeX3 Project
+
+This work consists of the main source file empheq.dtx
+and the derived files
+ empheq.sty, empheq.pdf, empheq.ins, empheq.drv.
+
+\endpreamble
+
+\generate{%
+ \file{empheq.ins}{\from{empheq.dtx}{install}}%
+ \file{empheq.drv}{\from{empheq.dtx}{driver}}%
+ \usedir{tex/latex/mh}%
+ \file{empheq.sty}{\from{empheq.dtx}{package}}%
+}
+
+\obeyspaces
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* empheq.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `empheq.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+\endinput
+%%
+%% End of file `empheq.ins'.
Modified: trunk/Master/texmf-dist/source/latex/mathtools/mathtools.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mathtools/mathtools.dtx 2024-10-08 01:01:42 UTC (rev 72486)
+++ trunk/Master/texmf-dist/source/latex/mathtools/mathtools.dtx 2024-10-08 01:03:29 UTC (rev 72487)
@@ -69,7 +69,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: mathtools 2024/03/11 v1.30}
+\Msg{* Package: mathtools 2024/10/04 v1.31}
\Msg{************************************************************************}
\keepsilent
@@ -133,7 +133,7 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{mathtools.drv}%
- [2024/03/11 v1.30 mathematical typesetting tools]
+ [2024/10/04 v1.31 mathematical typesetting tools]
\documentclass{ltxdoc}
\IfFileExists{fourier.sty}{\usepackage{fourier}}{}
@@ -333,7 +333,7 @@
%
% \GetFileInfo{mathtools.drv}
%
-% \CheckSum{3772}
+% \CheckSum{3775}
%
% \title{The \pkg{mathtools} package\thanks{This file has version number
% \fileversion, last revised \filedate.}}
@@ -3138,7 +3138,7 @@
% \begin{macrocode}
%<*package>
\ProvidesPackage{mathtools}%
- [2024/03/11 v1.30 mathematical typesetting tools]
+ [2024/10/04 v1.31 mathematical typesetting tools]
% \end{macrocode}
% \changes{v1.10}{2011/02/12}{Might as well make sure that we need the
% latest version of \texttt{mhsetup}}
@@ -6707,12 +6707,23 @@
\MH_if_dim:w \lastskip>\z@
\skip@\lastskip\unskip
% \end{macrocode}
-% \changes{v1.15}{2014/07/16}{Added penalty workaround}
-% Here is the fix.
-% \changes{v1.19}{2017/03/31}{Added MH\_ prefix}
+% \changes{v1.15}{2014/07/16}{Added penalty workaround}
+% Here is the fix.
+% \changes{v1.19}{2017/03/31}{Added MH\_ prefix}
+% The code we inserted here in 2014, had a bug in it. The intent was
+% to move the penalty on to the other side of the italic correction.
+% But when we reinsert the penalty we only test if the scratch
+% counter is non-zero, so it may insert random penalties depending
+% on the non-zero value of \cs{count@}. Simple fix: initialise \cs{count@}.
+% \changes{v1.31}{2024/10/03}{Added missing counter initialisation, fixing issue \#62}
+% In chat David C. mentioned that \verb|\ifnum\lastnodetype=13| is a better
+% test than \verb|\ifnum\lastpenalty>\z@|. Just leaving this here for when we do the
+% Expl3 conversion.
% \begin{macrocode}
\MH_if_num:w \lastpenalty>\z@
\count@\lastpenalty\unpenalty
+ \MH_else:
+ \count@\z@
\MH_fi:
\@@italiccorr
% \end{macrocode}
@@ -6728,8 +6739,12 @@
\@@italiccorr
\MH_fi:
\MH_fi:
- \MH_fi:
- $\MH_fi:
+% \end{macrocode}
+%
+% \changes{v1.31}{2024/10/03}{Also fixed typo here, the last two \cs{fi} comes from non-MH syntax}
+% \begin{macrocode}
+ \fi
+ $\fi
}
}
}
Modified: trunk/Master/texmf-dist/source/latex/mathtools/mathtools.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/mathtools/mathtools.ins 2024-10-08 01:01:42 UTC (rev 72486)
+++ trunk/Master/texmf-dist/source/latex/mathtools/mathtools.ins 2024-10-08 01:03:29 UTC (rev 72487)
@@ -33,7 +33,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: mathtools 2024/03/11 v1.30}
+\Msg{* Package: mathtools 2024/10/04 v1.31}
\Msg{************************************************************************}
\keepsilent
Modified: trunk/Master/texmf-dist/tex/latex/mathtools/empheq.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mathtools/empheq.sty 2024-10-08 01:01:42 UTC (rev 72486)
+++ trunk/Master/texmf-dist/tex/latex/mathtools/empheq.sty 2024-10-08 01:03:29 UTC (rev 72487)
@@ -31,7 +31,7 @@
%% empheq.sty, empheq.pdf, empheq.ins, empheq.drv.
%%
\ProvidesPackage{empheq}%
- [2017/03/31 v2.15 Emphasizing equations]
+ [2024/08/09 v2.17 Emphasizing equations]
\RequirePackage{mhsetup}[2017/03/31]
\MHInternalSyntaxOn
\MH_new_boolean:n {overload_ams}
Modified: trunk/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mathtools/mathtools.sty 2024-10-08 01:01:42 UTC (rev 72486)
+++ trunk/Master/texmf-dist/tex/latex/mathtools/mathtools.sty 2024-10-08 01:03:29 UTC (rev 72487)
@@ -32,7 +32,7 @@
%%
\ProvidesPackage{mathtools}%
- [2024/03/11 v1.30 mathematical typesetting tools]
+ [2024/10/04 v1.31 mathematical typesetting tools]
\RequirePackage{keyval,calc}
\RequirePackage{mhsetup}[2021/03/18]
\MHInternalSyntaxOn
@@ -1747,6 +1747,8 @@
\skip@\lastskip\unskip
\MH_if_num:w \lastpenalty>\z@
\count@\lastpenalty\unpenalty
+ \MH_else:
+ \count@\z@
\MH_fi:
\@@italiccorr
\MH_if_num:w \count@>\z@
@@ -1757,8 +1759,8 @@
\@@italiccorr
\MH_fi:
\MH_fi:
- \MH_fi:
- $\MH_fi:
+ \fi
+ $\fi
}
}
}
More information about the tex-live-commits
mailing list.