From 1f48a39d4581ae7ec8027d54101e7f29fe95f548 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 19 Nov 2019 00:01:56 +0000 Subject: amsmath (19nov19) git-svn-id: svn://tug.org/texlive/trunk@52854 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/amsmath/README.md | 2 +- Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf | Bin 161335 -> 161335 bytes Master/texmf-dist/doc/latex/amsmath/amscd.pdf | Bin 165753 -> 165753 bytes Master/texmf-dist/doc/latex/amsmath/amsgen.pdf | Bin 164353 -> 164353 bytes Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf | Bin 453056 -> 475103 bytes Master/texmf-dist/doc/latex/amsmath/amsldoc.tex | 11 +++++++---- Master/texmf-dist/doc/latex/amsmath/amsmath.pdf | Bin 379691 -> 379046 bytes Master/texmf-dist/doc/latex/amsmath/amsopn.pdf | Bin 129171 -> 129171 bytes Master/texmf-dist/doc/latex/amsmath/amstext.pdf | Bin 193904 -> 193904 bytes Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf | Bin 104549 -> 104549 bytes Master/texmf-dist/doc/latex/amsmath/changes.txt | 10 ++++++++++ Master/texmf-dist/doc/latex/amsmath/subeqn.pdf | Bin 101296 -> 101296 bytes Master/texmf-dist/doc/latex/amsmath/technote.pdf | Bin 130486 -> 130486 bytes Master/texmf-dist/doc/latex/amsmath/testmath.pdf | Bin 428708 -> 428708 bytes Master/texmf-dist/source/latex/amsmath/amsmath.dtx | 22 ++++++++++++++++++--- Master/texmf-dist/tex/latex/amsmath/amsmath.sty | 7 +++++-- 16 files changed, 42 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/amsmath/README.md b/Master/texmf-dist/doc/latex/amsmath/README.md index 868efe52c2c..c08ef1b2ab4 100644 --- a/Master/texmf-dist/doc/latex/amsmath/README.md +++ b/Master/texmf-dist/doc/latex/amsmath/README.md @@ -1,7 +1,7 @@ The amsmath bundle for LaTeX ============================ -Release 2019-10-01 patch level 1 +Release 2019-11-17 Overview -------- diff --git a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf index b436223e2f6..3260fb10a71 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf index 69e05ee5c73..6094e56e419 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf and b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf index 12312f41933..d81a3e9c4cd 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf index a221839b30b..747bd6b264a 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex b/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex index 9e08f029f5f..8573682a66d 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex @@ -64,7 +64,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% \title{User's Guide for the \nipkg{amsmath} Package (Version~2.1)} \author{American Mathematical Society, \LaTeX3 Project} -\date{1999-12-13 (revised 2002-02-25, 2016-11-14, 2018-04-05)} +\date{1999-12-13\\(revised 2002-02-25, 2016-11-14, 2018-04-05, 2019-10-14)} \makeatletter \def\@thanks{\bigskip\MaintainedByLaTeXTeam{amslatex}} \makeatother @@ -1372,9 +1372,12 @@ superscript\index{subscripts and superscripts} above a binary relation. In the \nipkg{amsmath} package there are somewhat more general commands, \cn{overset} and \cn{underset}, that can be used to place one symbol above or below another symbol, whether it's a relation or something -else. The input |\overset{*}{X}| will place a superscript-size $*$ above -the $X$: $\overset{*}{X}$; \cn{underset} is the analog for adding a -symbol underneath. +else. The input |\overset{*}{X}| will place a superscript-size {\small$*$} above +the {\small$X$}: {\small$\smash{\overset{*}{X}}$}; +\cn{underset} is the analog for adding a +symbol underneath. The command \cn{overunderset} is a combination of +these, taking three arguments to place superscript sized expressions +above and below the same base. See also the description of \cn{sideset} in \secref{sideset}. diff --git a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf index 71b273d85ce..df541ceec98 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf index 1543a5c08e6..9e2fe3336dd 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf index 73e4af364a2..2a2001b6402 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf and b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf index 77ac075445e..651c9db0da0 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/changes.txt b/Master/texmf-dist/doc/latex/amsmath/changes.txt index 054633ff2d9..e5e234cea22 100644 --- a/Master/texmf-dist/doc/latex/amsmath/changes.txt +++ b/Master/texmf-dist/doc/latex/amsmath/changes.txt @@ -1,3 +1,13 @@ +######################### +# 2019-11-17 Release +######################### + +2019-11-16 Frank Mittelbach + + * amsmath.dtx (section{Math accents}): + Added \MakeRobust inside \DeclareMathAccent to match kernel + change (gh/216) + ######################### # 2019-10-01b Release ######################### diff --git a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf index 9250612b546..9e6e0726736 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf and b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/technote.pdf b/Master/texmf-dist/doc/latex/amsmath/technote.pdf index 4db485d6c8c..5457ffe15f0 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/technote.pdf and b/Master/texmf-dist/doc/latex/amsmath/technote.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf index f1af9357a3c..91012a919d2 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf and b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf differ diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx index 8671694b706..11b7545c266 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx @@ -86,7 +86,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \end{macrocode} % % \begin{macrocode} -\ProvidesPackage{amsmath}[2019/04/01 v2.17c AMS math features] +\ProvidesPackage{amsmath}[2019/11/16 v2.17d AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -1641,10 +1641,19 @@ Foreign command \@backslashchar#1;\MessageBreak % By redefining \cs{set@mathaccent} we ensure that % \cn{DeclareMathAccent} will define accent commands to run our % \cs{mathaccentV} function instead of the primitive \cs{mathaccent}. +% \changes{v2.17d}{2019/11/16}{Added \cs{MakeRobust} to match kernel +% change (gh/216)} % \begin{macrocode} \def\set@mathaccent#1#2#3#4{% - \xdef#2{\@nx\protect\@nx\mathaccentV +% \end{macrocode} +% Now that the redefinitions done inside amsmath of the basic accents +% are all robust we can drop the \cs{protect} here. +% \begin{macrocode} + \xdef#2{% +% \@nx\protect + \@nx\mathaccentV {\@xp\@gobble\string#2}\hexnumber@#1#4}% + \MakeRobust#2% } % \end{macrocode} % @@ -1714,6 +1723,13 @@ Foreign command \@backslashchar#1;\MessageBreak Unable to redefine math accent \string#5}% \fi\fi} \def\@tempc#1"#2#3#4#5#6\@nil#7{% +% \end{macrocode} +% Drop the inner part of the robust accent so that it can be recreated +% without a warning. +% \changes{v2.17d}{2019/11/16}{Make temporarily fragile to match kernel +% change (gh/216)} +% \begin{macrocode} + \@xp\let\csname\@xp\@gobble\string#7\space\endcsname\@undefined \chardef\@tempd="#3\relax\set@mathaccent\@tempd{#7}{#2}{#4#5}} \def\@tempd#1\@nil#2{% \PackageWarningNoLine{amsmath}{% @@ -2091,7 +2107,7 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macro}{\overunderset} % This is the combination of the previous two commands which is % something that is sometimes needed. -% \changes{v2.17c}{FMi}{New command \cs{overunderset}} +% \changes{v2.17c}{2019/04/01}{New command \cs{overunderset}} % \begin{macrocode} \newcommand{\overunderset}[3]{\binrel@{#3}% \binrel@@{\mathop{\kern\z@#3}\limits^{#1}_{#2}}} diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty index b07d783fcb7..0b8113127e7 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty @@ -27,7 +27,7 @@ \providecommand\DeclareCurrentRelease[2]{} \DeclareRelease{}{2018-12-01}{amsmath-2018-12-01.sty} \DeclareCurrentRelease{}{2019-04-01} -\ProvidesPackage{amsmath}[2019/04/01 v2.17c AMS math features] +\ProvidesPackage{amsmath}[2019/11/16 v2.17d AMS math features] \edef\@temp{\catcode 96=\number\catcode 96 } \catcode\string `\`=12 \def\do#1{\catcode\number`#1=\number\catcode`#1} @@ -739,8 +739,10 @@ Foreign command \@backslashchar#1;\MessageBreak {\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@ \hbox{\normalfont....}\vss}}}} \def\set@mathaccent#1#2#3#4{% - \xdef#2{\@nx\protect\@nx\mathaccentV + \xdef#2{% + \@nx\mathaccentV {\@xp\@gobble\string#2}\hexnumber@#1#4}% + \MakeRobust#2% } \def\@tempa#1{% \@ifundefined{\@xp\@gobble\string#1\space}% @@ -759,6 +761,7 @@ Foreign command \@backslashchar#1;\MessageBreak Unable to redefine math accent \string#5}% \fi\fi} \def\@tempc#1"#2#3#4#5#6\@nil#7{% + \@xp\let\csname\@xp\@gobble\string#7\space\endcsname\@undefined \chardef\@tempd="#3\relax\set@mathaccent\@tempd{#7}{#2}{#4#5}} \def\@tempd#1\@nil#2{% \PackageWarningNoLine{amsmath}{% -- cgit v1.2.3