summaryrefslogtreecommitdiff
path: root/macros/latex/base/lttextcomp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/base/lttextcomp.dtx')
-rw-r--r--macros/latex/base/lttextcomp.dtx17
1 files changed, 11 insertions, 6 deletions
diff --git a/macros/latex/base/lttextcomp.dtx b/macros/latex/base/lttextcomp.dtx
index eca72e4d28..c918a836f9 100644
--- a/macros/latex/base/lttextcomp.dtx
+++ b/macros/latex/base/lttextcomp.dtx
@@ -1397,7 +1397,6 @@
%
% \begin{macrocode}
%<*TS1sty>
-\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\providecommand\DeclareRelease[3]{}
\providecommand\DeclareCurrentRelease[2]{}
@@ -1405,7 +1404,13 @@
\DeclareCurrentRelease{}{2020-02-02}
\ProvidesPackage{textcomp}
- [2020/02/02 v2.0m Standard LaTeX package]
+ [2020/02/02 v2.0n Standard LaTeX package]
+% \end{macrocode}
+%
+% A precaution in case this is used without rebuilding the format.
+% \changes{v2.0n}{2020/02/05}{Ensure we are on a new format (gh/260)}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}[2020/02/02]
% \end{macrocode}
%
% This is implemented by defining the default subset:
@@ -1423,12 +1428,12 @@
% results to ensure that there aren't ``missing glyphs''.
%
% The next set of options define the warning level (default in the
-% kernel is info only). If you load the package then the default
-% changes to produce an error message if any substitution happens.
+% kernel is info only). Using the package options you can change this behavior.
+% \changes{v2.0n}{2020/02/05}{Changed the package default to info (gh/262)}
% \begin{macrocode}
-\def\tc@errorwarn{\PackageError{textcomp}}
\DeclareOption{error}{\gdef\tc@errorwarn{\PackageError{textcomp}}}
\DeclareOption{warn}{\gdef\tc@errorwarn#1#2{\PackageWarning{textcomp}{#1}}}
+\DeclareOption{info}{\gdef\tc@errorwarn#1#2{\PackageInfo{textcomp}{#1}}}
\DeclareOption{quiet}{\gdef\tc@errorwarn#1#2{}}
% \end{macrocode}
%
@@ -1453,7 +1458,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\ExecuteOptions{}
+\ExecuteOptions{info}
\ProcessOptions\relax
% \end{macrocode}
%