diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-23 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-23 03:00:53 +0000 |
commit | 208ecf90e1d5a239ff2a8cd506c077d194d348c0 (patch) | |
tree | e505248dddbb616aa6190340ab46f5f8b4b55803 /support | |
parent | 3bb554642b743cd7ca7aef2b3668604343bfe708 (diff) |
CTAN sync 202401230300
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 8 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 27 |
2 files changed, 32 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 32a7563f98..89b5518040 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,11 @@ +2024-01-21 Michal Hoftich <michal.h21@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@gmail.com> * tex4ht-4ht.tex (siunitx.4ht): require the Color package. 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: {} >>> %%%%%%%%%%%%% |