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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Jan 21 14:15:14 CET 2024


Author: michal_h21
Date: 2024-01-21 13:15:14 +0000 (Sun, 21 Jan 2024)
New Revision: 1446

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
disable the tight-spacing option of siunitx

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-01-19 11:16:04 UTC (rev 1445)
+++ trunk/lit/ChangeLog	2024-01-21 13:15:14 UTC (rev 1446)
@@ -1,3 +1,8 @@
+2024-01-21  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (siunitx.4ht): disable the tight-spacing option.
+	https://tex.stackexchange.com/q/707485/2891
+
 2024-01-19  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (siunitx.4ht): require the Color package.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-01-19 11:16:04 UTC (rev 1445)
+++ trunk/lit/tex4ht-4ht.tex	2024-01-21 13:15:14 UTC (rev 1446)
@@ -30715,7 +30715,10 @@
 % Copyright 2021-2024 TeX Users Group
 |<TeX4ht license text|>
 |<siunitx require color|>
+\ExplSyntaxOn
 |<siunitx ang|>
+|<siunitx disable tight space|>
+\ExplSyntaxOff
 \Hinput{siunitx}
 \endinput
 >>> \AddFile{9}{siunitx}
@@ -30732,7 +30735,6 @@
 to input angles.
 
 \<siunitx ang\><<<
-\ExplSyntaxOn
 \cs_set_protected:Npn \__siunitx_angle_arc_print_auxv_fourht:w
   #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_stop
 {\bgroup\siunitx_print_number:n {#1#2#3#4#5}\egroup}
@@ -30750,8 +30752,14 @@
 }
 
 \HLet\__siunitx_angle_arc_print_auxvi:n\__siunitx_angle_arc_print_auxvi_fourht:n 
-\ExplSyntaxOff
+>>>
 
+It seems that the tight-spacing option can cause errors with TeX4ht. 
+We disable the boolean that is set by this option to prevent that. 
+
+\<siunitx disable tight space\><<<
+% https://tex.stackexchange.com/q/707485/2891
+\bool_set_false:N \l__siunitx_number_tight_bool
 >>>
 
 %%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.