[tex4ht-commits] [SCM] tex4ht updated: r967 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Jul 5 20:46:08 CEST 2021
Author: michal_h21
Date: 2021-07-05 18:46:07 +0000 (Mon, 05 Jul 2021)
New Revision: 967
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
updated biblatex definitions for \MakeUppercase and \MakeLowercase
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-07-04 16:13:49 UTC (rev 966)
+++ trunk/lit/ChangeLog 2021-07-05 18:46:07 UTC (rev 967)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-07-04 16:13:49 UTC (rev 966)
+++ trunk/lit/tex4ht-4ht.tex 2021-07-05 18:46:07 UTC (rev 967)
@@ -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
More information about the tex4ht-commits
mailing list.