summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/silence
diff options
context:
space:
mode:
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}%