summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-09-30 03:01:38 +0000
committerNorbert Preining <norbert@preining.info>2022-09-30 03:01:38 +0000
commitd3a49f9b97d78b3719e84b2e704c59f0491190d5 (patch)
treebd50be75a1198c8104d7d3aa428106844ac69ad6 /support
parentd7ca45f66f34e5ca724a739f420c99a7c9960a89 (diff)
CTAN sync 202209300301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex30
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex8
3 files changed, 42 insertions, 2 deletions
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 <michal.h21@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@gmail.com>
* 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.
+
+
+\<conf beamer current\><<<
+\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;}}
>>>
+\<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}