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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Oct 17 11:11:03 CEST 2020


Author: michal_h21
Date: 2020-10-17 12:11:03 +0300 (Sat, 17 Oct 2020)
New Revision: 816

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Adapted Caption for the new package hook mechanism

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-10-17 09:06:17 UTC (rev 815)
+++ trunk/lit/ChangeLog	2020-10-17 09:11:03 UTC (rev 816)
@@ -4,6 +4,8 @@
 	the new package hook mechanism.
 	* tex4ht-4ht.tex (usepackage.4ht, xcolor-hooks.4ht): adapted Xcolor for
 	the new package hook mechanism.
+	* tex4ht-4ht.tex (usepackage.4ht, caption-hooks.4ht): adapted Caption for
+	the new package hook mechanism.
 
 2020-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-10-17 09:06:17 UTC (rev 815)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-17 09:11:03 UTC (rev 816)
@@ -11153,11 +11153,15 @@
 \endinput
 >>>        \AddFile{9}{caption}
 
-\<use package\><<<
-caption,>>>
 
 \<add to usepackage\><<<
-\def\:temp{caption}\ifx\@currname\:temp
+\Configure{PackageHooks}{caption.sty}{caption-hooks.4ht}
+>>>
+
+\<caption-hooks.4ht\><<<
+% caption-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2020 TeX Users Group
+|<TeX4ht copyright|>
 \:AtEndOfPackage{%
   \long\def\caption at If@Package at Loaded#1[#2]#3#4{}
   \renewcommand*\caption at redefine{%
@@ -11165,8 +11169,7 @@
     \let\@caption\caption@@caption%
   }%
 }
-\fi
->>>
+>>> \AddFile{9}{caption-hooks}
 
 \<caption shared config\><<<
 \let\sv:toclof\toclof



More information about the tex4ht-commits mailing list.