summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty')
-rw-r--r--Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty29
1 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty b/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty
index 86918c3baa1..65041d21126 100644
--- a/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty
+++ b/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty
@@ -1,16 +1,16 @@
-%% The LaTeX package sanitize-umlaut - version 1.10 (2020/01/01)
+%% The LaTeX package sanitize-umlaut - version 1.2.1 (2022/06/29)
%% sanitize-umlaut.sty: Sanitize umlauts for makeindex
%%
%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2016-2020 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% Copyright (c) 2016-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `author-maintained'.
@@ -18,25 +18,38 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{sanitize-umlaut}[2020/01/01 version 1.10 sanitize umlauts]
+\ProvidesPackage{sanitize-umlaut}[2022/06/29 version 1.2.1 sanitize umlauts]
\def\sanitize@unicode@char#1#2{%
\@namedef{u8:\detokenize{#1}}{#2}%
}
-\long\def\sanitize@umlaut@UTFviii@two@octets{% patch for 'utf8.def'
+
+% BEGIN: patch for 'utf8.def'
+\long\def\sanitize@umlaut@UTFviii@two@octets{%
\ifincsname
\expandafter \UTF@two@octets@string
- \else
\fi
\UTFviii@two@octets@combine
}
\begingroup
+\catcode`\~13
+\catcode`\"12
+\gdef\sanitize@umlaut@local@UTFviii@redefinition{%
+ \def\UTFviii@tmp{\edef~{\noexpand\sanitize@umlaut@UTFviii@two@octets\noexpand~}}%
+ \uccode`\~"C3%
+ \uppercase\expandafter{\UTFviii@tmp}%
+}
+\endgroup
+% END: patch for 'utf8.def'
+
+
+\begingroup
\catcode`\"=12
\gdef\sanitize@umlaut@utfviii{%
- \let\UTFviii@two@octets\sanitize@umlaut@UTFviii@two@octets%
+ \sanitize@umlaut@local@UTFviii@redefinition%
\sanitize@unicode@char{^^c3^^a4}{"a}%
\sanitize@unicode@char{^^c3^^b6}{"o}%
\sanitize@unicode@char{^^c3^^bc}{"u}%