diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucs/ucs.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ucs/ucs.sty | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ucs/ucs.sty b/Master/texmf-dist/tex/latex/ucs/ucs.sty index e5825447f77..8433fd1543f 100644 --- a/Master/texmf-dist/tex/latex/ucs/ucs.sty +++ b/Master/texmf-dist/tex/latex/ucs/ucs.sty @@ -8,11 +8,39 @@ %% %% 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. %% \catcode`\@11 + +\ifx\AddToHook\@undefined\else +\AddToHook{package/hyperref/after}{% + \def\HyPsd@expand@utfvii{% + \count@"C2 + \@tempcnta"E0 + \def\UTFviii@tmp{% +\expandafter\def\expandafter~\expandafter####\expandafter1\expandafter{~{####1}}% +}% + \UTFviii@loop + \count@"E0 + \@tempcnta"F0 + \def\UTFviii@tmp{% +\expandafter\def\expandafter~\expandafter####\expandafter1\expandafter####\expandafter2\expandafter{~{####1}{####2}}% +}% + \UTFviii@loop + \count@"F0 + \@tempcnta"F5 + \def\UTFviii@tmp{% +\expandafter\def\expandafter~\expandafter####\expandafter1\expandafter####\expandafter2\expandafter####\expandafter3\expandafter{~{####1}{####2}{####3}}% +}% + \UTFviii@loop + + } +} +\fi + \ifx\@gobble\undefined\def\@gobble#1{}\fi \ifx\@gobbletwo\undefined\def\@gobbletwo#1#2{}\fi \ifx\@gobblethree\undefined\def\@gobblethree#1#2#3{}\fi @@ -123,7 +151,7 @@ \csname\uc@temp@a\endcsname{#1}% \fi} \ifx\ProvidesPackage\undefined\else -\ProvidesPackage{ucs}[2013/05/11 v2.2 UCS: Unicode input support]% +\ProvidesPackage{ucs}[2022/08/07 v2.3 UCS: Unicode input support]% \fi \ifx\@@input\undefined\input uni-global.def \else\input{uni-global.def}\fi \DeclareUnicodeOption{fasterrors} |