[tex4ht-commits] [SCM] tex4ht updated: r163 - trunk/lit
karl at gnu.org.ua
karl at gnu.org.ua
Wed Mar 16 18:07:49 CET 2016
Author: karl
Date: 2016-03-16 19:07:48 +0200 (Wed, 16 Mar 2016)
New Revision: 163
Modified:
trunk/lit/ChangeLog
trunk/lit/Makefile
trunk/lit/tex4ht-4ht.tex
Log:
biblatex 3.0, https://puszcza.gnu.org.ua/bugs/?273
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2016-02-01 23:07:43 UTC (rev 162)
+++ trunk/lit/ChangeLog 2016-03-16 17:07:48 UTC (rev 163)
@@ -1,3 +1,12 @@
+2016-03-16 Karl Berry <karl at freefriends.org>
+
+ * Makefile (tex4ht_4ht_derived): add biblatex.4ht.
+
+2016-03-16 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (biblatex.4ht): support for biblatex 3.0.
+ http://puszcza.gnu.org.ua/bugs/?273>
+
2016-02-01 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-noncjk.tex (pcrro8r.htf): Fixed some wrong characters.
Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile 2016-02-01 23:07:43 UTC (rev 162)
+++ trunk/lit/Makefile 2016-03-16 17:07:48 UTC (rev 163)
@@ -15,7 +15,7 @@
derived += $(tex4ht_4ht_derived)
tex4ht_4ht_derived = \
- book.4ht frenchb.4ht graphicx.4ht hyperref.4ht listings.4ht \
+ biblatex.4ht book.4ht frenchb.4ht graphicx.4ht hyperref.4ht listings.4ht \
memoir.4ht multicol.4ht quoting.4ht \
scrartcl.4ht scrbook.4ht scrreprt.4ht spanish.4ht subscript.4ht \
titlesec.4ht tocloft.4ht wrapfig.4ht
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2016-02-01 23:07:43 UTC (rev 162)
+++ trunk/lit/tex4ht-4ht.tex 2016-03-16 17:07:48 UTC (rev 163)
@@ -2034,6 +2034,40 @@
\else
% Biblatex 3.0
%
+% Hacks for biblatex
+% 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
+}}
+% 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
+}}
+
+% I don't really understand this, but language processing is broken by default
+% with biblatex. It loads language file, but it executes code which should be
+% executed only in the case if the language file fails, it displays an error message
+% and language handling doesn't work. When we execute following code, the language
+% files are loaded before checking of the success and it seems to work.
+
+\@ifpackageloaded{babel}
+ {% This is required for languages which are never explicitly selected
+ \def\do#1{\blx at lbxinput{#1}{}{}}%
+ \ifx\@empty\bbl at loaded\else%
+ \expandafter\docsvlist\expandafter{\bbl at loaded}%
+ \fi}{}%
+
+% Following macros doesn't seem to work with biblatex 3.4. We should make another test for
+% biblatex > 3.0 and < 3.3
+\ifdim\abx at version pt < 3.3pt
\protected\def\blx at bbl@entry#1#2#3{%
\begingroup
\edef\abx at field@entrykey{\detokenize{#1}}%
@@ -2096,6 +2130,7 @@
\blx at bbl@titles
\blx at bbl@hooks
\endgroup}
+ \fi
\fi % end of version boolean
>>>
More information about the tex4ht-commits
mailing list