@pretextbook/pretext-html 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -3
- package/assets/preview-html.xsl +230 -230
- package/assets/upstream.json +7 -7
- package/assets/xsl/README.md +0 -0
- package/assets/xsl/entities.ent +154 -154
- package/assets/xsl/extract-asymptote.xsl +68 -68
- package/assets/xsl/extract-biblio-csl.xsl +327 -327
- package/assets/xsl/extract-datafile.xsl +71 -71
- package/assets/xsl/extract-dynamic.xsl +139 -139
- package/assets/xsl/extract-identity.xsl +136 -136
- package/assets/xsl/extract-interactive.xsl +81 -81
- package/assets/xsl/extract-latex-image.xsl +118 -118
- package/assets/xsl/extract-mermaid.xsl +58 -58
- package/assets/xsl/extract-mom.xsl +63 -63
- package/assets/xsl/extract-pg.xsl +2897 -2897
- package/assets/xsl/extract-prefigure.xsl +157 -157
- package/assets/xsl/extract-qrcode.xsl +100 -100
- package/assets/xsl/extract-runestone-page-template.xsl +139 -139
- package/assets/xsl/extract-sageplot.xsl +166 -166
- package/assets/xsl/extract-stack.xsl +56 -56
- package/assets/xsl/extract-trace.xsl +134 -134
- package/assets/xsl/extract-youtube.xsl +63 -63
- package/assets/xsl/html-symbols.xsl +3344 -3344
- package/assets/xsl/latex/pretext-latex-AIM.xsl +56 -56
- package/assets/xsl/latex/pretext-latex-CLP.xsl +148 -148
- package/assets/xsl/latex/pretext-latex-chaos.xsl +317 -317
- package/assets/xsl/latex/pretext-latex-dyslexic-font.xsl +76 -76
- package/assets/xsl/latex/pretext-latex-guide.xsl +104 -104
- package/assets/xsl/latex/pretext-latex-texstyle.xsl +862 -862
- package/assets/xsl/localizations/README.md +0 -0
- package/assets/xsl/localizations/af-ZA.xml +276 -276
- package/assets/xsl/localizations/bg-BG.xml +276 -276
- package/assets/xsl/localizations/ca-ES.xml +285 -285
- package/assets/xsl/localizations/cs-CZ.xml +280 -280
- package/assets/xsl/localizations/de-DE.xml +281 -281
- package/assets/xsl/localizations/en-US.xml +427 -427
- package/assets/xsl/localizations/es-ES.xml +287 -287
- package/assets/xsl/localizations/fi-FI.xml +275 -275
- package/assets/xsl/localizations/fr-CA.xml +276 -276
- package/assets/xsl/localizations/fr-FR.xml +280 -280
- package/assets/xsl/localizations/hu-HU.xml +280 -280
- package/assets/xsl/localizations/it-IT.xml +276 -276
- package/assets/xsl/localizations/ku-CKB.xml +275 -275
- package/assets/xsl/localizations/localizations.xml +48 -48
- package/assets/xsl/localizations/nl-NL.xml +275 -275
- package/assets/xsl/localizations/pt-BR.xml +288 -288
- package/assets/xsl/localizations/pt-PT.xml +292 -292
- package/assets/xsl/localizations/zh-HANS.xml +269 -269
- package/assets/xsl/pretext-assembly.xsl +4795 -4795
- package/assets/xsl/pretext-basic-html.xsl +86 -86
- package/assets/xsl/pretext-beamer.xsl +662 -662
- package/assets/xsl/pretext-braille-preprint.xsl +2249 -2249
- package/assets/xsl/pretext-common.xsl +12018 -12018
- package/assets/xsl/pretext-dynamic.xsl +65 -65
- package/assets/xsl/pretext-epub.xsl +1483 -1483
- package/assets/xsl/pretext-fo.xsl +4593 -4593
- package/assets/xsl/pretext-html.xsl +14791 -14791
- package/assets/xsl/pretext-json-manifest.xsl +150 -150
- package/assets/xsl/pretext-jupyter.xsl +868 -868
- package/assets/xsl/pretext-latex-classic.xsl +952 -952
- package/assets/xsl/pretext-latex-common.xsl +11563 -11563
- package/assets/xsl/pretext-latex.xsl +47 -47
- package/assets/xsl/pretext-litprog.xsl +105 -105
- package/assets/xsl/pretext-merge.xsl +41 -41
- package/assets/xsl/pretext-numbers.xsl +875 -875
- package/assets/xsl/pretext-revealjs.xsl +522 -522
- package/assets/xsl/pretext-runestone-fitb.xsl +1233 -1233
- package/assets/xsl/pretext-runestone-static.xsl +1438 -1438
- package/assets/xsl/pretext-runestone.xsl +3083 -3083
- package/assets/xsl/pretext-sage-doctest.xsl +289 -289
- package/assets/xsl/pretext-smc.xsl +492 -492
- package/assets/xsl/pretext-solution-manual-latex.xsl +323 -323
- package/assets/xsl/pretext-text-utilities.xsl +1217 -1217
- package/assets/xsl/pretext-text.xsl +392 -392
- package/assets/xsl/pretext-units.xsl +195 -195
- package/assets/xsl/pretext-view-source.xsl +157 -157
- package/assets/xsl/pretext-ww-problem-sets.xsl +391 -391
- package/assets/xsl/publisher-variables.xsl +4756 -4756
- package/assets/xsl/support/README.md +0 -0
- package/assets/xsl/support/extract-math.xsl +256 -256
- package/assets/xsl/support/package-math.xsl +141 -141
- package/assets/xsl/support/play-button/README.md +0 -0
- package/assets/xsl/support/play-button/play-button.png +0 -0
- package/assets/xsl/support/play-button/play-button.svg +3 -3
- package/assets/xsl/support/pretext-pg-macros.xsl +110 -110
- package/assets/xsl/support/webpack_static_imports.xml +14 -14
- package/assets/xsl/tests/README.md +0 -0
- package/assets/xsl/tests/null.xml +3 -3
- package/assets/xsl/tests/pretext-text-utilities-test.xsl +333 -333
- package/assets/xsl/utilities/README.md +0 -0
- package/assets/xsl/utilities/author-report.xsl +107 -107
- package/assets/xsl/utilities/deprecate-autoname.sed +18 -18
- package/assets/xsl/utilities/deprecate-index.sed +33 -33
- package/assets/xsl/utilities/fix-deprecations.xsl +663 -663
- package/assets/xsl/utilities/pretext-enhanced-source.xsl +112 -112
- package/assets/xsl/utilities/report-publisher-variables.xsl +162 -162
- package/assets/xsl/xml-to-json.xsl +326 -326
- package/assets/xsl/xml-to-string.xsl +328 -328
- package/dist/{cli-C6tfAVvi.js → cli-BQizBK0N.js} +74 -72
- package/dist/cli.d.ts +0 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -6
- package/dist/mounts.d.ts +0 -0
- package/dist/publication.d.ts +0 -0
- package/dist/renderer.d.ts +10 -0
- package/dist/sourcemap.d.ts +0 -0
- package/dist/theme.d.ts +68 -0
- package/dist/theme.js +93 -0
- package/dist/xinclude.d.ts +0 -0
- package/package.json +14 -2
|
@@ -1,195 +1,195 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
|
|
3
|
-
<xsl:stylesheet version="1.0"
|
|
4
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
5
|
-
|
|
6
|
-
<!--********************************************************************
|
|
7
|
-
Copyright 2013 Robert A. Beezer
|
|
8
|
-
|
|
9
|
-
This file is part of MathBook XML.
|
|
10
|
-
|
|
11
|
-
MathBook XML is free software: you can redistribute it and/or modify
|
|
12
|
-
it under the terms of the GNU General Public License as published by
|
|
13
|
-
the Free Software Foundation, either version 2 or version 3 of the
|
|
14
|
-
License (at your option).
|
|
15
|
-
|
|
16
|
-
MathBook XML is distributed in the hope that it will be useful,
|
|
17
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
GNU General Public License for more details.
|
|
20
|
-
|
|
21
|
-
You should have received a copy of the GNU General Public License
|
|
22
|
-
along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*********************************************************************-->
|
|
24
|
-
|
|
25
|
-
<!-- This file contains unit-related abbreviations, such as 'kilo' => 'k' -->
|
|
26
|
-
<!-- and 'meter' => 'm'. These are used by the quantity/unit and quantity/per -->
|
|
27
|
-
<!-- elements for HMTL output, and possibly other places in the future. -->
|
|
28
|
-
<!-- For tex, the siunitx package knows \kilo, \meter, etc. If there is a unit -->
|
|
29
|
-
<!-- that siunitx does not know, the abbreviations here are used to add it to -->
|
|
30
|
-
<!-- the preamble. -->
|
|
31
|
-
<!-- Future enhancements (which maybe happen in other stylesheets, not here): -->
|
|
32
|
-
<!-- 1. If MathJax siunitx extension is functional, start using it for HTML. -->
|
|
33
|
-
<!-- 2. Make use of siunitx's \of{}. -->
|
|
34
|
-
<!-- 3. Create a docinfo element that adds custom units. -->
|
|
35
|
-
|
|
36
|
-
<!-- Unit prefixes (the prefix attribute in a unit or per tag) -->
|
|
37
|
-
<!-- SI prefixes -->
|
|
38
|
-
<xsl:variable name="prefixes">
|
|
39
|
-
<prefix full='yocto' short='y'/>
|
|
40
|
-
<prefix full='zepto' short='z'/>
|
|
41
|
-
<prefix full='atto' short='a'/>
|
|
42
|
-
<prefix full='femto' short='f'/>
|
|
43
|
-
<prefix full='pico' short='p'/>
|
|
44
|
-
<prefix full='nano' short='n'/>
|
|
45
|
-
<prefix full='micro' short='µ'/>
|
|
46
|
-
<prefix full='milli' short='m'/>
|
|
47
|
-
<prefix full='centi' short='c'/>
|
|
48
|
-
<prefix full='deci' short='d'/>
|
|
49
|
-
<prefix full='deca' short='da'/>
|
|
50
|
-
<prefix full='deka' short='da'/>
|
|
51
|
-
<prefix full='hecto' short='h'/>
|
|
52
|
-
<prefix full='kilo' short='k'/>
|
|
53
|
-
<prefix full='mega' short='M'/>
|
|
54
|
-
<prefix full='giga' short='G'/>
|
|
55
|
-
<prefix full='tera' short='T'/>
|
|
56
|
-
<prefix full='peta' short='P'/>
|
|
57
|
-
<prefix full='exa' short='E'/>
|
|
58
|
-
<prefix full='zetta' short='Z'/>
|
|
59
|
-
<prefix full='yotta' short='Y'/>
|
|
60
|
-
</xsl:variable>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<!-- Unit bases (the base attribute in a unit or per tag) -->
|
|
64
|
-
<xsl:variable name="bases">
|
|
65
|
-
<!-- SI fundamental units -->
|
|
66
|
-
<base full='ampere' short='A'/>
|
|
67
|
-
<base full='candela' short='cd'/>
|
|
68
|
-
<base full='kelvin' short='K'/>
|
|
69
|
-
<base full='gram' short='g'/>
|
|
70
|
-
<base full='meter' short='m'/>
|
|
71
|
-
<base full='metre' short='m'/>
|
|
72
|
-
<base full='mole' short='mol'/>
|
|
73
|
-
<base full='second' short='s'/>
|
|
74
|
-
|
|
75
|
-
<!-- SI derived units and non-SI units with a simple relationship to SI units -->
|
|
76
|
-
<!-- Radioactivity -->
|
|
77
|
-
<base full='becquerel' short='Bq'/>
|
|
78
|
-
<base full='gray' short='Gy'/>
|
|
79
|
-
<base full='sievert' short='Sv'/>
|
|
80
|
-
|
|
81
|
-
<!-- Temperature -->
|
|
82
|
-
<base full='degreeCelsius' short='°C'/>
|
|
83
|
-
<base full='celsius' short='°C'/>
|
|
84
|
-
|
|
85
|
-
<!-- Elecro-magnetic -->
|
|
86
|
-
<base full='coulomb' short='C'/>
|
|
87
|
-
<base full='henry' short='H'/>
|
|
88
|
-
<base full='ohm' short='Ω'/>
|
|
89
|
-
<base full='siemens' short='S'/>
|
|
90
|
-
<base full='tesla' short='T'/>
|
|
91
|
-
<base full='volt' short='V'/>
|
|
92
|
-
<base full='electronvolt' short='eV'/>
|
|
93
|
-
<base full='weber' short='Wb'/>
|
|
94
|
-
|
|
95
|
-
<!-- Frequency and Catalytic Activity -->
|
|
96
|
-
<base full='hertz' short='Hz'/>
|
|
97
|
-
<base full='katal' short='kat'/>
|
|
98
|
-
|
|
99
|
-
<!-- Energy, Work, Power, Force -->
|
|
100
|
-
<base full='joule' short='J'/>
|
|
101
|
-
<base full='newton' short='N'/>
|
|
102
|
-
<base full='pascal' short='Pa'/>
|
|
103
|
-
<base full='watt' short='W'/>
|
|
104
|
-
|
|
105
|
-
<!-- Candela-related -->
|
|
106
|
-
<base full='lumen' short='lm'/>
|
|
107
|
-
<base full='lux' short='lx'/>
|
|
108
|
-
|
|
109
|
-
<!-- Angle (2D and 3D) -->
|
|
110
|
-
<base full='radian' short='rad'/>
|
|
111
|
-
<base full='steradian' short='sr'/>
|
|
112
|
-
<base full='degree' short='°'/>
|
|
113
|
-
<base full='arcminute' short='′'/>
|
|
114
|
-
<base full='arcsecond' short='″'/>
|
|
115
|
-
|
|
116
|
-
<!-- Time -->
|
|
117
|
-
<base full='day' short='d'/>
|
|
118
|
-
<base full='hour' short='h'/>
|
|
119
|
-
<base full='minute' short='min'/>
|
|
120
|
-
|
|
121
|
-
<!-- Area -->
|
|
122
|
-
<base full='hectare' short='ha'/>
|
|
123
|
-
|
|
124
|
-
<!-- Volume -->
|
|
125
|
-
<base full='liter' short='L'/>
|
|
126
|
-
<base full='litre' short='l'/>
|
|
127
|
-
|
|
128
|
-
<!-- Mass -->
|
|
129
|
-
<base full='tonne' short='t'/>
|
|
130
|
-
|
|
131
|
-
<!-- Percent -->
|
|
132
|
-
<base full='percent' short='%'/>
|
|
133
|
-
|
|
134
|
-
<!-- completely non-SI units; these are not part of the siunitx package, so they -->
|
|
135
|
-
<!-- need siunitx='none'. The value of 'short' will be used as the macro output, -->
|
|
136
|
-
<!-- unless something else is specified. This is necessary if the value of 'short' -->
|
|
137
|
-
<!-- has unusual characters, as with Fahrenheit below. -->
|
|
138
|
-
<!-- Temperature -->
|
|
139
|
-
<base full='degreeFahrenheit' short='°F' siunitx='\SIUnitSymbolDegree{F}' />
|
|
140
|
-
<base full='fahrenheit' short='°F' siunitx='\degreeFahrenheit' />
|
|
141
|
-
|
|
142
|
-
<!-- Weight, Force -->
|
|
143
|
-
<base full='pound' short='lb' siunitx='none' />
|
|
144
|
-
<base full='ounce' short='oz' siunitx='none' />
|
|
145
|
-
<base full='ton' short='T' siunitx='none' />
|
|
146
|
-
|
|
147
|
-
<!-- Length -->
|
|
148
|
-
<base full='foot' short='ft' siunitx='none' />
|
|
149
|
-
<base full='inch' short='in' siunitx='none' />
|
|
150
|
-
<base full='yard' short='yd' siunitx='none' />
|
|
151
|
-
<base full='mile' short='mi' siunitx='none' />
|
|
152
|
-
|
|
153
|
-
<!-- Time -->
|
|
154
|
-
<base full='millennium' short='millennium' siunitx='none' />
|
|
155
|
-
<base full='century' short='century' siunitx='none' />
|
|
156
|
-
<base full='decade' short='decade' siunitx='none' />
|
|
157
|
-
<base full='year' short='yr' siunitx='none' />
|
|
158
|
-
<base full='month' short='mo' siunitx='none' />
|
|
159
|
-
<base full='week' short='wk' siunitx='none' />
|
|
160
|
-
|
|
161
|
-
<!-- Speed -->
|
|
162
|
-
<base full='kilometerperhour' short='kph' siunitx='none' />
|
|
163
|
-
<base full='kilometreperhour' short='kph' siunitx='none' />
|
|
164
|
-
<base full='mileperhour' short='mph' siunitx='none' />
|
|
165
|
-
|
|
166
|
-
<!-- Volume -->
|
|
167
|
-
<base full='gallon' short='gal' siunitx='none' />
|
|
168
|
-
<base full='cubiccentimeter' short='cc' siunitx='none' />
|
|
169
|
-
<base full='tablespoon' short='tbsp' siunitx='none' />
|
|
170
|
-
<base full='teaspoon' short='tsp' siunitx='none' />
|
|
171
|
-
<base full='cup' short='c' siunitx='none' />
|
|
172
|
-
<base full='pint' short='pt' siunitx='none' />
|
|
173
|
-
<base full='quart' short='qt' siunitx='none' />
|
|
174
|
-
<base full='fluidounce' short='fl oz' siunitx='none' />
|
|
175
|
-
|
|
176
|
-
<!-- Distance per Volume -->
|
|
177
|
-
<base full='milepergallon' short='mpg' siunitx='none' />
|
|
178
|
-
<base full='kilometerpergallon' short='kpg' siunitx='none' />
|
|
179
|
-
|
|
180
|
-
<!-- Frequency and Catalytic Activity -->
|
|
181
|
-
<base full='revolution' short='rev' siunitx='none' />
|
|
182
|
-
<base full='revolutionperminute' short='rpm' siunitx='none' />
|
|
183
|
-
<base full='cycle' short='cycle' siunitx='none' />
|
|
184
|
-
|
|
185
|
-
<!-- Storage, Memory, and Transfer Rate -->
|
|
186
|
-
<base full='bit' short='b' siunitx='none' />
|
|
187
|
-
<base full='byte' short='B' siunitx='none' />
|
|
188
|
-
<base full='bitpersecond' short='bps' siunitx='none' />
|
|
189
|
-
<base full='bytepersecond' short='Bps' siunitx='none' />
|
|
190
|
-
|
|
191
|
-
</xsl:variable>
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
</xsl:stylesheet>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
|
|
3
|
+
<xsl:stylesheet version="1.0"
|
|
4
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
5
|
+
|
|
6
|
+
<!--********************************************************************
|
|
7
|
+
Copyright 2013 Robert A. Beezer
|
|
8
|
+
|
|
9
|
+
This file is part of MathBook XML.
|
|
10
|
+
|
|
11
|
+
MathBook XML is free software: you can redistribute it and/or modify
|
|
12
|
+
it under the terms of the GNU General Public License as published by
|
|
13
|
+
the Free Software Foundation, either version 2 or version 3 of the
|
|
14
|
+
License (at your option).
|
|
15
|
+
|
|
16
|
+
MathBook XML is distributed in the hope that it will be useful,
|
|
17
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
GNU General Public License for more details.
|
|
20
|
+
|
|
21
|
+
You should have received a copy of the GNU General Public License
|
|
22
|
+
along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*********************************************************************-->
|
|
24
|
+
|
|
25
|
+
<!-- This file contains unit-related abbreviations, such as 'kilo' => 'k' -->
|
|
26
|
+
<!-- and 'meter' => 'm'. These are used by the quantity/unit and quantity/per -->
|
|
27
|
+
<!-- elements for HMTL output, and possibly other places in the future. -->
|
|
28
|
+
<!-- For tex, the siunitx package knows \kilo, \meter, etc. If there is a unit -->
|
|
29
|
+
<!-- that siunitx does not know, the abbreviations here are used to add it to -->
|
|
30
|
+
<!-- the preamble. -->
|
|
31
|
+
<!-- Future enhancements (which maybe happen in other stylesheets, not here): -->
|
|
32
|
+
<!-- 1. If MathJax siunitx extension is functional, start using it for HTML. -->
|
|
33
|
+
<!-- 2. Make use of siunitx's \of{}. -->
|
|
34
|
+
<!-- 3. Create a docinfo element that adds custom units. -->
|
|
35
|
+
|
|
36
|
+
<!-- Unit prefixes (the prefix attribute in a unit or per tag) -->
|
|
37
|
+
<!-- SI prefixes -->
|
|
38
|
+
<xsl:variable name="prefixes">
|
|
39
|
+
<prefix full='yocto' short='y'/>
|
|
40
|
+
<prefix full='zepto' short='z'/>
|
|
41
|
+
<prefix full='atto' short='a'/>
|
|
42
|
+
<prefix full='femto' short='f'/>
|
|
43
|
+
<prefix full='pico' short='p'/>
|
|
44
|
+
<prefix full='nano' short='n'/>
|
|
45
|
+
<prefix full='micro' short='µ'/>
|
|
46
|
+
<prefix full='milli' short='m'/>
|
|
47
|
+
<prefix full='centi' short='c'/>
|
|
48
|
+
<prefix full='deci' short='d'/>
|
|
49
|
+
<prefix full='deca' short='da'/>
|
|
50
|
+
<prefix full='deka' short='da'/>
|
|
51
|
+
<prefix full='hecto' short='h'/>
|
|
52
|
+
<prefix full='kilo' short='k'/>
|
|
53
|
+
<prefix full='mega' short='M'/>
|
|
54
|
+
<prefix full='giga' short='G'/>
|
|
55
|
+
<prefix full='tera' short='T'/>
|
|
56
|
+
<prefix full='peta' short='P'/>
|
|
57
|
+
<prefix full='exa' short='E'/>
|
|
58
|
+
<prefix full='zetta' short='Z'/>
|
|
59
|
+
<prefix full='yotta' short='Y'/>
|
|
60
|
+
</xsl:variable>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<!-- Unit bases (the base attribute in a unit or per tag) -->
|
|
64
|
+
<xsl:variable name="bases">
|
|
65
|
+
<!-- SI fundamental units -->
|
|
66
|
+
<base full='ampere' short='A'/>
|
|
67
|
+
<base full='candela' short='cd'/>
|
|
68
|
+
<base full='kelvin' short='K'/>
|
|
69
|
+
<base full='gram' short='g'/>
|
|
70
|
+
<base full='meter' short='m'/>
|
|
71
|
+
<base full='metre' short='m'/>
|
|
72
|
+
<base full='mole' short='mol'/>
|
|
73
|
+
<base full='second' short='s'/>
|
|
74
|
+
|
|
75
|
+
<!-- SI derived units and non-SI units with a simple relationship to SI units -->
|
|
76
|
+
<!-- Radioactivity -->
|
|
77
|
+
<base full='becquerel' short='Bq'/>
|
|
78
|
+
<base full='gray' short='Gy'/>
|
|
79
|
+
<base full='sievert' short='Sv'/>
|
|
80
|
+
|
|
81
|
+
<!-- Temperature -->
|
|
82
|
+
<base full='degreeCelsius' short='°C'/>
|
|
83
|
+
<base full='celsius' short='°C'/>
|
|
84
|
+
|
|
85
|
+
<!-- Elecro-magnetic -->
|
|
86
|
+
<base full='coulomb' short='C'/>
|
|
87
|
+
<base full='henry' short='H'/>
|
|
88
|
+
<base full='ohm' short='Ω'/>
|
|
89
|
+
<base full='siemens' short='S'/>
|
|
90
|
+
<base full='tesla' short='T'/>
|
|
91
|
+
<base full='volt' short='V'/>
|
|
92
|
+
<base full='electronvolt' short='eV'/>
|
|
93
|
+
<base full='weber' short='Wb'/>
|
|
94
|
+
|
|
95
|
+
<!-- Frequency and Catalytic Activity -->
|
|
96
|
+
<base full='hertz' short='Hz'/>
|
|
97
|
+
<base full='katal' short='kat'/>
|
|
98
|
+
|
|
99
|
+
<!-- Energy, Work, Power, Force -->
|
|
100
|
+
<base full='joule' short='J'/>
|
|
101
|
+
<base full='newton' short='N'/>
|
|
102
|
+
<base full='pascal' short='Pa'/>
|
|
103
|
+
<base full='watt' short='W'/>
|
|
104
|
+
|
|
105
|
+
<!-- Candela-related -->
|
|
106
|
+
<base full='lumen' short='lm'/>
|
|
107
|
+
<base full='lux' short='lx'/>
|
|
108
|
+
|
|
109
|
+
<!-- Angle (2D and 3D) -->
|
|
110
|
+
<base full='radian' short='rad'/>
|
|
111
|
+
<base full='steradian' short='sr'/>
|
|
112
|
+
<base full='degree' short='°'/>
|
|
113
|
+
<base full='arcminute' short='′'/>
|
|
114
|
+
<base full='arcsecond' short='″'/>
|
|
115
|
+
|
|
116
|
+
<!-- Time -->
|
|
117
|
+
<base full='day' short='d'/>
|
|
118
|
+
<base full='hour' short='h'/>
|
|
119
|
+
<base full='minute' short='min'/>
|
|
120
|
+
|
|
121
|
+
<!-- Area -->
|
|
122
|
+
<base full='hectare' short='ha'/>
|
|
123
|
+
|
|
124
|
+
<!-- Volume -->
|
|
125
|
+
<base full='liter' short='L'/>
|
|
126
|
+
<base full='litre' short='l'/>
|
|
127
|
+
|
|
128
|
+
<!-- Mass -->
|
|
129
|
+
<base full='tonne' short='t'/>
|
|
130
|
+
|
|
131
|
+
<!-- Percent -->
|
|
132
|
+
<base full='percent' short='%'/>
|
|
133
|
+
|
|
134
|
+
<!-- completely non-SI units; these are not part of the siunitx package, so they -->
|
|
135
|
+
<!-- need siunitx='none'. The value of 'short' will be used as the macro output, -->
|
|
136
|
+
<!-- unless something else is specified. This is necessary if the value of 'short' -->
|
|
137
|
+
<!-- has unusual characters, as with Fahrenheit below. -->
|
|
138
|
+
<!-- Temperature -->
|
|
139
|
+
<base full='degreeFahrenheit' short='°F' siunitx='\SIUnitSymbolDegree{F}' />
|
|
140
|
+
<base full='fahrenheit' short='°F' siunitx='\degreeFahrenheit' />
|
|
141
|
+
|
|
142
|
+
<!-- Weight, Force -->
|
|
143
|
+
<base full='pound' short='lb' siunitx='none' />
|
|
144
|
+
<base full='ounce' short='oz' siunitx='none' />
|
|
145
|
+
<base full='ton' short='T' siunitx='none' />
|
|
146
|
+
|
|
147
|
+
<!-- Length -->
|
|
148
|
+
<base full='foot' short='ft' siunitx='none' />
|
|
149
|
+
<base full='inch' short='in' siunitx='none' />
|
|
150
|
+
<base full='yard' short='yd' siunitx='none' />
|
|
151
|
+
<base full='mile' short='mi' siunitx='none' />
|
|
152
|
+
|
|
153
|
+
<!-- Time -->
|
|
154
|
+
<base full='millennium' short='millennium' siunitx='none' />
|
|
155
|
+
<base full='century' short='century' siunitx='none' />
|
|
156
|
+
<base full='decade' short='decade' siunitx='none' />
|
|
157
|
+
<base full='year' short='yr' siunitx='none' />
|
|
158
|
+
<base full='month' short='mo' siunitx='none' />
|
|
159
|
+
<base full='week' short='wk' siunitx='none' />
|
|
160
|
+
|
|
161
|
+
<!-- Speed -->
|
|
162
|
+
<base full='kilometerperhour' short='kph' siunitx='none' />
|
|
163
|
+
<base full='kilometreperhour' short='kph' siunitx='none' />
|
|
164
|
+
<base full='mileperhour' short='mph' siunitx='none' />
|
|
165
|
+
|
|
166
|
+
<!-- Volume -->
|
|
167
|
+
<base full='gallon' short='gal' siunitx='none' />
|
|
168
|
+
<base full='cubiccentimeter' short='cc' siunitx='none' />
|
|
169
|
+
<base full='tablespoon' short='tbsp' siunitx='none' />
|
|
170
|
+
<base full='teaspoon' short='tsp' siunitx='none' />
|
|
171
|
+
<base full='cup' short='c' siunitx='none' />
|
|
172
|
+
<base full='pint' short='pt' siunitx='none' />
|
|
173
|
+
<base full='quart' short='qt' siunitx='none' />
|
|
174
|
+
<base full='fluidounce' short='fl oz' siunitx='none' />
|
|
175
|
+
|
|
176
|
+
<!-- Distance per Volume -->
|
|
177
|
+
<base full='milepergallon' short='mpg' siunitx='none' />
|
|
178
|
+
<base full='kilometerpergallon' short='kpg' siunitx='none' />
|
|
179
|
+
|
|
180
|
+
<!-- Frequency and Catalytic Activity -->
|
|
181
|
+
<base full='revolution' short='rev' siunitx='none' />
|
|
182
|
+
<base full='revolutionperminute' short='rpm' siunitx='none' />
|
|
183
|
+
<base full='cycle' short='cycle' siunitx='none' />
|
|
184
|
+
|
|
185
|
+
<!-- Storage, Memory, and Transfer Rate -->
|
|
186
|
+
<base full='bit' short='b' siunitx='none' />
|
|
187
|
+
<base full='byte' short='B' siunitx='none' />
|
|
188
|
+
<base full='bitpersecond' short='bps' siunitx='none' />
|
|
189
|
+
<base full='bytepersecond' short='Bps' siunitx='none' />
|
|
190
|
+
|
|
191
|
+
</xsl:variable>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
</xsl:stylesheet>
|