texlive[59851] Master/texmf-dist: \MakeUppercase, \MakeLowercase
commits+karl at tug.org
commits+karl at tug.org
Mon Jul 5 23:16:27 CEST 2021
Revision: 59851
http://tug.org/svn/texlive?view=revision&revision=59851
Author: karl
Date: 2021-07-05 23:16:27 +0200 (Mon, 05 Jul 2021)
Log Message:
-----------
\MakeUppercase, \MakeLowercase updates, tex4ht r967
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=967
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-07-05 20:58:35 UTC (rev 59850)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-07-05 21:16:27 UTC (rev 59851)
@@ -1,3 +1,9 @@
+2021-07-05 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (biblatex.4ht): updated redefinitions of \MakeUppercase and
+ \MakeLowercase to use the current code from LaTeX kernel. Also inserted
+ BibLaTeX hooks for these commands.
+
2021-07-04 Karl Berry <karl at freefriends.org>
* tex4ht-4ht.tex (showfonts.4ht, subcaption.4ht, subscript.4ht,
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2021-07-05 20:58:35 UTC (rev 59850)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2021-07-05 21:16:27 UTC (rev 59851)
@@ -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 @@
% 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 at a##1##2{\let##1##2\reserved at a}%
- \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
- \protected at edef\reserved at a{\uppercase{#1}}%
- \reserved at a
+ \def\i{I}\def\j{J}%
+ \def\reserved at a##1##2{\let##1##2\reserved at a}%
+ \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+ \let\UTF at two@octets at noexpand\@empty
+ \let\UTF at three@octets at noexpand\@empty
+ \let\UTF at four@octets at noexpand\@empty
+ \blx at hook@uc\protected at edef\reserved at a{\uppercase{#1}}%
+ \reserved at a
}}
% Same applies also for \MakeLowercase
\DeclareRobustCommand{\MakeLowercase}[1]{{%
- \def\reserved at a##1##2{\let##2##1\reserved at a}%
- \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
- \protected at edef\reserved at a{\lowercase{#1}}%
- \reserved at a
+ \def\reserved at a##1##2{\let##2##1\reserved at a}%
+ \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+ \let\UTF at two@octets at noexpand\@empty
+ \let\UTF at three@octets at noexpand\@empty
+ \let\UTF at four@octets at noexpand\@empty
+ \blx at hook@lc\protected at edef\reserved at a{\lowercase{#1}}%
+ \reserved at a
}}
% I don't really understand this, but language processing is broken by default
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht 2021-07-05 20:58:35 UTC (rev 59850)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht 2021-07-05 21:16:27 UTC (rev 59851)
@@ -1,4 +1,4 @@
-% biblatex.4ht (2021-03-02-13:43), generated from tex4ht-4ht.tex
+% biblatex.4ht (2021-07-05-13:41), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
% Copyright 2009-2021 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-03-02-13:43}
+\immediate\write-1{version 2021-07-05-13:41}
\def\make:blx:ver#1.#2#3\relax{%
%\ifdim#1pt< 3pt \xdef\blx:ver:no{2}\else\xdef\blx:ver:no{3}\fi%
@@ -209,18 +209,24 @@
% 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 at a##1##2{\let##1##2\reserved at a}%
- \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
- \protected at edef\reserved at a{\uppercase{#1}}%
- \reserved at a
+ \def\i{I}\def\j{J}%
+ \def\reserved at a##1##2{\let##1##2\reserved at a}%
+ \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+ \let\UTF at two@octets at noexpand\@empty
+ \let\UTF at three@octets at noexpand\@empty
+ \let\UTF at four@octets at noexpand\@empty
+ \blx at hook@uc\protected at edef\reserved at a{\uppercase{#1}}%
+ \reserved at a
}}
% Same applies also for \MakeLowercase
\DeclareRobustCommand{\MakeLowercase}[1]{{%
- \def\reserved at a##1##2{\let##2##1\reserved at a}%
- \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
- \protected at edef\reserved at a{\lowercase{#1}}%
- \reserved at a
+ \def\reserved at a##1##2{\let##2##1\reserved at a}%
+ \expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
+ \let\UTF at two@octets at noexpand\@empty
+ \let\UTF at three@octets at noexpand\@empty
+ \let\UTF at four@octets at noexpand\@empty
+ \blx at hook@lc\protected at edef\reserved at a{\lowercase{#1}}%
+ \reserved at a
}}
% I don't really understand this, but language processing is broken by default
More information about the tex-live-commits
mailing list.