texlive[52332] Master/texmf-dist: siunitx (10oct19)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 10 22:44:35 CEST 2019
Revision: 52332
http://tug.org/svn/texlive?view=revision&revision=52332
Author: karl
Date: 2019-10-10 22:44:35 +0200 (Thu, 10 Oct 2019)
Log Message:
-----------
siunitx (10oct19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2019-10-10 20:44:17 UTC (rev 52331)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2019-10-10 20:44:35 UTC (rev 52332)
@@ -81,7 +81,7 @@
\endpreamble
\postamble
-Copyright (C) 2008-2018 by
+Copyright (C) 2008-2019 by
Joseph Wright <joseph.wright at morningstar2.co.uk>
It may be distributed and/or modified under the conditions of
@@ -687,6 +687,9 @@
% \changes{v2.7q}{2018/05/11}{Fixed patching of \pkg{cellspace} columns}
% \changes{v2.7r}{2018/05/16}{Fixed issue in tabulars when REV\TeX{} is in use}
% \changes{v2.7s}{2018/05/17}{Modified package date format}
+% \changes{v2.7t}{2018/06/08}{Fix inclusion of sign in astronomy-style
+% angles}
+% \changes{v2.7t}{2019/10/10}{Fix \opt{round-half} when \opt{even} at zero precision}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -5221,7 +5224,7 @@
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2018/05/17} {2.7s}
+\ProvidesExplPackage {siunitx} {2019/10/10} {2.7t}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -8665,9 +8668,16 @@
{ \int_eval:n { \l_@@_tmpb_tl + 1 } }
\bool_if:NF \l_@@_round_half_up_bool
{
- \int_compare:nNnT
- { 0 \tl_tail:N \l_@@_tmpa_tl } = 0
+ \bool_lazy_and:nnT
{
+ \int_compare_p:nNn
+ { 0 \tl_head:N \l_@@_tmpa_tl } = 5
+ }
+ {
+ \int_compare_p:nNn
+ { 0 \tl_tail:N \l_@@_tmpa_tl } = 0
+ }
+ {
\int_if_odd:nT \l_@@_tmpb_tl
{
\tl_set:Nx \l_@@_tmpb_tl
@@ -11145,9 +11155,15 @@
{ \@@_number_output_single: }
}
\cs_new_protected:Npn \@@_angle_print_astronomy_aux: {
+ \prop_get:NnNF \l_@@_number_out_prop { mantissa-sign }
+ \l_@@_tmpa_tl
+ { \tl_clear:N \l_@@_tmpa_tl }
\prop_get:NnNT \l_@@_number_out_prop { mantissa-integer }
- \l_@@_tmpa_tl
- { \@@_print:nV { number } \l_@@_tmpa_tl }
+ \l_@@_tmpb_tl
+ {
+ \tl_put_right:NV \l_@@_tmpa_tl \l_@@_tmpb_tl
+ \@@_print:nV { number } \l_@@_tmpa_tl
+ }
\hbox_set:Nn \l_@@_angle_marker_box
{
\@@_print:nn { number } { { \l_@@_output_decimal_tl } }
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg 2019-10-10 20:44:17 UTC (rev 52331)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg 2019-10-10 20:44:35 UTC (rev 52332)
@@ -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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg 2019-10-10 20:44:17 UTC (rev 52331)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg 2019-10-10 20:44:35 UTC (rev 52332)
@@ -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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg 2019-10-10 20:44:17 UTC (rev 52331)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg 2019-10-10 20:44:35 UTC (rev 52332)
@@ -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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2019-10-10 20:44:17 UTC (rev 52331)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2019-10-10 20:44:35 UTC (rev 52332)
@@ -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,9 +2327,16 @@
{ \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
{
\tl_set:Nx \l__siunitx_tmpb_tl
@@ -4063,9 +4070,15 @@
{ \__siunitx_number_output_single: }
}
\cs_new_protected:Npn \__siunitx_angle_print_astronomy_aux: {
+ \prop_get:NnNF \l__siunitx_number_out_prop { mantissa-sign }
+ \l__siunitx_tmpa_tl
+ { \tl_clear:N \l__siunitx_tmpa_tl }
\prop_get:NnNT \l__siunitx_number_out_prop { mantissa-integer }
- \l__siunitx_tmpa_tl
- { \__siunitx_print:nV { number } \l__siunitx_tmpa_tl }
+ \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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
More information about the tex-live-commits
mailing list