Skip to content

Commit 2ca263e

Browse files
fix for #423
1 parent d3eb59e commit 2ca263e

File tree

6 files changed

+79
-6
lines changed

6 files changed

+79
-6
lines changed

base/changes.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ are not part of the distribution.
1010
All changes above are only part of the development branch for the next release.
1111
================================================================================
1212

13+
2020-11-09 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
14+
15+
* ltmath.dtx:
16+
\negmedspace and \negthickspace have been only in amsmath,
17+
so we need to undefine for rollback because amsmath used
18+
\newcommand back then (gh/423)
19+
20+
2020-11-09 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
21+
22+
* ltclass.dtx (section{Package/class rollback mechanism}):
23+
Change help text for suspicous rollback, because the package may have
24+
existed then --- there is just no rollback data (gh/423)
25+
1326
#########################
1427
# 2020-10-01 PL 2 Release
1528
#########################

base/ltclass.dtx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
%<*driver>
3434
% \fi
3535
\ProvidesFile{ltclass.dtx}
36-
[2020/10/18 v1.3t LaTeX Kernel (Class & Package Interface)]
36+
[2020/11/09 v1.3u LaTeX Kernel (Class & Package Interface)]
3737
% \iffalse
3838
\documentclass{ltxdoc}
3939
\GetFileInfo{ltclass.dtx}
@@ -3271,19 +3271,20 @@
32713271
% A similar error is given if global rollback date and min-date on
32723272
% a specific package conflict with each other, but that case is
32733273
% happens only once so it is inlined.
3274+
% \changes{v1.3u}{2020/11/09}{Change help text because the package may have
3275+
% existed then --- there is just no rollback data (gh/423).}
32743276
% \begin{macrocode}
32753277
\def\pkgcls@rollbackdate@error#1{%
32763278
\@latex@error{Suspicious rollback date given}%
3277-
{The \@cls@pkg\space'\@currname' claims that it
3278-
came into existence on #1 which\MessageBreak
3279+
{The \@cls@pkg\space'\@currname' has no rollback data
3280+
before #1 which\MessageBreak
32793281
is after your requested rollback date --- so
3280-
something is wrong here.\MessageBreak
3282+
something may be wrong here.\MessageBreak
32813283
Continue and we use the earliest known release.}}
32823284
% \end{macrocode}
32833285
% \end{macro}
32843286
%
32853287
%
3286-
%
32873288
% \begin{macro}{\DeclareCurrentRelease}
32883289
% This declares the date (and possible name) of the current version
32893290
% of a package or class.

base/ltmath.dtx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
%<*driver>
3939
% \fi
4040
\ProvidesFile{ltmath.dtx}
41-
[2020/07/27 v1.2g LaTeX Kernel (Math Setup)]
41+
[2020/11/09 v1.2h LaTeX Kernel (Math Setup)]
4242
% \iffalse
4343
%</driver>
4444
%
@@ -593,6 +593,13 @@
593593
%<latexrelease>\def\;{\mskip\thickmuskip}
594594
%<latexrelease>\def\!{\mskip-\thinmuskip}
595595
%<latexrelease>
596+
% \end{macrocode}
597+
% \changes{v1.2h}{2020/11/09}{\cs{negmedspace} and \cs{negthickspace}
598+
% have been only in amsmath, so we need to undefine for rollback (gh/423)}
599+
% \begin{macrocode}
600+
%<latexrelease>\let\negmedspace\@undefined
601+
%<latexrelease>\let\negthickspace\@undefined
602+
%<latexrelease>
596603
%<latexrelease>\EndIncludeInRelease
597604
%<*2ekernel>
598605
% \end{macrocode}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
% rollback did fail because amsmath used \newcommand :-(
2+
3+
\RequirePackage[2018/11/01]{latexrelease}
4+
5+
\documentclass{article}
6+
7+
\usepackage{amsmath}
8+
9+
\input{test2e}
10+
11+
\START
12+
13+
\begin{document}
14+
15+
16+
\END
17+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
This is a generated file for the LaTeX2e validation system.
2+
Don't change this file in any respect.
3+
(github-0423.aux)
4+
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
5+
LaTeX Font Info: ... okay on input line ....
6+
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line ....
7+
LaTeX Font Info: ... okay on input line ....
8+
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line ....
9+
LaTeX Font Info: ... okay on input line ....
10+
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line ....
11+
LaTeX Font Info: ... okay on input line ....
12+
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line ....
13+
LaTeX Font Info: ... okay on input line ....
14+
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line ....
15+
LaTeX Font Info: ... okay on input line ....
16+
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
17+
LaTeX Font Info: ... okay on input line ....
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
This is a generated file for the LaTeX2e validation system.
2+
Don't change this file in any respect.
3+
(github-0423.aux)
4+
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
5+
LaTeX Font Info: ... okay on input line ....
6+
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line ....
7+
LaTeX Font Info: ... okay on input line ....
8+
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line ....
9+
LaTeX Font Info: ... okay on input line ....
10+
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line ....
11+
LaTeX Font Info: ... okay on input line ....
12+
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line ....
13+
LaTeX Font Info: ... okay on input line ....
14+
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line ....
15+
LaTeX Font Info: ... okay on input line ....
16+
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
17+
LaTeX Font Info: ... okay on input line ....
18+
LaTeX Font Info: Trying to load font information for TU+lmr on input line ....

0 commit comments

Comments
 (0)