diff options
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 2b6a8431da..7f3605731c 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -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 @@ What \Verb+\put@line+ of the 08 version does? % 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 @@ This should bring support for the \Verb+\ang+ command, which can be used 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 +30753,26 @@ to input angles. } \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: {} >>> %%%%%%%%%%%%% |