[tex4ht-commits] [SCM] tex4ht updated: r478 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Jan 12 22:17:02 CET 2019


Author: michal_h21
Date: 2019-01-12 23:17:02 +0200 (Sat, 12 Jan 2019)
New Revision: 478

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed biblatex language handling

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-01-06 10:37:40 UTC (rev 477)
+++ trunk/lit/ChangeLog	2019-01-12 21:17:02 UTC (rev 478)
@@ -1,3 +1,8 @@
+2019-01-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht): fixed Biblatex language handling.
+	https://tex.stackexchange.com/q/469718/2891
+
 2019-01-06  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (memoir.4ht): Support for optional argument of \chapter.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-01-06 10:37:40 UTC (rev 477)
+++ trunk/lit/tex4ht-4ht.tex	2019-01-12 21:17:02 UTC (rev 478)
@@ -3591,11 +3591,31 @@
     \blx at lbxinput{\blx at languagename}%
     {}{}%
   }%
+  |<fix biblatex lang handling|>
 }
 \fi
 >>>
 
+Some biblatex styles reported error missing English language. 
+\Link[https://tex.stackexchange.com/q/469718/2891]{}{}For example here\EndLink.
+The issue was that patched version of \Verb|\IfFileExists| command contains
+some additional tokens that caused the \Verb|\@firstoftwo| command to read
+a wrong code. The saved version of that command must be used instead.
 
+\<fix biblatex lang handling\><<<
+\def\blx at lbxinput@iii#1#2{%
+  \global\csundef{blx at lng@#2}%
+  \:IfFileExists{#1.lbx}
+    {\blx at lbxinput@iv{#2}{#1}{language '#2' -> '#1'}}
+    {\ifcsdef{blx at suffmaptried@#2}
+      {}
+      {\blx at warning@noline{%
+          File '#1.lbx' not found!\MessageBreak
+          Ignoring mapping '#2' -> '#1'}%
+       \global\cslet{blx at suffmaptried@#2}\@empty}%
+     \blx at lbxinput@iv{#2}{#2}{language '#2'}}}
+>>>
+
 %%%%%%%%%%%%%%%%%
 \Section{xeCJK}
 %%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list