Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % sistyle.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2007--2009 Eitan M. Gurari %
4 % %
5 % This work may be distributed and/or modified under the %
6 % conditions of the LaTeX Project Public License, either %
7 % version 1.3c of this license or (at your option) any %
8 % later version. The latest version of this license is %
9 % in %
10 % http://www.latex-project.org/lppl.txt %
11 % and version 1.3c or later is part of all distributions %
12 % of LaTeX version 2005/12/01 or later. %
13 % %
14 % This work has the LPPL maintenance status "maintained".%
15 % %
16 % This Current Maintainer of this work %
17 % is Eitan M. Gurari. %
18 % %
19 % If you modify this program your changing its signature %
20 % with a directive of the following form will be %
21 % appreciated. %
22 % \message{signature} %
23 % %
24 % [email protected] %
25 % http://www.cse.ohio-state.edu/~gurari %
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27 \immediate\write-1{version 2009-05-21-09:32}
28
29 \def\:tempc{{\a:thousandsep}}
30 \HLet\SI@thousandsep\:tempc
31 \NewConfigure{thousandsep}{1}
32 \Configure{thousandsep}{\,}
33 \def\SI@numexp#1#2{%
34 \SI@ifempt{#1}{}{%
35 \def\SI@tmpb{#1}%
36 \ifx\SI@tmpb\SI@p@tst\ensuremath{+}\else
37 \ifx\SI@tmpb\SI@m@tst\ensuremath{-}\else
38 \SI@realp{#1}{}\SI@prod%
39 \fi\fi}%
40 \ifmmode
41 {10}\sp{\SI@realp{#2}{}}%
42 \else
43 {10}\textsuperscript{\SI@realp{#2}{}}%
44 \fi
45 }
46 \AtBeginDocument{%
47 \@ifpackageloaded{textcomp}{}{%
48 \def\degC{%
49 \ensureupmath{{\csname HCode\endcsname{}}\sp
50 {\circ}\kern-\scriptspace C}}%
51 \def\degF{%
52 \ensureupmath{{\csname HCode\endcsname{}}\sp
53 {\circ}\kern-\scriptspace F}}%
54 \def\arcdeg{\ensureupmath{{\csname HCode\endcsname{}}\sp{\circ}}}%
55 }%
56 \def\:tempc{\a:degC}%
57 \HLet\degC\:tempc
58 \def\:tempc{\a:degF}%
59 \HLet\degF\:tempc
60 \def\:tempc{\a:arcdeg}%
61 \HLet\arcdeg\:tempc
62 \def\arcsec{\ensureupmath{{\csname HCode\endcsname{}}\sp{\prime\prime}}}%
63 \def\:tempc{\a:arcsec}%
64 \HLet\arcsec\:tempc
65 \def\arcmin{\ensureupmath{{\csname HCode\endcsname{}}\sp{\prime}}}%
66 \def\:tempc{\a:arcmin}%
67 \HLet\arcmin\:tempc
68 \def\:tempc{\a:ohm}%
69 \HLet\ohm\:tempc
70 \def\:tempc{\a:micro}%
71 \HLet\micro\:tempc
72 \def\:tempc{\a:angstrom}%
73 \HLet\angstrom\:tempc
74 }
75 \NewConfigure{degC}{1}
76 \Configure{degC}{\o:defC:}
77 \NewConfigure{degF}{1}
78 \Configure{degF}{\o:defF:}
79 \NewConfigure{arcdeg}{1}
80 \Configure{arcdeg}{\o:arcdeg:}
81 \NewConfigure{arcsec}{1}
82 \Configure{arcsec}{\o:arcsec:}
83 \NewConfigure{arcmin}{1}
84 \Configure{arcsec}{\o:arcmin:}
85 \NewConfigure{ohm}{1}
86 \Configure{ohm}{\o:ohm:}
87 \NewConfigure{micro}{1}
88 \Configure{micro}{\o:micro:}
89 \NewConfigure{angstrom}{1}
90 \Configure{angstrom}{\o:angstrom:}
91
92 \Hinput{sistyle}
93 \endinput
94