summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/silence
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-03 16:23:53 +0000
committerKarl Berry <karl@freefriends.org>2009-04-03 16:23:53 +0000
commit2c6efb10e65099a14b97c9f063b0ddad238fa738 (patch)
treea33e4ead469d8d451df9ea11574e4d51de586c2d /Master/texmf-dist/tex/latex/silence
parenta14cfc3b6e487853838ffee086d9c3cff2d95286 (diff)
silence update (2apr09)
git-svn-id: svn://tug.org/texlive/trunk@12616 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/silence')
-rw-r--r--Master/texmf-dist/tex/latex/silence/silence.sty10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/silence/silence.sty b/Master/texmf-dist/tex/latex/silence/silence.sty
index 521e15907a7..ef5d4f78c11 100644
--- a/Master/texmf-dist/tex/latex/silence/silence.sty
+++ b/Master/texmf-dist/tex/latex/silence/silence.sty
@@ -9,7 +9,7 @@
%% ******************************************************************************
%% ******************************************************************************
%% ** **
-%% ** silence v.1.1 by Paul Isambert **
+%% ** silence v.1.2 by Paul Isambert **
%% ** See the documentation for a comment on the implementation. **
%% ** **
%% ** This set of macros is published under the LaTeX Project Public License: **
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{silence}[2009/02/20 v1.1 Selective filtering of warnings and error messages]
+\ProvidesPackage{silence}[2009/04/02 v1.2 Selective filtering of warnings and error messages]
\makeatletter
\newcount\sl@Save
@@ -366,6 +366,7 @@
\let\sl@PackageWarning\PackageWarning
\let\sl@ClassWarning\ClassWarning
\let\sl@latex@warning\@latex@warning
+\let\sl@font@warning\@font@warning
\def\PackageWarning#1#2{%
\def\sl@PackageName{#1}%
@@ -409,6 +410,11 @@
\sl@NoLinetrue%
\@latex@warning{#1\@gobble}}
+\def\@font@warning#1{%
+ \def\sl@PackageName{latexfont}%
+ \sl@StoreMessage{#1}%
+ \sl@font@warning{#1}}
+
\DeclareRobustCommand{\GenericWarning}[2]{%
\advance\sl@WarningCount1\relax%
\sl@KillMessagefalse%