summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucs/ucsutils.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucs/ucsutils.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ucs/ucsutils.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ucs/ucsutils.sty b/Master/texmf-dist/tex/latex/ucs/ucsutils.sty
index e9ac6503fec..2aa933185f8 100644
--- a/Master/texmf-dist/tex/latex/ucs/ucsutils.sty
+++ b/Master/texmf-dist/tex/latex/ucs/ucsutils.sty
@@ -8,6 +8,7 @@
%%
%% Copyright 2001 Dominique Unruh <unruh@ut.ee>
%% Copyright 2013 Wolfgang Jeltsch <wolfgang@cs.ioc.ee>
+%% Copyright 2022 David Carlisle https://github.com/LaTeX-Package-Repositories/ucs
%%
%% This program is provided under the terms of the LaTeX Project Public License with some
%% modifications. See the file LICENSE for information.
@@ -69,7 +70,7 @@
\@ucsutils@section\univerb
^^B\def\uc@vbsetchar#1#2{%
^^B \catcode#1\active
-^^B \begingroup\uccode`\~#1\uppercase{\endgroup\edef~}{#2}}
+^^B \begingroup\uccode`\~#1\uppercase{\endgroup\protected\edef~}{#2}}
^^B\DeclareRobustCommand\univerb[1][]{\ifx\@nil#1\@nil\else\PackageError{ucs}{%
^^B \string\univerb\space has optional argument}{%
^^B \string\univerb[...] is not supported}\fi%