texlive[70429] Master/texmf-dist: multibib fixes, tex4ht r1487

commits+karl at tug.org commits+karl at tug.org
Tue Mar 5 23:35:26 CET 2024


Revision: 70429
          https://tug.org/svn/texlive?view=revision&revision=70429
Author:   karl
Date:     2024-03-05 23:35:26 +0100 (Tue, 05 Mar 2024)
Log Message:
-----------
multibib fixes, tex4ht r1487

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1487

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/multibib-hooks.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/multibib.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-03-05 21:30:16 UTC (rev 70428)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-03-05 22:35:26 UTC (rev 70429)
@@ -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/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-03-05 21:30:16 UTC (rev 70428)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-03-05 22:35:26 UTC (rev 70429)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1483 2024-03-01 13:57:26Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1487 2024-03-05 16:54:42Z michal_h21 $
 % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
 % Read by tex4ht-cond4ht.
 %
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-03-05 21:30:16 UTC (rev 70428)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-03-05 22:35:26 UTC (rev 70429)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1484 2024-03-01 21:17:29Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1487 2024-03-05 16:54:42Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -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\><<<

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/multibib-hooks.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/multibib-hooks.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/multibib-hooks.4ht	2024-03-05 22:35:26 UTC (rev 70429)
@@ -0,0 +1,9 @@
+% multibib.4ht (2024-03-05-14:34), generated from tex4ht-4ht.tex
+% Copyright 2024 TeX Users Group
+\:AtEndOfPackage{
+  \let\orig:newcites\newcites
+  \renewcommand\newcites[2]{\let\orig:@input@\@input@\let\@input@\@input\orig:newcites{#1}{#2}\let\@input@\orig:@input@}
+
+}
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/multibib-hooks.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/multibib.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/multibib.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/multibib.4ht	2024-03-05 22:35:26 UTC (rev 70429)
@@ -0,0 +1,23 @@
+% multibib.4ht (2024-03-05-14:34), generated from tex4ht-4ht.tex
+% Copyright 2024 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2024-03-05-14:34}
+
+\Hinput{multibib}
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/multibib.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-03-05 21:30:16 UTC (rev 70428)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-03-05 22:35:26 UTC (rev 70429)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2024-03-01-14:08), generated from tex4ht-4ht.tex
+% usepackage.4ht (2024-03-05-14:34), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2024 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-03-01-14:08}
+\immediate\write-1{version 2024-03-05-14:34}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -41,6 +41,7 @@
       \else \let\:temp=\use:package \fi
    \fi \:temp}
 \Configure{PackageHooks}{titlesec.sty}{titlesec-hooks.4ht}
+\Configure{PackageHooks}{multibib.sty}{multibib-hooks.4ht}
 \Configure{PackageHooks}{biblatex-chicago.sty}{biblatex-chicago-hooks.4ht}
 \Configure{PackageHooks}{cleveref.sty}{cleveref-hooks.4ht}
 \Configure{PackageHooks}{xr.sty}{xr-hooks.4ht}



More information about the tex-live-commits mailing list.