summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/withargs/withargs.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-04 22:17:41 +0000
committerKarl Berry <karl@freefriends.org>2019-11-04 22:17:41 +0000
commitbee9956a06bb587c02b1d9da46337be8ce19f6f7 (patch)
tree985f75831affd33cc8273ea1ad42d8cded344d4b /Master/texmf-dist/doc/latex/withargs/withargs.tex
parenta0fe7d1391e4a4e7c77a213e129c814634fb0512 (diff)
withargs (4nov19)
git-svn-id: svn://tug.org/texlive/trunk@52641 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/withargs/withargs.tex')
-rw-r--r--Master/texmf-dist/doc/latex/withargs/withargs.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/withargs/withargs.tex b/Master/texmf-dist/doc/latex/withargs/withargs.tex
index a34e0dcda50..bbe63332bdd 100644
--- a/Master/texmf-dist/doc/latex/withargs/withargs.tex
+++ b/Master/texmf-dist/doc/latex/withargs/withargs.tex
@@ -30,6 +30,20 @@
withargs:nn,withargs:cn
}
+% Ugly hack, because of the unfortunate deprecation of 'n' to 'c' conversion,
+% plus the fact that kernel errors, even non-fatal ones, cannot be redirected.
+% Will think of a better solution at some point, but not now.
+\ExplSyntaxOn
+\let\__withargs_docs_old_kernel_msg_error:nnnnnn\__kernel_msg_error:nnnnnn
+\def\__kernel_msg_error:nnnnnn#1#2{
+ \str_if_eq:nnTF { #1/#2 } { kernel/deprecated-variant }{
+ \__kernel_msg_warning:nnnnnn{#1}{#2}
+ }{
+ \__withargs_docs_old_kernel_msg_error:nnnnnn{#1}{#2}
+ }
+}
+\ExplSyntaxOff
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Global Changes %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -46,6 +60,9 @@
\changes{0.2.0}{2016/12/19}
{adjusted code to new version of expl3}
+\changes{0.3.1}{2019/11/04}
+ {adjusted code to new version of expl3}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%