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

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


Author: michal_h21
Date: 2020-10-17 12:56:52 +0300 (Sat, 17 Oct 2020)
New Revision: 824

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

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-10-17 09:52:52 UTC (rev 823)
+++ trunk/lit/ChangeLog	2020-10-17 09:56:52 UTC (rev 824)
@@ -22,6 +22,8 @@
 	the new package hook mechanism.
 	* tex4ht-4ht.tex (usepackage.4ht, expl3-hooks.4ht): adapted expl3 for
 	the new package hook mechanism.
+	* tex4ht-4ht.tex (usepackage.4ht, showframe-hooks.4ht): adapted showframe 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:52:52 UTC (rev 823)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-17 09:56:52 UTC (rev 824)
@@ -3616,14 +3616,18 @@
 
 The Showframe package is not useful in HTML mode. It also breaks TeX4ht, so we should block it.
 
-\<use package\><<<
-showframe,>>>
 
 \<add to usepackage\><<<
-\def\:temp{showframe}\ifx \@currname\:temp
+\Configure{PackageHooks}{showframe.sty}{showframe-hooks.4ht}
+>>>
+
+\<showframe-hooks.4ht\><<<
+% showframe-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2020 TeX Users Group
+|<TeX4ht license text|>
 \:dontusepackage{showframe}
-\fi
->>>
+>>> \AddFile{9}{showframe-hooks}
+
 %%%%%%%%%%%%%%%%%
 \Section{expl3.sty}
 %%%%%%%%%%%%%%%%%
@@ -3637,6 +3641,9 @@
 >>>
 
 \<expl3-hooks.4ht\><<<
+% expl3-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2020 TeX Users Group
+|<TeX4ht license text|>
 \ifdefined\XeTeXversion%
 \xenunidelblock{Latin-expl3}%
 \:AtEndOfPackage{\xeuniuseblock{Latin-expl3}}



More information about the tex4ht-commits mailing list.