summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-16 17:08:50 +0000
committerKarl Berry <karl@freefriends.org>2016-03-16 17:08:50 +0000
commit743099cac8074cf055237bd8aebe8d8eaa985e60 (patch)
treea6db754676320db3a8c6f4e161b6669011718d9b
parent2384823a07bd8cfb55b2536b18c19123f62a8757 (diff)
biblatex 3.0, tex4ht r163
git-svn-id: svn://tug.org/texlive/trunk@40044 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht39
1 files changed, 37 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht b/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht
index 0d776470395..97ad3d9fce8 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht
@@ -1,4 +1,4 @@
-% biblatex.4ht (2016-01-05-16:47), generated from tex4ht-4ht.tex
+% biblatex.4ht (2016-03-16-10:08), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
% Copyright 2009-2016 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2016-01-05-16:47}
+\immediate\write-1{version 2016-03-16-10:08}
\ifdim\abx@version pt< 3pt \xdef\blx:ver:no{2}\else\xdef\blx:ver:no{3}\fi
\ifx\a:printshorthands\Undef\let\blx@shorthands\@empty\fi
@@ -189,6 +189,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@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
+}}
+% 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
+}}
+
+% 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@lbxinput{#1}{}{}}%
+ \ifx\@empty\bbl@loaded\else%
+ \expandafter\docsvlist\expandafter{\bbl@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@version pt < 3.3pt
\protected\def\blx@bbl@entry#1#2#3{%
\begingroup
\edef\abx@field@entrykey{\detokenize{#1}}%
@@ -251,6 +285,7 @@
\blx@bbl@titles
\blx@bbl@hooks
\endgroup}
+ \fi
\fi % end of version boolean
\NewConfigure{finentry}{2}
\def\:tempc[#1]#2{%