diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/silence/silence-doc.pdf | bin | 256188 -> 260298 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/silence/silence-doc.dtx | 31 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/silence/silence.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/silence/silence.sty | 10 |
4 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/silence/silence-doc.pdf b/Master/texmf-dist/doc/latex/silence/silence-doc.pdf Binary files differindex 98bc5163c99..e6c0c6e00ae 100644 --- a/Master/texmf-dist/doc/latex/silence/silence-doc.pdf +++ b/Master/texmf-dist/doc/latex/silence/silence-doc.pdf diff --git a/Master/texmf-dist/source/latex/silence/silence-doc.dtx b/Master/texmf-dist/source/latex/silence/silence-doc.dtx index 2d8dcaa5cb6..2e6e4bb112a 100644 --- a/Master/texmf-dist/source/latex/silence/silence-doc.dtx +++ b/Master/texmf-dist/source/latex/silence/silence-doc.dtx @@ -2,7 +2,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: ** @@ -25,13 +25,12 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e} -%<package>\ProvidesPackage{silence}[2009/02/20 v1.1 Selective filtering of warnings and error messages] +%<package>\ProvidesPackage{silence}[2009/04/02 v1.2 Selective filtering of warnings and error messages] %<*driver> \documentclass[a4paper]{ltxdoc} \usepackage[T1]{fontenc} \usepackage{silence} \usepackage[left=5cm,textwidth=14cm,textheight=23cm]{geometry} -\RecordChanges \begin{document} \DocInput{silence-doc.dtx} \end{document} @@ -66,8 +65,17 @@ %targeted too. \TeX's messages are left untouched. %\end{abstract} % -% \tableofcontents -% +% +% \tableofcontents\clearpage +% +%\setcounter{section}{-1} +% +%\section{Changes} +%\def\Change#1#2#3{\par\noindent\llap{\textbullet\ }\textbf{#1} (#2)\leaders\hbox{... }\hfill#3\par} +% +%\Change{v1.1}{2009/03/20}{Initial version} +%\Change{v1.2}{2009/04/02}{\texttt{LaTeX Font Warning}s can be filtered} +% %\section{Introduction} %When working with \LaTeX, messages are utterly important. % @@ -125,8 +133,10 @@ %warnings. The important part for "silence" is \meta{Name of the %package} or \meta{Name of the class}, because the information %is needed when filtering messages. In case of a \LaTeX\ message, -%\meta{Name of the package} is supposed to be "latex". For filters, -%\meta{message text} will be crucial too. +%\meta{Name of the package} is supposed to be "latex". In case +%of a `\texttt{LaTeX Font}' message, \meta{Name of the package} +%is "latexfont" by convention. +%For filters, \meta{message text} will be crucial too. % %If a message doesn't begin as above, but displays its text %immediately, then it has been sent by \TeX; "silence" cannot @@ -1408,6 +1418,7 @@ \let\sl@PackageWarning\PackageWarning \let\sl@ClassWarning\ClassWarning \let\sl@latex@warning\@latex@warning +\let\sl@font@warning\@font@warning % \end{macrocode} % \DescribeMacro{\PackageWarning} @@ -1443,6 +1454,7 @@ % \DescribeMacro{\ClassWarning}\DescribeMacro{\ClassWarningNoLine} % \DescribeMacro{\@latex@warning}\DescribeMacro{\@latex@warning@no@line} +% \DescribeMacro{\@font@warning} % We do exactly the same for class warnings and \LaTeX\ warnings, except % that in the latter case we manually set "\sl@PackageName" to "latex". % @@ -1474,6 +1486,11 @@ \sl@StoreMessage{#1}% \sl@NoLinetrue% \@latex@warning{#1\@gobble}} + +\def\@font@warning#1{% + \def\sl@PackageName{latexfont}% + \sl@StoreMessage{#1}% + \sl@font@warning{#1}} % \end{macrocode} % \DescribeMacro{\GenericWarning} diff --git a/Master/texmf-dist/source/latex/silence/silence.ins b/Master/texmf-dist/source/latex/silence/silence.ins index 17564a3eb0e..658c4960ec9 100644 --- a/Master/texmf-dist/source/latex/silence/silence.ins +++ b/Master/texmf-dist/source/latex/silence/silence.ins @@ -6,7 +6,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: **
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% |