summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-10 20:44:35 +0000
committerKarl Berry <karl@freefriends.org>2019-10-10 20:44:35 +0000
commitcb6c1fc05e1e0b6a398b0e52cf0dbd8156ca92a9 (patch)
tree7ef35473245f03bca772d75e395506ec430bfbb1 /Master/texmf-dist/tex/latex/siunitx
parent9454de55f61b0ed42db815936b649220c0cb46c9 (diff)
siunitx (10oct19)
git-svn-id: svn://tug.org/texlive/trunk@52332 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.sty25
4 files changed, 22 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
index 4586115a118..56a021e1632 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
@@ -104,7 +104,7 @@
\DeclareSIUnit \ns { \nano \second }
\DeclareSIUnit \us { \micro \second }
\DeclareSIUnit \ms { \milli \second }
-%% Copyright (C) 2008-2018 by
+%% Copyright (C) 2008-2019 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
index 072a2ed4fd5..4f0e063cc9c 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
@@ -25,7 +25,7 @@
\DeclareBinaryPrefix \yobi { Yi } { 80 }
\DeclareSIUnit \bit { bit }
\DeclareSIUnit \byte { B }
-%% Copyright (C) 2008-2018 by
+%% Copyright (C) 2008-2019 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
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 aca4afbe1ba..2a3daa7927b 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
@@ -727,7 +727,7 @@
\DeclareSIUnit \yb { \yocto \barn }
\NewDocumentCommand \requiresiconfigs { m }
{ \keys_set:nn { siunitx } { version-1-compatibility } }
-%% Copyright (C) 2008-2018 by
+%% Copyright (C) 2008-2019 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index e62fe77cc88..15ac4bdfc36 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} {2018/05/17} {2.7s}
+\ProvidesExplPackage {siunitx} {2019/10/10} {2.7t}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2015/11/15 }
{ }
@@ -2327,8 +2327,15 @@
{ \int_eval:n { \l__siunitx_tmpb_tl + 1 } }
\bool_if:NF \l__siunitx_round_half_up_bool
{
- \int_compare:nNnT
- { 0 \tl_tail:N \l__siunitx_tmpa_tl } = 0
+ \bool_lazy_and:nnT
+ {
+ \int_compare_p:nNn
+ { 0 \tl_head:N \l__siunitx_tmpa_tl } = 5
+ }
+ {
+ \int_compare_p:nNn
+ { 0 \tl_tail:N \l__siunitx_tmpa_tl } = 0
+ }
{
\int_if_odd:nT \l__siunitx_tmpb_tl
{
@@ -4063,9 +4070,15 @@
{ \__siunitx_number_output_single: }
}
\cs_new_protected:Npn \__siunitx_angle_print_astronomy_aux: {
- \prop_get:NnNT \l__siunitx_number_out_prop { mantissa-integer }
+ \prop_get:NnNF \l__siunitx_number_out_prop { mantissa-sign }
\l__siunitx_tmpa_tl
- { \__siunitx_print:nV { number } \l__siunitx_tmpa_tl }
+ { \tl_clear:N \l__siunitx_tmpa_tl }
+ \prop_get:NnNT \l__siunitx_number_out_prop { mantissa-integer }
+ \l__siunitx_tmpb_tl
+ {
+ \tl_put_right:NV \l__siunitx_tmpa_tl \l__siunitx_tmpb_tl
+ \__siunitx_print:nV { number } \l__siunitx_tmpa_tl
+ }
\hbox_set:Nn \l__siunitx_angle_marker_box
{
\__siunitx_print:nn { number } { { \l__siunitx_output_decimal_tl } }
@@ -7711,7 +7724,7 @@
{ \__siunitx_unit_create_functions: }
{ \__siunitx_unit_create_empty_functions: }
}
-%% Copyright (C) 2008-2018 by
+%% Copyright (C) 2008-2019 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of