From d3a49f9b97d78b3719e84b2e704c59f0491190d5 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 30 Sep 2022 03:01:38 +0000 Subject: CTAN sync 202209300301 --- support/TeX4ht/source/ChangeLog | 6 ++++++ support/TeX4ht/source/tex4ht-4ht.tex | 30 +++++++++++++++++++++++++++++- support/TeX4ht/source/tex4ht-html4.tex | 8 +++++++- 3 files changed, 42 insertions(+), 2 deletions(-) (limited to 'support/TeX4ht/source') diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index be4678d63b..a2e8a8a04c 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,9 @@ +2022-09-29 Michal Hoftich + + * 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 * tex4ht-4ht.tex (beamer.4ht): don't redeclare \addtocontents, in diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 546222bacc..f43a7d957c 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -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 @@ transported into the slide blocks. >>> + 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. + + +\<<< +\NewConfigure{beamerbiblatex}{3} +\@ifpackageloaded{biblatex}{ + \pend:defI\beamer@biblabeltemplate{% + \ifdefined\end:itm\end:itm\fi% + \gdef\end:itm{\c:beamerbiblatex}% + \a:beamerbiblatex% + } + \append:defI\beamer@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} %%%%%%%%%%%%% diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index d55d830e02..145cb1ae28 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/tex4ht-html4.tex @@ -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 @@ supported formats by tex4ht. div.Beispiel, div.Examples, div.example, div.examples{color:green;}} >>> +\<<< +\Configure{beamerbiblatex}{\HCode{
}} +{\HCode{
}}{\HCode{
\Hnewline}} +\Css{.bibitem{display:grid;grid-template-columns:3em 1fr;}} +>>> + \<<< \:CheckOption{1} \if:Option \ConfigureEnv{slide} -- cgit v1.2.3