Debian Codegraph @

texmf-dist/tex/generic/tex4ht/siunitx.4ht

raw
1 % siunitx.4ht (2024-01-21-13:28), generated from tex4ht-4ht.tex
2 % Copyright 2021-2024 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2024-01-21-13:28}
20
21 \RequirePackage{color}
22
23 \ExplSyntaxOn
24 \cs_set_protected:Npn \__siunitx_angle_arc_print_auxv_fourht:w
25 #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_stop
26 {\bgroup\siunitx_print_number:n {#1#2#3#4#5}\egroup}
27
28 \HLet\__siunitx_angle_arc_print_auxv:w\__siunitx_angle_arc_print_auxv_fourht:w
29
30
31 \cs_set_protected:Npn \__siunitx_angle_arc_print_auxvi_fourht:n #1
32 {
33 % we need to define these commands here
34 \def\degree{\ht:special{t4ht@+&{35}x2218;}x}
35 \def\arcminute{\prime}
36 \def\arcsecond{\prime\prime}
37 \ensuremath{\NoFonts\sp{#1}\EndNoFonts}
38 }
39
40 \HLet\__siunitx_angle_arc_print_auxvi:n\__siunitx_angle_arc_print_auxvi_fourht:n
41
42 % https://tex.stackexchange.com/q/707485/2891
43 \bool_set_false:N \l__siunitx_number_tight_bool
44
45 % disable S columns for tables
46 % https://tex.stackexchange.com/q/707485/2891
47 \cs_set_protected:Npn \siunitx_cell_begin:w {}
48 \cs_set_protected:Npn \siunitx_cell_end: {}
49
50 \ExplSyntaxOff
51 \Hinput{siunitx}
52 \endinput
53