texlive[64555] Master/texmf-dist: biblatex+beamer fixes, tex4ht r1203
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 29 23:27:50 CEST 2022
Revision: 64555
http://tug.org/svn/texlive?view=revision&revision=64555
Author: karl
Date: 2022-09-29 23:27:50 +0200 (Thu, 29 Sep 2022)
Log Message:
-----------
biblatex+beamer fixes, tex4ht r1203
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1203
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,3 +1,9 @@
+2022-09-29 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (beamer.4ht),
+ * tex4ht-html4.tex (html4.4ht): fixed tag mismatch for BibLaTeX
+ bibliographies that are spread over several slides.
+
2022-09-27 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (beamer.4ht): don't redeclare \addtocontents, in
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1202 2022-09-27 14:51:50Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1203 2022-09-29 13:51:29Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -25958,6 +25958,34 @@
>>>
+ Beamer can break BibLaTeX's bibliography across several slides,
+ which can lead in tag mis-match, as the closing tags for the bibliography
+ are inserted as child of other element, than the opening tags.
+
+ This redefinition uses Beamer's macros to insert tags for each individual
+ bib item, without container item that would cause problems.
+
+
+\<conf beamer current\><<<
+\NewConfigure{beamerbiblatex}{3}
+\@ifpackageloaded{biblatex}{
+ \pend:defI\beamer at biblabeltemplate{%
+ \ifdefined\end:itm\end:itm\fi%
+ \gdef\end:itm{\c:beamerbiblatex}%
+ \a:beamerbiblatex%
+ }
+ \append:defI\beamer at biblabeltemplate{\b:beamerbiblatex}
+ \AfterPreamble{%
+ \def\bibConfigure{%
+ \ConfigureList{thebibliography}%
+ {\PushMacro\end:itm\let\end:itm=\empty}%
+ {\end:itm\PopMacro\end:itm\global\let\end:itm\end:itm}{}{}%
+ }
+ }
+}
+{}
+
+>>>
%%%%%%%%%%%%%
\SubSection{beamerbasetoc}
%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1198 2022-09-22 15:05:34Z michal_h21 $
+% $Id: tex4ht-html4.tex 1203 2022-09-29 13:51:29Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -14319,6 +14319,12 @@
div.Beispiel, div.Examples, div.example, div.examples{color:green;}}
>>>
+\<beamer environments\><<<
+\Configure{beamerbiblatex}{\HCode{<div class="bibitem"><div class="label">}}
+{\HCode{</div><div class="bibcontent">}}{\HCode{</div></div>\Hnewline}}
+\Css{.bibitem{display:grid;grid-template-columns:3em 1fr;}}
+>>>
+
\<beamer slides\><<<
\:CheckOption{1} \if:Option
\ConfigureEnv{slide}
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,4 +1,4 @@
-% beamer.4ht (2022-09-27-14:07), generated from tex4ht-4ht.tex
+% beamer.4ht (2022-09-29-14:23), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-27-14:07}
+\immediate\write-1{version 2022-09-29-14:23}
\NewConfigure{titlepage}{2}
\NewConfigure{title}{2}
@@ -165,7 +165,25 @@
\pend:defI\emph{\a:emph}%
\append:defI\emph{\b:emph}%
+\NewConfigure{beamerbiblatex}{3}
+\@ifpackageloaded{biblatex}{
+ \pend:defI\beamer at biblabeltemplate{%
+ \ifdefined\end:itm\end:itm\fi%
+ \gdef\end:itm{\c:beamerbiblatex}%
+ \a:beamerbiblatex%
+ }
+ \append:defI\beamer at biblabeltemplate{\b:beamerbiblatex}
+ \AfterPreamble{%
+ \def\bibConfigure{%
+ \ConfigureList{thebibliography}%
+ {\PushMacro\end:itm\let\end:itm=\empty}%
+ {\end:itm\PopMacro\end:itm\global\let\end:itm\end:itm}{}{}%
+ }
+ }
+}
+{}
+
\Hinput{beamer}
\endinput
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,4 +1,4 @@
-% html4.4ht (2022-09-22-14:11), generated from tex4ht-html4.tex
+% html4.4ht (2022-09-29-14:24), generated from tex4ht-html4.tex
% Copyright 2009-2022 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-22-14:11}
+\immediate\write-1{version 2022-09-29-14:24}
\exit:ifnot{8859-6,%
CJK,%
@@ -35198,6 +35198,9 @@
{\def\block:Name{examples}} {} {} {}
\Css{div.Example, div.examplblock, div.Beispiele,
div.Beispiel, div.Examples, div.example, div.examples{color:green;}}
+\Configure{beamerbiblatex}{\HCode{<div class="bibitem"><div class="label">}}
+{\HCode{</div><div class="bibcontent">}}{\HCode{</div></div>\Hnewline}}
+\Css{.bibitem{display:grid;grid-template-columns:3em 1fr;}}
\ifx \beamer at version\:UnDef
\ConfigureEnv{exampleblock}
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-09-29 20:50:02 UTC (rev 64554)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-09-29 21:27:50 UTC (rev 64555)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-09-27-14:07), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-09-29-14:23), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-27-14:07}
+\immediate\write-1{version 2022-09-29-14:23}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
More information about the tex-live-commits
mailing list.