[tex4ht-commits] [SCM] tex4ht updated: r1536 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Jul 3 14:08:14 CEST 2024
Author: michal_h21
Date: 2024-07-03 12:08:13 +0000 (Wed, 03 Jul 2024)
New Revision: 1536
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
use icon name as the alt text for fontawesome
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-06-23 20:28:31 UTC (rev 1535)
+++ trunk/lit/ChangeLog 2024-07-03 12:08:13 UTC (rev 1536)
@@ -1,3 +1,7 @@
+2024-07-03 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (fontawesome5.4ht): use icon name as the alt text.
+
2024-06-21 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (arydshln.4ht): fixed clash between Colortbl and
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-06-23 20:28:31 UTC (rev 1535)
+++ trunk/lit/tex4ht-4ht.tex 2024-07-03 12:08:13 UTC (rev 1536)
@@ -4265,11 +4265,12 @@
\<fontawesome5.4ht\><<<
% fontawesome5.4ht (|version), generated from |jobname.tex
-% Copyright 2021 TeX Users Group
+% Copyright 2021-2024 TeX Users Group
|<TeX4ht license text|>
\NewConfigure{fontawesome}{2}
\ExplSyntaxOn
\cs_new_protected:Nn\temp:nn{%
+\def\:fontawesomeicon{#2}% to be used in the alt text
\a:fontawesome%
\o:fontawesome_use_icon:nn:{#1}{#2}
\b:fontawesome}
@@ -4276,7 +4277,7 @@
\HLet\fontawesome_use_icon:nn\temp:nn
\ExplSyntaxOff
-\Configure{fontawesome}{\Picture+{}}{\EndPicture}
+\Configure{fontawesome}{\Picture+[icon: \:fontawesomeicon]{}}{\EndPicture}
\Hinput{fontawesome5}
\endinput
>>> \AddFile{9}{fontawesome5}
More information about the tex4ht-commits
mailing list.