diff options
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht | 6 |
3 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 319d184bf67..32a7563f981 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,8 @@ +2024-01-19 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (siunitx.4ht): require the Color package. + https://tex.stackexchange.com/q/707416/2891 + 2024-01-16 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (unicode-math-hooks.4ht): added support for various diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 113c21f3373..2b6a8431da4 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1444 2024-01-16 16:58:10Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1445 2024-01-19 11:16:04Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2024 TeX Users Group @@ -30714,11 +30714,20 @@ What \Verb+\put@line+ of the 08 version does? % siunitx.4ht (|version), generated from |jobname.tex % Copyright 2021-2024 TeX Users Group |<TeX4ht license text|> +|<siunitx require color|> |<siunitx ang|> \Hinput{siunitx} \endinput >>> \AddFile{9}{siunitx} +In the ODT output, Siunitx leads to some catcode errors. It is caused by +requiring of the Color package at begin document. The simple fix for +that is to require color earlier. + +\<siunitx require color\><<< +\RequirePackage{color} +>>> + This should bring support for the \Verb+\ang+ command, which can be used to input angles. diff --git a/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht b/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht index 3e2230396b2..d4453995bf3 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht @@ -1,4 +1,4 @@ -% siunitx.4ht (2024-01-12-14:27), generated from tex4ht-4ht.tex +% siunitx.4ht (2024-01-19-15:02), generated from tex4ht-4ht.tex % Copyright 2021-2024 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,9 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2024-01-12-14:27} +\immediate\write-1{version 2024-01-19-15:02} + +\RequirePackage{color} \ExplSyntaxOn \cs_set_protected:Npn \__siunitx_angle_arc_print_auxv_fourht:w |