diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-12 22:36:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-12 22:36:47 +0000 |
commit | 9089ea80f55a2fe0229753dca3676838af6f513e (patch) | |
tree | 923767f16f8fc6c4b96eb243cb2ec097d39a507a /Master/texmf-dist/tex | |
parent | 92923b59b9d97aed633e13ae96acde1946ee7af5 (diff) |
siunitx \ang fixes, tex4ht r1437
git-svn-id: svn://tug.org/texlive/trunk@69405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht b/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht index 4c2eca3428d..3e2230396b2 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht @@ -1,5 +1,5 @@ -% siunitx.4ht (2021-08-22-10:49), generated from tex4ht-4ht.tex -% Copyright 2021 TeX Users Group +% siunitx.4ht (2024-01-12-14:27), generated from tex4ht-4ht.tex +% Copyright 2021-2024 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -16,7 +16,28 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-08-22-10:49} +\immediate\write-1{version 2024-01-12-14:27} + +\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 + \Hinput{siunitx} \endinput |