summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-19 22:36:54 +0000
committerKarl Berry <karl@freefriends.org>2016-01-19 22:36:54 +0000
commit71690c62d37f3b7c01d4d3e13deb3479844cefd1 (patch)
tree6539e3ac2c95381c25d81f77867457bb684bcb19 /Master/texmf-dist/tex/latex/siunitx
parent807e4597819bf7720671f8cc5aa83f16655ebf07 (diff)
siunitx (19jan16)
git-svn-id: svn://tug.org/texlive/trunk@39430 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty11
4 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
index 0ee1d50625d..c666ca433b6 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/01/05} {2.6o}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/01/19} {2.6p}
{siunitx: Abbreviated units}
\DeclareSIUnit \A { \ampere }
\DeclareSIUnit \pA { \pico \ampere }
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
index 6331a4d6409..ea3a5e7dcc8 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-binary.cfg} {2016/01/05} {2.6o}
+\ProvidesExplFile {siunitx-binary.cfg} {2016/01/19} {2.6p}
{siunitx: Binary units}
\DeclareBinaryPrefix \kibi { Ki } { 10 }
\DeclareBinaryPrefix \mebi { Mi } { 20 }
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
index cb63a1f428d..d96a2028795 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-version-1.cfg} {2016/01/05} {2.6o}
+\ProvidesExplFile {siunitx-version-1.cfg} {2016/01/19} {2.6p}
{siunitx: Version 1 settings}
\keys_define:nn { siunitx } {
addsign .choice: ,
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 430ca07fbf3..6569fb731a7 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -15,7 +15,7 @@
%%
\RequirePackage{expl3}[2015/09/11]
\RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2016/01/05} {2.6o}
+\ProvidesExplPackage {siunitx} {2016/01/19} {2.6p}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2015/09/11 }
{ }
@@ -2908,6 +2908,11 @@
\prop_get:NnNT \l__siunitx_number_in_prop { exponent-sign }
\l__siunitx_tmpb_tl
{ \tl_put_left:NV \l__siunitx_tmpa_tl \l__siunitx_tmpb_tl }
+ \prop_if_in:NnT \l__siunitx_unit_prop { per-1 }
+ {
+ \tl_set:Nx \l__siunitx_tmpa_tl
+ { \int_eval:n { - \l__siunitx_tmpa_tl } }
+ }
\prop_get:NnNT \l__siunitx_unit_prop { prefix-1 } \l__siunitx_tmpb_tl
{
\prop_remove:Nn \l__siunitx_unit_prop { prefix-1 }
@@ -6885,7 +6890,7 @@
math-angstrom = \text { \AA },
math-arcminute = { } ^ { \prime },
math-arcsecond = { } ^ { \prime \prime },
- math-celsius = { } ^ { \circ } \kern - \scriptspace C,
+ math-celsius = { } ^ { \circ } \kern - \scriptspace \__siunitx_unit_mathrm:n { C } ,
math-degree = { } ^ { \circ },
math-micro = \text { \c__siunitx_mu_tl },
math-ohm = \text { \ensuremath { \c__siunitx_omega_tl } },
@@ -6904,7 +6909,7 @@
text-arcminute = \ensuremath { { } ^ { \prime } },
text-arcsecond = \ensuremath { { } ^ { \prime \prime } },
text-celsius =
- \ensuremath { { } ^ { \circ } \kern - \scriptspace C },
+ \ensuremath { { } ^ { \circ } } \kern -\scriptspace C ,
text-degree = \ensuremath { { } ^ { \circ } },
text-micro = \c__siunitx_mu_tl ,
text-ohm = \ensuremath { \c__siunitx_omega_tl },