summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/silence
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-27 00:11:49 +0000
committerKarl Berry <karl@freefriends.org>2012-01-27 00:11:49 +0000
commitbe826ba2b4031f0ad0e5dc34ec103d707bf13cec (patch)
tree3e7faebf0ed6342514c85d34a62d8781091a888b /Master/texmf-dist/tex/latex/silence
parentf5e32672613d47ce06b98e5508356670a9d5f6f0 (diff)
silence (26jan12)
git-svn-id: svn://tug.org/texlive/trunk@25210 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, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/silence/silence.sty b/Master/texmf-dist/tex/latex/silence/silence.sty
index 0d6b081cb04..7139fba8732 100644
--- a/Master/texmf-dist/tex/latex/silence/silence.sty
+++ b/Master/texmf-dist/tex/latex/silence/silence.sty
@@ -343,6 +343,15 @@
\fi
\fi\sl@next}
+\def\sl@RemoveGobble#1\@gobble\sl@Terminator#2\sl@Terminator{%
+ \def\sl@Tempb{#2}%
+ \ifx\sl@Tempb\@empty
+ \else
+ \def\sl@Tempa{#1}%
+ \expandafter\@gobble
+ \fi
+ }
+
\def\sl@RemoveGobbletwo#1\@gobbletwo\sl@Terminator#2\sl@Terminator{%
\def\sl@Tempb{#2}%
\ifx\sl@Tempb\@empty
@@ -361,6 +370,7 @@
\let\protect\string
\let\noexpand\string
\def\sl@Tempa{#1}%
+ \sl@RemoveGobble#1\sl@Terminator\@gobble\sl@Terminator\sl@Terminator
\sl@RemoveGobbletwo#1\sl@Terminator\@gobbletwo\sl@Terminator\sl@Terminator
\edef\sl@Tempa{\sl@Tempa}%
\global\expandafter\sl@Message\expandafter{\sl@Tempa}%