summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/expl3.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/expl3.dtx32
1 files changed, 14 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
index 3d261943684..f99bca058f2 100644
--- a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
@@ -23,7 +23,7 @@
% for those people who are interested.
%
%<*driver|generic|package>
-\def\ExplFileDate{2019-02-15}%
+\def\ExplFileDate{2019-03-05}%
%</driver|generic|package>
%<*driver>
\documentclass[full]{l3doc}
@@ -51,7 +51,7 @@
% }^^A
% }
%
-% \date{Released 2019-02-15}
+% \date{Released 2019-03-05}
%
% \maketitle
%
@@ -917,6 +917,12 @@
% the option name alone is equivalent to using the option with the
% \texttt{true} value.
%
+% \DescribeOption{undo-recent-deprecations}
+% The \texttt{undo-recent-deprecations} option suppresses deprecation
+% errors for the first six months after a command is deprecated. It is
+% intended as a last resort measure for users of packages that were not
+% updated in time.
+%
% \DescribeOption{check-declarations}
% All variables used in \LaTeX3 code should be declared. This is enforced
% by \TeX{} for variable types based on \TeX{} registers, but not for those
@@ -1190,6 +1196,7 @@
% \begin{macro}[int]{\expl@create@bool@option}
% \begin{variable}[int]
% {
+% \l@expl@undo@recent@deprecations@bool ,
% \l@expl@check@declarations@bool ,
% \l@expl@log@functions@bool ,
% \l@expl@enable@debug@bool
@@ -1213,6 +1220,8 @@
\newcommand*#2{}%
\chardef #2=0 %
}%
+\expl@create@bool@option
+ {undo-recent-deprecations}\l@expl@undo@recent@deprecations@bool
\expl@create@bool@option{check-declarations}\l@expl@check@declarations@bool
\expl@create@bool@option{log-functions}\l@expl@log@functions@bool
\expl@create@bool@option{enable-debug}\l@expl@enable@debug@bool
@@ -1242,10 +1251,6 @@
% \end{variable}
% \end{macro}
%
-% \begin{macro}{\GetIdInfo}
-% This is implemented right at the start of \texttt{l3bootstrap.dtx}.
-% \end{macro}
-%
% \begin{macro}{\ProvidesExplPackage, \ProvidesExplClass, \ProvidesExplFile}
% For other packages and classes building on this one it is convenient
% not to need \cs{ExplSyntaxOn} each time.
@@ -1282,18 +1287,6 @@
\fi
% \end{macrocode}
%
-% \begin{macro}{\color}
-% The \cs{color} macro must be defined for showing coffin poles, so
-% a no-op version is provided here.
-% \begin{macrocode}
-\AtBeginDocument
- {
- \cs_if_exist:NF \color
- { \DeclareRobustCommand \color [2] [ ] { } }
- }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{variable}{\l__expl_driver_tl}
% \begin{variable}{\l__expl_native_drivers_bool}
% With the code now loaded, options can be handled using a real key--value
@@ -1434,6 +1427,7 @@
% \begin{macrocode}
\keys_define:nn { expl }
{
+ undo-recent-deprecations .bool_set:N = \l@expl@undo@recent@deprecations@bool,
check-declarations .bool_set:N = \l@expl@check@declarations@bool,
log-functions .bool_set:N = \l@expl@log@functions@bool
}
@@ -1667,6 +1661,7 @@
%
% \begin{variable}[int]
% {
+% \l@expl@undo@recent@deprecations@bool ,
% \l@expl@check@declarations@bool ,
% \l@expl@log@functions@bool ,
% \l@expl@enable@debug@bool
@@ -1675,6 +1670,7 @@
% the two variables are defined to do nothing.
% Appropriate value before input of the loader.
% \begin{macrocode}
+\chardef \l@expl@undo@recent@deprecations@bool = 0 %
\chardef \l@expl@check@declarations@bool = 0 %
\chardef \l@expl@log@functions@bool = 0 %
\chardef \l@expl@enable@debug@bool = 0 %