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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sun Jun 21 11:26:18 CEST 2020


Author: michal_h21
Date: 2020-06-21 12:26:17 +0300 (Sun, 21 Jun 2020)
New Revision: 745

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-docbook.tex
Log:
Added support for BibLaTeX in Docbook

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-06-19 11:40:07 UTC (rev 744)
+++ trunk/lit/ChangeLog	2020-06-21 09:26:17 UTC (rev 745)
@@ -1,3 +1,8 @@
+2020-06-21 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-docbook.tex (docbook.4ht): support for BibLaTeX bibliography.
+	https://github.com/michal-h21/make4ht/issues/28
+
 2020-06-19 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (memoir.4ht): disable warning and error messages about

Modified: trunk/lit/tex4ht-docbook.tex
===================================================================
--- trunk/lit/tex4ht-docbook.tex	2020-06-19 11:40:07 UTC (rev 744)
+++ trunk/lit/tex4ht-docbook.tex	2020-06-21 09:26:17 UTC (rev 745)
@@ -1077,9 +1077,46 @@
 \Configure{jbanchor}{\Link}{\EndLink}
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%
+\subsection{Biblatex}
+%%%%%%%%%%%%%%%%%%%%%
 
 
+\<configure docbook biblatex\><<<
+    \def\bibConfigure{%
+  \ConfigureList{thebibliography}
+  {\ifvmode \IgnorePar \fi \EndP \EndP
+    \HCode {<bibliolist>}%
+%
+% This is for linking citations with biblist items which
+% are in a different file when output is split into different
+% chunks. [CVR 2012-09-27]
+%
+%
+% <biblatex-2.2>
+%
+  \immediate\write\@auxout{%
+      \string\BibFileName[\therefsection]{\FileName}}%
+%
+% </biblatex-2.2>
+%
+    \PushMacro \end:itm \global \let \end:itm =\empty}%
+  {\ifvmode \IgnorePar \fi \EndP
+    \PopMacro \end:itm \global \let \end:itm \end:itm \EndP
+    \HCode {</bibliomisc></bibliomixed></bibliolist>}\ShowPar}%
+  {\ifvmode \IgnorePar \fi \EndP \gHAdvance \bibN by 1
+    \end:itm \global \def \end:itm {\EndP \HCode{</bibliomisc></bibliomixed>}}%
+    \HCode {<bibliomixed xml:id="X\therefsection-\abx at field@entrykey"><bibliomisc>}\bgroup \bf}%
+  {\ifvmode \IgnorePar \fi \EndP
+    \egroup
+    \HCode {</bibliomisc><bibliomisc\Hnewline xml:id="bib-\bibN">}%
+    \par \ShowPar}%
+ }
 
+>>>
+
+
+
 %%%%%%%%%%%%%%%%
 \section{Tables and Arrays}
 %%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.