summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/amscls/amsclass.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/amscls/amsclass.dtx')
-rw-r--r--Master/texmf-dist/source/latex/amscls/amsclass.dtx36
1 files changed, 23 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/amscls/amsclass.dtx b/Master/texmf-dist/source/latex/amscls/amsclass.dtx
index 90d9f411d48..66e9095e1c5 100644
--- a/Master/texmf-dist/source/latex/amscls/amsclass.dtx
+++ b/Master/texmf-dist/source/latex/amscls/amsclass.dtx
@@ -1,6 +1,6 @@
% \def\filename{amsclass.dtx}
-% \def\fileversion{2.20.1}
-% \def\filedate{2009/07/02}
+% \def\fileversion{2.20.2}
+% \def\filedate{2015/03/10}
%
% \iffalse meta-comment
%
@@ -15,7 +15,7 @@
% fax: (401) 331-3842
% email: tech-support@ams.org
%
-% Copyright 1995, 199, 2004, 2009 American Mathematical Society.
+% Copyright 1995, 199, 2004, 2009, 2015 American Mathematical Society.
%
% Unlimited copying and redistribution of this file are permitted as
% long as this file is not modified. Modifications, and distribution
@@ -36,7 +36,7 @@
\author{American Mathematical Society\\Michael Downes\\
updated by Barbara Beeton}
\date{Version \fileversion, \filedate}
-\hDocInput{amsclass.dtx}
+\DocInput{amsclass.dtx}
\end{document}
%</driver>
% \fi
@@ -74,13 +74,13 @@
\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
[1995/06/01]% LaTeX date must be June 1995 or later
%<*amsart>
-\ProvidesClass{amsart}[2009/07/02 v2.20.1]
+\ProvidesClass{amsart}[2015/03/10 v2.20.2]
%</amsart>
%<*amsproc>
-\ProvidesClass{amsproc}[2009/07/02 v2.20.1]
+\ProvidesClass{amsproc}[2015/03/10 v2.20.2]
%</amsproc>
%<*amsbook>
-\ProvidesClass{amsbook}[2009/07/02 v2.20.1]
+\ProvidesClass{amsbook}[2015/03/10 v2.20.2]
%</amsbook>
% \end{macrocode}
% For \pkg{amsthm} we need to guard against redundant loading via
@@ -97,7 +97,7 @@
\csname ver@\@currname.\@currext\endcsname
%</classes>
%<*amsthm>
-\ProvidesPackage{amsthm}[2009/07/02 v2.20.1]
+\ProvidesPackage{amsthm}[2015/03/10 v2.20.2]
%</amsthm>
% \end{macrocode}
%
@@ -4836,10 +4836,21 @@
% If arg 2 is \cs{m@th} when we make this test it indicates that the
% fleqn option is in effect. Perhaps try to do something there.
% \begin{macrocode}
- \def\@tempa#1$#2#3\@nil{%
- \def\[{#1$#2\def\@currenvir{displaymath}#3}%
- }%
- \expandafter\@tempa\[\@nil
+ \def\@tempa#1$#2#3\@nil#4{%
+ \def#4{#1$#2\def\@currenvir{displaymath}#3}%
+ }%
+% \end{macrocode}
+% If \cn{[} has already been made robust (by \pkg{fixltx2e} or
+% a \LaTeX\ format from 2015 or later), patch the internal macro
+% \cs{[<space>} instead.
+% \begin{macrocode}
+ \expandafter\ifx\csname[ \endcsname\relax
+ \expandafter\@tempa\[\@nil\[%
+ \else
+ \expandafter\expandafter\expandafter\@tempa\csname[
+ \expandafter\endcsname\expandafter\@nil
+ \csname[ \endcsname
+ \fi
}
% \end{macrocode}
%
@@ -5188,5 +5199,4 @@ Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
%
% \changes{v2.13}{2002/12/06}{Added a warning for thanks inside author}
%
-% \CheckSum{5684}
% \Finale