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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Aug 16 13:03:44 CEST 2023


Author: michal_h21
Date: 2023-08-16 11:03:43 +0000 (Wed, 16 Aug 2023)
New Revision: 1357

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed infinite loop with tikz externalization

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-08-13 18:48:02 UTC (rev 1356)
+++ trunk/lit/ChangeLog	2023-08-16 11:03:43 UTC (rev 1357)
@@ -1,3 +1,8 @@
+2023-08-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (tikz-hooks.4ht): fixed infinite loop with
+	externalization when TikZ was used multiple times in the document.
+
 2023-08-13  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): fixed handling of \tfrac and

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-08-13 18:48:02 UTC (rev 1356)
+++ trunk/lit/tex4ht-4ht.tex	2023-08-16 11:03:43 UTC (rev 1357)
@@ -4896,6 +4896,7 @@
   document before use of TikZ if you want to another driver. Use tikz+ option if your TikZ pictures use patterns.}%
   \def\pgfsysdriver{pgfsys-dvisvgm4ht.def}%
 \fi%
+\ifdefined\find:externalize\else
 \:AtEndOfPackage{%
 \let\use:tikzlibrary\usetikzlibrary
 \def\find:externalize#1external#2\@nil{%
@@ -4914,6 +4915,7 @@
 }
 \append:defI\use@@tikzlibrary{\find:externalize##1external\@nil}%
 }
+\fi
 >>> \AddFile{9}{tikz-hooks}
 
 %%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.