summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex31
1 files changed, 29 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index be94b6b5e3..1bac75c2c3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1435 2024-01-10 09:23:41Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1437 2024-01-12 15:30:32Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -30679,12 +30679,39 @@ What \Verb+\put@line+ of the 08 version does?
\<siunitx.4ht\><<<
% siunitx.4ht (|version), generated from |jobname.tex
-% Copyright 2021 TeX Users Group
+% Copyright 2021-2024 TeX Users Group
|<TeX4ht license text|>
+|<siunitx ang|>
\Hinput{siunitx}
\endinput
>>> \AddFile{9}{siunitx}
+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}
+
+\HLet\__siunitx_angle_arc_print_auxv:w\__siunitx_angle_arc_print_auxv_fourht:w
+
+
+\cs_set_protected:Npn \__siunitx_angle_arc_print_auxvi_fourht:n #1
+{
+ % we need to define these commands here
+ \def\degree{\ht:special{t4ht@+&{35}x2218;}x}
+ \def\arcminute{\prime}
+ \def\arcsecond{\prime\prime}
+ \ensuremath{\NoFonts\sp{#1}\EndNoFonts}
+}
+
+\HLet\__siunitx_angle_arc_print_auxvi:n\__siunitx_angle_arc_print_auxvi_fourht:n
+\ExplSyntaxOff
+
+>>>
+
%%%%%%%%%%%%%
\Section{Ushort}
%%%%%%%%%%%%%