[latex3-commits] [git/LaTeX3-latex3-latex2e] gh917+958: silent -> nowarn (5a4c7250)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Nov 16 23:26:08 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : gh917+958
Link : https://github.com/latex3/latex2e/commit/5a4c7250ef968e81878a36c3c9f4ea40403ce23a
>---------------------------------------------------------------
commit 5a4c7250ef968e81878a36c3c9f4ea40403ce23a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Nov 16 23:26:08 2022 +0100
silent -> nowarn
>---------------------------------------------------------------
5a4c7250ef968e81878a36c3c9f4ea40403ce23a
base/changes.txt | 2 +-
base/doc/ltnews37.tex | 2 +-
base/ltclass.dtx | 12 ++++++------
base/testfiles/github-0917+0958.luatex.tlg | 2 +-
base/testfiles/github-0917+0958.lvt | 8 ++++----
base/testfiles/github-0917+0958.tlg | 2 +-
6 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index bf417774..1ddeed47 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -14,7 +14,7 @@ All changes above are only part of the development branch for the next release.
2022-11-16 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltclass.dtx:
- Introduce key 'silent' on filecontents (gh/958)
+ Introduce key 'nowarn' on filecontents (gh/958)
Do not show "current dir" in message (gh/917)
2022-11-13 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index bac0d96c..9500ae7b 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -199,7 +199,7 @@ desired effect.
The \env{filecontents} environment warns on the terminal if a file
gets overwritten even if that is intentional,
e.g., when you write a temporary file over and over again. To make
-the warning less noisy in this case we added a new \texttt{silent} key
+the warning less noisy in this case we added a new \texttt{nowarn} key
that redirects the overwriting warning to the transcript file. We
think that some record of the action is still required to help with
debugging, thus it is not completely silenced. The warning that
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 3c0d112d..63c42f6c 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -2813,7 +2813,7 @@
% unknown option.
% \changes{v1.3h}{2020/01/28}{Allow spaces in option string and display
% only unknown options not the whole option list (gh/256)}
-% \changes{v1.5f}{2022/11/16}{Introduce key 'silent' on filecontents (gh/958)}
+% \changes{v1.5f}{2022/11/16}{Introduce key 'nowarn' on filecontents (gh/958)}
% \begin{macrocode}
\def\filec at ntents@opt[#1]{%
\edef\@fortmp{\zap at space#1 \@empty}%
@@ -2822,7 +2822,7 @@
\csname filec at ntents@\reserved at a\endcsname
\else
\@latex at error{Unknown filecontents option \reserved at a}%
- {Valid options are force (or overwrite), nosearch, noheader, silent}%
+ {Valid options are force (or overwrite), nosearch, noheader, nowarn}%
\fi}%
\filec at ntents
}
@@ -2850,11 +2850,11 @@
\let\filec at ntents@checkdir\@empty
\def\filec at ntents@where{exists on the system}
% \end{macrocode}
-% Option \texttt{silent} does not show any warning on the terminal
+% Option \texttt{nowarn} does not show any warning on the terminal
% but still writes it to the \texttt{.log}.
-% \changes{v1.5f}{2022/11/16}{Introduce key 'silent' on filecontents (gh/958)}
+% \changes{v1.5f}{2022/11/16}{Introduce key 'nowarn' on filecontents (gh/958)}
% \begin{macrocode}
-\def\filec at ntents@silent{%
+\def\filec at ntents@nowarn{%
\let\filec at ntents@warning\@latex at note@no at line
}
% \end{macrocode}
@@ -2938,7 +2938,7 @@
% on the terminal.
% \changes{v1.3g}{2020/01/27}{Fix typo in error message}
% \changes{v1.3j}{2020/02/20}{Fix missing quotes around file name (gh/284)}
-% \changes{v1.5f}{2022/11/16}{Introduce key 'silent' on filecontents (gh/958)}
+% \changes{v1.5f}{2022/11/16}{Introduce key 'nowarn' on filecontents (gh/958)}
% \changes{v1.5f}{2022/11/16}{Do not show "current dir" in message (gh/917)}
% \begin{macrocode}
\ch at ck7\reserved at c\write\relax%
diff --git a/base/testfiles/github-0917+0958.luatex.tlg b/base/testfiles/github-0917+0958.luatex.tlg
index b5e16753..b736ccba 100644
--- a/base/testfiles/github-0917+0958.luatex.tlg
+++ b/base/testfiles/github-0917+0958.luatex.tlg
@@ -23,5 +23,5 @@ in ././github-0917+0958-file.tex
LaTeX Info: Writing or overwriting file `./github-0917+0958-file.tex'.
\openout127 = ./github-0917+0958-file.tex
(github-0917+0958-file.tex
-in github-0917+0958-file.tex forced silent
+in github-0917+0958-file.tex forced nowarn
)
diff --git a/base/testfiles/github-0917+0958.lvt b/base/testfiles/github-0917+0958.lvt
index 803a276c..9304145c 100644
--- a/base/testfiles/github-0917+0958.lvt
+++ b/base/testfiles/github-0917+0958.lvt
@@ -22,14 +22,14 @@
\input{\jobname-file.tex}
-\begin{filecontents}[nosearch,silent]{\jobname-file.tex}
-\typeout{in \jobname-file.tex not forced silent}
+\begin{filecontents}[nosearch,nowarn]{\jobname-file.tex}
+\typeout{in \jobname-file.tex not forced nowarn}
\end{filecontents}
\input{\jobname-file.tex}
-\begin{filecontents}[nosearch,force,silent]{\jobname-file.tex}
-\typeout{in \jobname-file.tex forced silent}
+\begin{filecontents}[nosearch,force,nowarn]{\jobname-file.tex}
+\typeout{in \jobname-file.tex forced nowarn}
\end{filecontents}
\input{\jobname-file.tex}
diff --git a/base/testfiles/github-0917+0958.tlg b/base/testfiles/github-0917+0958.tlg
index 063ece9b..75fa58ff 100644
--- a/base/testfiles/github-0917+0958.tlg
+++ b/base/testfiles/github-0917+0958.tlg
@@ -20,5 +20,5 @@ in ././github-0917+0958-file.tex
)
LaTeX Info: Writing or overwriting file `./github-0917+0958-file.tex'.
(github-0917+0958-file.tex
-in github-0917+0958-file.tex forced silent
+in github-0917+0958-file.tex forced nowarn
)
More information about the latex3-commits
mailing list.