summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-01 20:55:05 +0000
committerKarl Berry <karl@freefriends.org>2025-01-01 20:55:05 +0000
commit8368d3486672d9818decd3555bb03cde2a1e4130 (patch)
treef01d1d229cc86308a0420a3f7a2eef9845540522
parentbe6d32c25d029fcd17acc913bbeb7fe5cbf5564e (diff)
warning (1jan25)
git-svn-id: svn://tug.org/texlive/trunk@73265 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/warning/README2
-rw-r--r--Master/texmf-dist/doc/latex/warning/warning-doc.pdfbin288383 -> 288203 bytes
-rw-r--r--Master/texmf-dist/doc/latex/warning/warning-doc.tex4
-rw-r--r--Master/texmf-dist/tex/latex/warning/warning.sty18
4 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/warning/README b/Master/texmf-dist/doc/latex/warning/README
index b80a18f2689..7fa2066fd5a 100644
--- a/Master/texmf-dist/doc/latex/warning/README
+++ b/Master/texmf-dist/doc/latex/warning/README
@@ -1,4 +1,4 @@
-README for warning package, 2023-03-18, v0.10
+README for warning package, 2025-01-01, v0.11
TABLE OF CONTENTS
diff --git a/Master/texmf-dist/doc/latex/warning/warning-doc.pdf b/Master/texmf-dist/doc/latex/warning/warning-doc.pdf
index b3c6f60b2d0..fb776abae18 100644
--- a/Master/texmf-dist/doc/latex/warning/warning-doc.pdf
+++ b/Master/texmf-dist/doc/latex/warning/warning-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/warning/warning-doc.tex b/Master/texmf-dist/doc/latex/warning/warning-doc.tex
index 82a93be17eb..d14a0896e59 100644
--- a/Master/texmf-dist/doc/latex/warning/warning-doc.tex
+++ b/Master/texmf-dist/doc/latex/warning/warning-doc.tex
@@ -30,10 +30,10 @@
numberstyle=\scriptsize\color{SlateGray}%
}
-\title{The \pkg{warning} package\thanks{This manual corresponds to \pkg{warning.sty}~v0.10, dated~2023-03-18.}}
+\title{The \pkg{warning} package\thanks{This manual corresponds to \pkg{warning.sty}~v0.11, dated~2025-01-01.}}
\subtitle{Global warnings at the end of the screen output\\and the logfile}
\author{Harald Harders\thanks{\mail{harald.harders@gmx.de}}\hspace{0.7em}(inactive)}
-\date{2023-03-18}% (2023-03-18 update done by H.-Martin Münch, <Martin dot Muench at Uni-Bonn dot de>)
+\date{2025-01-01}% (2025-01-01 update done by H.-Martin Münch, <Martin dot Muench at Uni-Bonn dot de>)
\begin{document}
\maketitle
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}{%