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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Oct 13 13:46:56 CEST 2023


Author: michal_h21
Date: 2023-10-13 11:46:56 +0000 (Fri, 13 Oct 2023)
New Revision: 1388

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added support for the transparent package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-12 16:10:29 UTC (rev 1387)
+++ trunk/lit/ChangeLog	2023-10-13 11:46:56 UTC (rev 1388)
@@ -1,3 +1,10 @@
+2023-10-13  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (transparent.4ht),
+	* tex4ht-html4.tex (html4.4ht): added support for the transparent
+	package.
+	https://puszcza.gnu.org.ua/bugs/?612
+
 2023-10-12  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-c.tex (<span char block>): avoid negative indexing into

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2023-10-12 16:10:29 UTC (rev 1387)
+++ trunk/lit/mktex4ht-cnf.tex	2023-10-13 11:46:56 UTC (rev 1388)
@@ -295,6 +295,7 @@
 \AddFile{7}{fancybox}
 \AddFile{7}{adjustbox}
 \AddFile{7}{awesomebox}
+\AddFile{7}{transparent}
 \AddFile{7}{alltt}
 \AddFile{9}{lb}
 \AddFile{7}{latin1}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-10-12 16:10:29 UTC (rev 1387)
+++ trunk/lit/tex4ht-4ht.tex	2023-10-13 11:46:56 UTC (rev 1388)
@@ -33091,6 +33091,31 @@
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%
+\Section{transparent.sty}
+%%%%%%%%%%%%%%%%%%%%%%%
+
+\<transparent.4ht\><<<
+% transparent.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<transparent shared config|>
+\Hinput{transparent}
+\endinput
+
+>>> \AddFile{7}{transparent}
+
+The transparent package doesn't define its commands in the DVI mode, so we need to provide
+our versions. 
+
+\<transparent shared config\><<<
+% dummy command, just to prevent compilation errors
+\providecommand\transparent[1]{}
+% this can actually do something useful, as it operates on encloded content.
+\NewConfigure{texttransparent}{2}
+\providecommand\texttransparent[2]{\def\transparent:opacity{#1}\a:texttransparent#2\b:texttransparent}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%
 \Section{alltt.sty}
 %%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-10-12 16:10:29 UTC (rev 1387)
+++ trunk/lit/tex4ht-html4.tex	2023-10-13 11:46:56 UTC (rev 1388)
@@ -21704,8 +21704,15 @@
 >>>
 
 
+%%%%%%%%%%%%%%%%%%%%%%
+\section{transparent}
+%%%%%%%%%%%%%%%%%%%%%%
 
+\<configure html4 transparent\><<<
+\Configure{texttransparent}{\HCode{<span class="texttransparent" style="opacity:\transparent:opacity;">}}{\HCode{</span>}}
+>>>
 
+
 \section{fontmath.ltx}
 
 



More information about the tex4ht-commits mailing list.