texlive[69530] Master/texmf-dist: disable siunix tight-spacing
commits+karl at tug.org
commits+karl at tug.org
Sun Jan 21 23:22:38 CET 2024
Revision: 69530
https://tug.org/svn/texlive?view=revision&revision=69530
Author: karl
Date: 2024-01-21 23:22:38 +0100 (Sun, 21 Jan 2024)
Log Message:
-----------
disable siunix tight-spacing option, tex4ht r1446; and S columns, tex4ht r1447
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1446
https://tug.org/svn/texlive?view=revision&revision=1447
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-01-21 21:26:27 UTC (rev 69529)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-01-21 22:22:38 UTC (rev 69530)
@@ -1,3 +1,11 @@
+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
+
2024-01-19 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (siunitx.4ht): require the Color package.
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-01-21 21:26:27 UTC (rev 69529)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-01-21 22:22:38 UTC (rev 69530)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1445 2024-01-19 11:16:04Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1447 2024-01-21 21:28:32Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -30715,7 +30715,11 @@
% Copyright 2021-2024 TeX Users Group
|<TeX4ht license text|>
|<siunitx require color|>
+\ExplSyntaxOn
|<siunitx ang|>
+|<siunitx disable tight space|>
+|<siunitx disable S columns|>
+\ExplSyntaxOff
\Hinput{siunitx}
\endinput
>>> \AddFile{9}{siunitx}
@@ -30732,7 +30736,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,10 +30753,28 @@
}
\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
>>>
+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}
%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht 2024-01-21 21:26:27 UTC (rev 69529)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht 2024-01-21 22:22:38 UTC (rev 69530)
@@ -1,4 +1,4 @@
-% siunitx.4ht (2024-01-19-15:02), generated from tex4ht-4ht.tex
+% siunitx.4ht (2024-01-21-13:28), generated from tex4ht-4ht.tex
% Copyright 2021-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-01-19-15:02}
+\immediate\write-1{version 2024-01-21-13:28}
\RequirePackage{color}
@@ -38,9 +38,16 @@
}
\HLet\__siunitx_angle_arc_print_auxvi:n\__siunitx_angle_arc_print_auxvi_fourht:n
-\ExplSyntaxOff
+% https://tex.stackexchange.com/q/707485/2891
+\bool_set_false:N \l__siunitx_number_tight_bool
+% 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: {}
+
+\ExplSyntaxOff
\Hinput{siunitx}
\endinput
More information about the tex-live-commits
mailing list.