[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Use \NewModuleRelease for lttextcomp (2dacc128)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Mar 20 02:27:33 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/2dacc12876fd0c3b7e7c2b5ee3ae4a8392597472

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

commit 2dacc12876fd0c3b7e7c2b5ee3ae4a8392597472
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Mar 19 22:27:33 2021 -0300

    Use \NewModuleRelease for lttextcomp


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

2dacc12876fd0c3b7e7c2b5ee3ae4a8392597472
 base/lttextcomp.dtx | 68 ++++++++++++++++-------------------------------------
 1 file changed, 20 insertions(+), 48 deletions(-)

diff --git a/base/lttextcomp.dtx b/base/lttextcomp.dtx
index d840f044..7cf23f26 100644
--- a/base/lttextcomp.dtx
+++ b/base/lttextcomp.dtx
@@ -36,7 +36,7 @@
 %
 %
 \ProvidesFile{lttextcomp.dtx}
-             [2021/01/20 v1.0d LaTeX Kernel (text companion symbols)]
+             [2021/03/19 v1.0e LaTeX Kernel (text companion symbols)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -70,20 +70,22 @@
 %
 % \StopEventually{}
 %
+% \changes{v1.0e}{2021/03/19}
+%         {Use \cs{NewModuleRelease}}
+%    \begin{macrocode}
+%<*2ekernel|latexrelease>
+%<latexrelease>\NewModuleRelease{lttextcomp}{2020/02/02}
+%    \end{macrocode}
 %
 %  \begin{macro}{\oldstylenums}
 %  \begin{macro}{\legacyoldstylenums}
 %
-%
 %    Preserve the old definition of \cs{oldstylenums} under a different name.
 %
 %    This macro implements old style numerals but only works if we
 %    assume that the standard math fonts are used. Thus it needs
 %    changing in case other math encodings are used.
 %    \begin{macrocode}
-%<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2020/02/02}%
-%<latexrelease>                 {\oldstylenums}{Old style numerals}%
 \DeclareRobustCommand\legacyoldstylenums[1]{%
    \begingroup
 %    \end{macrocode}
@@ -157,44 +159,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-%
-%    \begin{macrocode}
-%</2ekernel|latexrelease>
-%<latexrelease>\EndIncludeInRelease
-%<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease>                 {\oldstylenums}{Old style numerals}%
-%<latexrelease>
-%<latexrelease>\DeclareRobustCommand\oldstylenums[1]{%
-%<latexrelease>   \begingroup
-%<latexrelease>    \spaceskip\fontdimen\tw@\font
-%<latexrelease>    \usefont{OML}{\rmdefault}{\f at series}{it}%
-%<latexrelease>    \mathgroup\symletters #1%
-%<latexrelease>   \endgroup
-%<latexrelease>}
-%<latexrelease>\let\legacyoldstylenums\@undefined
-%<latexrelease>\def\textcompsubstdefault{cmr}
-%<latexrelease>
-%<latexrelease>\EndIncludeInRelease
-%    \end{macrocode}
-%
-%
-
-
-
-
-
-%    Everything else in the this file got introduced 2020/02/02, so we do a
-%    single rollback (for now).
-%    \begin{macrocode}
-%<*2ekernel>
-%</2ekernel>
-%<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2020/02/02}%
-%<latexrelease>   {\DeclareEncodingSubset}{Text companion symbols}%
-%    \end{macrocode}
-%
-%
-%
 %  \begin{macro}{\DeclareEncodingSubset}
 %
 %     The declaration takes 3 mandatory arguments: an \emph{encoding}
@@ -1300,9 +1264,19 @@
 % Supporting rollback \ldots
 %    \begin{macrocode}
 %</2ekernel|latexrelease>
-%<latexrelease>\EndIncludeInRelease
+%<latexrelease>
 %<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease>   {\DeclareEncodingSubset}{Text companion symbols}%
+%<latexrelease>     {lttextcomp}{Undefine text companion symbols}%
+%<latexrelease>
+%<latexrelease>\DeclareRobustCommand\oldstylenums[1]{%
+%<latexrelease>   \begingroup
+%<latexrelease>    \spaceskip\fontdimen\tw@\font
+%<latexrelease>    \usefont{OML}{\rmdefault}{\f at series}{it}%
+%<latexrelease>    \mathgroup\symletters #1%
+%<latexrelease>   \endgroup
+%<latexrelease>}
+%<latexrelease>\let\legacyoldstylenums\@undefined
+%<latexrelease>\def\textcompsubstdefault{cmr}
 %<latexrelease>
 %<latexrelease>\let\DeclareEncodingSubset\@undefined
 %<latexrelease>\let\CheckEncodingSubset\@undefined
@@ -1493,9 +1467,7 @@
 %<latexrelease>\let\textlegacyperiodcentered\@undefined
 %<latexrelease>\let\textlegacysection\@undefined
 %<latexrelease>
-%<latexrelease>\EndIncludeInRelease
-%<*2ekernel>
-%</2ekernel>
+%<latexrelease>\EndModuleRelease
 %    \end{macrocode}
 %
 %





More information about the latex3-commits mailing list.