diff options
author | Karl Berry <karl@freefriends.org> | 2025-01-01 20:55:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2025-01-01 20:55:05 +0000 |
commit | 8368d3486672d9818decd3555bb03cde2a1e4130 (patch) | |
tree | f01d1d229cc86308a0420a3f7a2eef9845540522 /Master/texmf-dist/tex/latex/warning | |
parent | be6d32c25d029fcd17acc913bbeb7fe5cbf5564e (diff) |
warning (1jan25)
git-svn-id: svn://tug.org/texlive/trunk@73265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/warning')
-rw-r--r-- | Master/texmf-dist/tex/latex/warning/warning.sty | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/warning/warning.sty b/Master/texmf-dist/tex/latex/warning/warning.sty index 0a8e3e5b7d8..a48327aac8e 100644 --- a/Master/texmf-dist/tex/latex/warning/warning.sty +++ b/Master/texmf-dist/tex/latex/warning/warning.sty @@ -1,10 +1,10 @@ %% %% Project: warning -%% Version: 2023-03-18 v0.10 +%% Version: 2025-01-01 v0.11 %% Info: Global warnings at the end of the screen output and the logfile %% -%% Copyright © 2001, 2023 Harald Harders (harald.harders@gmx.de; inactive) -%% (2023-03-18 update done by H.-Martin Münch, <Martin dot Muench at Uni-Bonn dot de>) +%% Copyright © 2001, 2023, 2025 Harald Harders (harald.harders@gmx.de; inactive) +%% (2025-01-01 update done by H.-Martin Münch, <Martin dot Muench at Uni-Bonn dot de>) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -22,17 +22,15 @@ %% and do not load the warning package. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{warning}[2023/03/18 v0.10 Global warnings at end of logfile] +\ProvidesPackage{warning}[2025/01/01 v0.11 Global warnings at end of logfile] \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020/10/01}{ \NewDocumentCommand\addglobalwarning{m}{\AddToHook{enddocument/info}{#1}} - \addglobalwarning{% - \PackageWarningNoLine{warning}{Package warning is obsolete.\MessageBreak% - Instead of \string\addglobalwarning{ something } use \MessageBreak% - \string\AddToHook{enddocument/info}{ something }\MessageBreak% - and do not load the warning package} - } + \PackageError{warning}{Package warning is obsolete}{% + Instead of \string\addglobalwarning{ something } use\MessageBreak% + \string\AddToHook{enddocument/info}{ something }\MessageBreak% + and do not load the warning package.} \def\wrn@warning{\endinput} }{\let\wrn@warning\relax \AtBeginDocument{\addglobalwarning{\PackageWarningNoLine{warning}{% |