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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Oct 9 23:16:22 CEST 2023


Author: michal_h21
Date: 2023-10-09 21:16:22 +0000 (Mon, 09 Oct 2023)
New Revision: 1380

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
process keyval options in the first optional argument of \newfontfamily

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-09 11:56:53 UTC (rev 1379)
+++ trunk/lit/ChangeLog	2023-10-09 21:16:22 UTC (rev 1380)
@@ -1,5 +1,9 @@
 2023-10-09  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (usepackage-fontspec.4ht): process keyval options
+	from the first optional argument in \newfontfamily.
+	https://tex.stackexchange.com/a/698071/2891
+
 	* tex4ht-html5.tex (html5.4ht): fixed CSS selector for setting size
 	of starred section titles.
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-10-09 11:56:53 UTC (rev 1379)
+++ trunk/lit/tex4ht-4ht.tex	2023-10-09 21:16:22 UTC (rev 1380)
@@ -4676,6 +4676,7 @@
 \DeclareDocumentCommand \newfontfamily { m O{} m O{} }
  {
   % \fontspec_set_family:cnn { g__fontspec_ \cs_to_str:N #1 _family } {#2} {#3}
+  \keys_set_known:nn {fontspec4ht}{#2}
   \keys_set_known:nn {fontspec4ht}{#4}
   \seq_put_right:Nn \fontspec_ht_fontfamilies {#3}
   \use:x



More information about the tex4ht-commits mailing list.