[tex4ht-commits] [SCM] tex4ht updated: r1447 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Sun Jan 21 22:28:33 CET 2024
Author: michal_h21
Date: 2024-01-21 21:28:32 +0000 (Sun, 21 Jan 2024)
New Revision: 1447
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
disable S columns for tables provided by Siunitx
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-01-21 13:15:14 UTC (rev 1446)
+++ trunk/lit/ChangeLog 2024-01-21 21:28:32 UTC (rev 1447)
@@ -1,5 +1,8 @@
2024-01-21 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (siunitx.4ht): disable the S columns for tables.
+ https://tex.stackexchange.com/q/707485/2891
+
* tex4ht-4ht.tex (siunitx.4ht): disable the tight-spacing option.
https://tex.stackexchange.com/q/707485/2891
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-01-21 13:15:14 UTC (rev 1446)
+++ trunk/lit/tex4ht-4ht.tex 2024-01-21 21:28:32 UTC (rev 1447)
@@ -30718,6 +30718,7 @@
\ExplSyntaxOn
|<siunitx ang|>
|<siunitx disable tight space|>
+|<siunitx disable S columns|>
\ExplSyntaxOff
\Hinput{siunitx}
\endinput
@@ -30762,6 +30763,18 @@
\bool_set_false:N \l__siunitx_number_tight_bool
>>>
+Siunitx provides special column specification in tables. It enables alignment
+of cells based on the floating point of numbers. Unfortunatelly, it
+also completelly breaks TeX4ht table processing, so tables that use
+it come out as a complete mess.
+
+\<siunitx disable S columns\><<<
+% disable S columns for tables
+% https://tex.stackexchange.com/q/707485/2891
+\cs_set_protected:Npn \siunitx_cell_begin:w {}
+\cs_set_protected:Npn \siunitx_cell_end: {}
+>>>
+
%%%%%%%%%%%%%
\Section{Ushort}
%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.