texlive[63770] Master/texmf-dist: sanitize-umlaut (30jun22)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 30 23:01:11 CEST 2022


Revision: 63770
          http://tug.org/svn/texlive?view=revision&revision=63770
Author:   karl
Date:     2022-06-30 23:01:11 +0200 (Thu, 30 Jun 2022)
Log Message:
-----------
sanitize-umlaut (30jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.pdf
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.tex
    trunk/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES.md
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README.md

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES
    trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README

Deleted: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES	2022-06-30 20:43:34 UTC (rev 63769)
+++ trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES	2022-06-30 21:01:11 UTC (rev 63770)
@@ -1,27 +0,0 @@
-%% The LaTeX package sanitize-umlaut - version 1.10 (2020/01/01)
-%%
-%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2016-2020 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
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `author-maintained'.
-%%
-%% This work consists of all files listed in README
-%%
-
-version 1.00 (2016/05/27): initial public release
-
-version 1.10 (2020/01/01):
-- implementation changed to adapt for LaTeX/inputenc UTF-8 changes
-  (see documentation):
-  version 1.00 is only compatible to older LaTeX/inputenc UTF-8
-  version 1.10 is only compatible to recent LaTeX/inputenc UTF-8
-- utf8-2018 is a new supported encoding

Added: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES.md	2022-06-30 21:01:11 UTC (rev 63770)
@@ -0,0 +1,60 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on
+[Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to
+[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+
+### Added
+### Changed
+### Deprecated
+### Removed
+### Fixed
+### Security
+
+
+
+## [1.2.1] - 2022-06-29
+
+### Fixed
+- The implementation of 1.2.0 changed UTF8 characters globally, not locally
+    inside `\index`. The fix works locally as intended and only affects
+    characters with UTF8-encoding C3..
+
+
+
+## [1.2.0] - 2022-06-29
+
+### Changed
+- Changelog moved from CHANGES to CHANGES.md and adapted to
+  [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+- From now on version numbers adhere to
+  [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
+
+### Fixed
+- The 2022 June release of LaTeX breaks sanitize-umlaut (issue #1)
+    A patch to `utf8.def` is added to circumvent `\protected` for
+    two-octets UTF8 characters (including umlauts) inside `\index`
+
+
+
+## [1.10] - 2020-01-01
+
+### Added
+- `utf8-2018` is a new supported encoding
+
+### Changed
+- implementation changed to adapt for LaTeX/inputenc UTF-8 changes
+  (see documentation):
+  version 1.00 is only compatible to older LaTeX/inputenc UTF-8
+  version 1.10 is only compatible to recent LaTeX/inputenc UTF-8
+
+
+
+## [1.00] - 2016-05-27
+
+### Added
+- Initial public release


Property changes on: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/CHANGES.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README	2022-06-30 20:43:34 UTC (rev 63769)
+++ trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README	2022-06-30 21:01:11 UTC (rev 63770)
@@ -1,41 +0,0 @@
-%% The LaTeX package sanitize-umlaut - version 1.10 (2020/01/01)
-%%
-%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2016-2020 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
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `author-maintained'.
-%%
-%% This work consists of all files listed in README
-%%
-
-The package sanitizes umlauts to be used directly in index entries for
-MakeIndex and friends with pdflatex. This means, that inside '\index' an umlaut
-can be used as "U or directly. In both cases, the letter is written as "U into
-the raw index file for correct processing with MakeIndex and pdflatex.
-
-Contents of the package
-=======================
-  'README'                    this file
-  'sanitize-umlaut.sty'       LaTeX package file (style file)
-  'sanitize-umlaut.pdf'       Documentation
-  'sanitize-umlaut.tex'       Source code of the documentation (main file)
-  '*.doc.*'                   Source code of the documentation (include files)
-  'german.ist'                MakeIndex style
-
-Installation
-============
-Copy the contents of the 'sanitize-umlaut.tds.zip' from CTAN to your local TeX file tree.
-
-Alternatively, put the files to their respective locations within the TeX installation:
-  'sanitize-umlaut.sty'       ->  /tex/latex/sanitize-umlaut
-
-  all other files             ->  /doc/latex/sanitize-umlaut

Added: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README.md	2022-06-30 21:01:11 UTC (rev 63770)
@@ -0,0 +1,43 @@
+# The LaTeX package sanitize-umlaut - version 1.2.1 (2022/06/29)
+
+
+> 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
+> version 2005/12/01 or later.
+
+> This work has the LPPL maintenance status `author-maintained`.
+
+> This work consists of all files listed in README.md
+
+
+`sanitize-umlaut` sanitizes umlauts to be used directly in index entries for
+MakeIndex and friends with pdflatex. This means, that inside `\index` an umlaut
+can be used as `"U` or directly. In both cases, the letter is written as `"U` into
+the raw index file for correct processing with MakeIndex and pdflatex.
+
+
+## Contents of the package
+
+-  `README.md`                 this file
+-  `CHANGES.md`                log of changes (history)
+-  `sanitize-umlaut.sty`       LaTeX package file (style file)
+-  `sanitize-umlaut.pdf`       Documentation
+-  `sanitize-umlaut.tex`       Source code of the documentation (main file)
+-  `*.doc.*`                   Source code of the documentation (include files)
+-  `german.ist`                MakeIndex style
+
+
+## Installation
+
+Copy the contents of the `sanitize-umlaut.tds.zip` from CTAN to your local TeX file tree.
+
+Alternatively, put the files to their respective locations within the TeX installation:
+
+-  `sanitize-umlaut.sty`       ->  /tex/latex/sanitize-umlaut
+-  all other files             ->  /doc/latex/sanitize-umlaut


Property changes on: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.tex	2022-06-30 20:43:34 UTC (rev 63769)
+++ trunk/Master/texmf-dist/doc/latex/sanitize-umlaut/sanitize-umlaut.tex	2022-06-30 21:01:11 UTC (rev 63770)
@@ -2,11 +2,11 @@
 % !TeX encoding=UTF-8
 % !TeX spellcheck=en_US
 %%
-%% 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.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------
-%% 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
@@ -13,8 +13,8 @@
 %% 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'.
@@ -27,8 +27,8 @@
 \usepackage{%
   sanitize-umlaut}
 
-\def\version{1.10}%
-\def\datum{2020/01/01}%
+\def\version{1.2.1}%
+\def\datum{2022/06/29}%
 
 \hypersetup{
   pdftitle={Manual for the sanitize-umlaut package},
@@ -52,7 +52,7 @@
   \footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
     Universit\"{a}t der Bundeswehr M\"{u}nchen, D-85577 Neubiberg, Germany;
      email: \href{mailto:thomas.sturm at unibw.de}{thomas.sturm at unibw.de}}\par\medskip
-\normalsize\url{http://www.ctan.org/pkg/sanitize-umlaut}\par
+\normalsize\url{https://www.ctan.org/pkg/sanitize-umlaut}\par
 \url{https://github.com/T-F-S/sanitize-umlaut}
 }
 \end{center}
@@ -112,7 +112,7 @@
 Another alternative is to replace MakeIndex by Xindy or another index
 processor.
 
-
+\clearpage
 \section{Important Compatibility Informations}%
 
 \subsection{Past}
@@ -139,6 +139,12 @@
 Therefore, if your \LaTeX\ distribution is not reasonable up to date, you
 should stay at version 1.00 of |sanitize-umlaut|.
 
+With the 2022 June release of \LaTeX, characters defined via |utf8.def| are now
+defined as |\protected| macros. Therefore, |sanitize-umlaut| version 1.2.0 (or newer)
+patches some relevant parts of two-octets characters during |\index| back to
+pre 2022 June behaviour. Obviously, you loose |\protected| here, if you
+load |sanitize-umlaut|.
+
 \subsection{Future}
 As always, the future is dark and difficult to see. Further changes of
 |inputenc| implementation may force further changes of |sanitize-umlaut|.
@@ -147,6 +153,7 @@
 recognize UTF-8 properly to make |sanitize-umlaut| superfluous.
 
 
+\clearpage
 \section{Package Usage}%
 
 \subsection{Prerequisites}

Modified: trunk/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty	2022-06-30 20:43:34 UTC (rev 63769)
+++ trunk/Master/texmf-dist/tex/latex/sanitize-umlaut/sanitize-umlaut.sty	2022-06-30 21:01:11 UTC (rev 63770)
@@ -1,8 +1,8 @@
-%% 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
@@ -9,8 +9,8 @@
 %% 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 at unicode@char#1#2{%
   \@namedef{u8:\detokenize{#1}}{#2}%
 }
 
-\long\def\sanitize at umlaut@UTFviii at two@octets{% patch for 'utf8.def'
+
+% BEGIN: patch for 'utf8.def'
+\long\def\sanitize at umlaut@UTFviii at two@octets{%
   \ifincsname
     \expandafter \UTF at two@octets at string
-  \else
   \fi
   \UTFviii at two@octets at combine
 }
 
 \begingroup
+\catcode`\~13
+\catcode`\"12
+\gdef\sanitize at umlaut@local at UTFviii@redefinition{%
+  \def\UTFviii at tmp{\edef~{\noexpand\sanitize at umlaut@UTFviii at two@octets\noexpand~}}%
+  \uccode`\~"C3%
+  \uppercase\expandafter{\UTFviii at tmp}%
+}
+\endgroup
+% END: patch for 'utf8.def'
+
+
+\begingroup
 \catcode`\"=12
 
 \gdef\sanitize at umlaut@utfviii{%
-  \let\UTFviii at two@octets\sanitize at umlaut@UTFviii at two@octets%
+  \sanitize at umlaut@local at UTFviii@redefinition%
   \sanitize at unicode@char{^^c3^^a4}{"a}%
   \sanitize at unicode@char{^^c3^^b6}{"o}%
   \sanitize at unicode@char{^^c3^^bc}{"u}%



More information about the tex-live-commits mailing list.