[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh422: ... and to unchanged macros (0cb3e901)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed Nov 11 06:58:51 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/gh422
Link       : https://github.com/latex3/latex2e/commit/0cb3e901e282efaf5ea72da71e28856ab3ae3aee

>---------------------------------------------------------------

commit 0cb3e901e282efaf5ea72da71e28856ab3ae3aee
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Nov 11 02:58:51 2020 -0300

    ... and to unchanged macros
    
    Actually it does change, but it's really sneaky... sigh


>---------------------------------------------------------------

0cb3e901e282efaf5ea72da71e28856ab3ae3aee
 base/ltclass.dtx | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 324c357b..d501c728 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -1094,9 +1094,18 @@
 %
 % \begin{macro}{\ProvidesClass}
 %    Like |\ProvidesPackage|, but for classes.
+%    This needs a dummy \pkg{latexrelease} block to copy the definition
+%    of \cs{ProvidesPackage} as it changes across releases.
 %    \begin{macrocode}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>  {\ProvidesClass}{Track \ProvidesPackage}%
+%<*2ekernel|latexrelease>
 \let\ProvidesClass\ProvidesPackage
 \@onlypreamble\ProvidesClass
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list.