texlive[69405] Master/texmf-dist: siunitx \ang fixes, tex4ht r1437

commits+karl at tug.org commits+karl at tug.org
Fri Jan 12 23:36:47 CET 2024


Revision: 69405
          https://tug.org/svn/texlive?view=revision&revision=69405
Author:   karl
Date:     2024-01-12 23:36:47 +0100 (Fri, 12 Jan 2024)
Log Message:
-----------
siunitx \ang fixes, tex4ht r1437

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1437

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-01-12 21:45:17 UTC (rev 69404)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-01-12 22:36:47 UTC (rev 69405)
@@ -1,3 +1,8 @@
+2024-01-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (siunitx.4ht): fixed support for the \ang command.
+	https://fosstodon.org/@alerque@mastodon.social/111701555810243494
+
 2024-01-10  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (fancyvrb.4ht): fixed regression in \FVC at Verb in

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-01-12 21:45:17 UTC (rev 69404)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-01-12 22:36:47 UTC (rev 69405)
@@ -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 @@
 
 \<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 at +&{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}
 %%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht	2024-01-12 21:45:17 UTC (rev 69404)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/siunitx.4ht	2024-01-12 22:36:47 UTC (rev 69405)
@@ -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,8 +16,29 @@
 %
 % 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 at +&{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
 



More information about the tex-live-commits mailing list.