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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Mar 5 17:54:43 CET 2024


Author: michal_h21
Date: 2024-03-05 16:54:42 +0000 (Tue, 05 Mar 2024)
New Revision: 1487

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
fixed clashes caused by multibib

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-03-04 13:32:16 UTC (rev 1486)
+++ trunk/lit/ChangeLog	2024-03-05 16:54:42 UTC (rev 1487)
@@ -1,5 +1,11 @@
-2024-03-01  Michal Hoftich  <michal.h21 at gmail.com>
+2024-03-05  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (multibib.4ht, multibib-hooks.4ht): fixed clashes
+	between .bbl files and .4ht files.
+	https://tug.org/pipermail/tex4ht/2024q1/003546.html
+
+2024-03-04  Michal Hoftich  <michal.h21 at gmail.com>
+
 	* tex4ht-fonts-noncjk.tex (
 	./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/ams/cyrillic/wncyr.htf
 	): fixed some characters.

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2024-03-04 13:32:16 UTC (rev 1486)
+++ trunk/lit/mktex4ht-cnf.tex	2024-03-05 16:54:42 UTC (rev 1487)
@@ -23,6 +23,8 @@
 \AddFile{6}{biblatex}
 \AddFile{6}{biblatex-chicago}
 \AddFile{6}{backref}
+\AddFile{9}{multibib}
+\AddFile{9}{multibib-hooks}
 \AddFile{6}{reading}
 \AddFile{5}{debug}
 \AddFile{5}{footnote-dw}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-03-04 13:32:16 UTC (rev 1486)
+++ trunk/lit/tex4ht-4ht.tex	2024-03-05 16:54:42 UTC (rev 1487)
@@ -2949,6 +2949,41 @@
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
+\SubSection{multibib.4ht}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<multibib.4ht\><<< 
+% multibib.4ht (|version), generated from |jobname.tex 
+% Copyright 2024 TeX Users Group 
+|<TeX4ht license text|> 
+\Hinput{multibib} 
+\endinput 
+>>> \AddFile{9}{multibib}
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{multibib.sty}{multibib-hooks.4ht}
+>>>
+
+
+\<multibib-hooks.4ht\><<< 
+% multibib.4ht (|version), generated from |jobname.tex 
+% Copyright 2024 TeX Users Group 
+\:AtEndOfPackage{
+|<multibib newcites|>
+}
+\endinput
+>>>  \AddFile{9}{multibib-hooks}
+
+The \Verb"newcites" command uses the \Verb"\@input@" command to load the .bbl file internally. It causes TeX4ht
+to load a corresponding .4ht file named as the .bbl file. For example, when you have book.bbl, it will load
+book.4ht. It can lead to a fatal error if the document uses a different class than book.
+
+\<multibib newcites\><<<
+  \let\orig:newcites\newcites
+  \renewcommand\newcites[2]{\let\orig:@input@\@input@\let\@input@\@input\orig:newcites{#1}{#2}\let\@input@\orig:@input@}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 \SubSection{reading.4ht}
 
 \<reading.4ht\><<<



More information about the tex4ht-commits mailing list.