From c9ea02c585c676576f7e09b0339b81a737552408 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Jan 2024 23:34:18 +0000 Subject: siunitx require color, tex4ht r1445 git-svn-id: svn://tug.org/texlive/trunk@69499 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 +++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 11 ++++++++++- Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht | 6 ++++-- 3 files changed, 19 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist') 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 + + * tex4ht-4ht.tex (siunitx.4ht): require the Color package. + https://tex.stackexchange.com/q/707416/2891 + 2024-01-16 Michal Hoftich * 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 | +| | \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. + +\<<< +\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 -- cgit v1.2.3