From ebc35af4250051fed5186c59ba4eaff9949142e2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 29 Jan 2017 22:34:04 +0000 Subject: siunitx (29jan17) git-svn-id: svn://tug.org/texlive/trunk@43087 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | Bin 621713 -> 621667 bytes Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 12 +++++++----- .../tex/latex/siunitx/siunitx-abbreviations.cfg | 2 +- .../tex/latex/siunitx/siunitx-binary.cfg | 2 +- .../tex/latex/siunitx/siunitx-version-1.cfg | 2 +- Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf index 1bbfb72d694..581a8d2c49f 100644 Binary files a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf and b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf differ diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 516719c6b4c..8784ba3069d 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -658,6 +658,8 @@ This work consists of the file siunitx.dtx % \changes{v2.7}{2016/11/11}{Start adding documented code level interfaces} % \changes{v2.7}{2016/11/23}{Fix when \pkg{cellspace} is applied to % math mode material} +% \changes{v2.7b}{2017/01/28}{Fix an issue with large numbers and +% scientific mode} % %\begin{abstract} % Physical quantities have both numbers and units, and each physical @@ -5198,7 +5200,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2017/01/01} {2.7a} +\ProvidesExplPackage {siunitx} {2017/01/28} {2.7b} {A comprehensive (SI) units package} % \end{macrocode} % @@ -8406,7 +8408,7 @@ This work consists of the file siunitx.dtx % \begin{macrocode} \cs_new_protected:Npn \@@_number_process_fixed_large:nnn #1 { - \int_compare:nNnTF {#1} = 0 + \@@_number_if_zero:nTF {#1} { \@@_number_process_fixed_large_aux:nnn { } } { \@@_number_process_fixed_large_aux:nnn {#1} } } @@ -16800,7 +16802,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-version-1.cfg} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-version-1.cfg} {2017/01/28} {2.7b} {siunitx: Version 1 settings} % \end{macrocode} % @@ -17742,7 +17744,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/01/28} {2.7b} {siunitx: Abbreviated units} % \end{macrocode} % @@ -17924,7 +17926,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-binary.cfg} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-binary.cfg} {2017/01/28} {2.7b} {siunitx: Binary units} % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg index d8929d0014e..1442813ce32 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} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/01/28} {2.7b} {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 0ea5b5419e3..3d6796afde9 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} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-binary.cfg} {2017/01/28} {2.7b} {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 0deade42781..3a6fb6505cd 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} {2017/01/01} {2.7a} +\ProvidesExplFile {siunitx-version-1.cfg} {2017/01/28} {2.7b} {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 78d9b3e61de..fc573eab9fd 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} {2017/01/01} {2.7a} +\ProvidesExplPackage {siunitx} {2017/01/28} {2.7b} {A comprehensive (SI) units package} \@ifpackagelater { expl3 } { 2015/09/11 } { } @@ -2142,7 +2142,7 @@ } \cs_new_protected:Npn \__siunitx_number_process_fixed_large:nnn #1 { - \int_compare:nNnTF {#1} = 0 + \__siunitx_number_if_zero:nTF {#1} { \__siunitx_number_process_fixed_large_aux:nnn { } } { \__siunitx_number_process_fixed_large_aux:nnn {#1} } } -- cgit v1.2.3