diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-05 21:16:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-05 21:16:27 +0000 |
commit | 5207a62694f457c607019e1fe415ef014aaf2671 (patch) | |
tree | 845f5f9c3f9ce903a9d3dd506781a26bac542fa7 /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | |
parent | 6c9b8dd7551fa92ce3d5eaf8136475d25581d8cc (diff) |
\MakeUppercase, \MakeLowercase updates, tex4ht r967
git-svn-id: svn://tug.org/texlive/trunk@59851 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 3affa4ce045..a3071442679 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 966 2021-07-04 16:13:49Z karl $ +% $Id: tex4ht-4ht.tex 967 2021-07-05 18:46:07Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -2152,18 +2152,24 @@ mechanism for ifthenelse. % MakeUppercase is redefined by tex4ht, biblatex tries to redefine it as well, but it relies on original % LaTeX version: \DeclareRobustCommand{\MakeUppercase}[1]{{% - \def\i{I}\def\j{J}% - \def\reserved@a##1##2{\let##1##2\reserved@a}% - \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}% - \protected@edef\reserved@a{\uppercase{#1}}% - \reserved@a + \def\i{I}\def\j{J}% + \def\reserved@a##1##2{\let##1##2\reserved@a}% + \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}% + \let\UTF@two@octets@noexpand\@empty + \let\UTF@three@octets@noexpand\@empty + \let\UTF@four@octets@noexpand\@empty + \blx@hook@uc\protected@edef\reserved@a{\uppercase{#1}}% + \reserved@a }} % Same applies also for \MakeLowercase \DeclareRobustCommand{\MakeLowercase}[1]{{% - \def\reserved@a##1##2{\let##2##1\reserved@a}% - \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}% - \protected@edef\reserved@a{\lowercase{#1}}% - \reserved@a + \def\reserved@a##1##2{\let##2##1\reserved@a}% + \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}% + \let\UTF@two@octets@noexpand\@empty + \let\UTF@three@octets@noexpand\@empty + \let\UTF@four@octets@noexpand\@empty + \blx@hook@lc\protected@edef\reserved@a{\lowercase{#1}}% + \reserved@a }} % I don't really understand this, but language processing is broken by default |