From 4ed56a2178d1e7438de5fe9a4f9cd9adc59dea8c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Jan 2016 00:05:49 +0000 Subject: siunitx (6jan16) git-svn-id: svn://tug.org/texlive/trunk@39311 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg | 4 ++-- Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg | 4 ++-- Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg | 4 ++-- Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 9 +++++++-- 4 files changed, 13 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg index e9590277b27..0ee1d50625d 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} {2015/12/31} {2.6n} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/01/05} {2.6o} {siunitx: Abbreviated units} \DeclareSIUnit \A { \ampere } \DeclareSIUnit \pA { \pico \ampere } @@ -102,7 +102,7 @@ \DeclareSIUnit \ns { \nano \second } \DeclareSIUnit \us { \micro \second } \DeclareSIUnit \ms { \milli \second } -%% Copyright (C) 2008-2015 by +%% Copyright (C) 2008-2016 by %% Joseph Wright %% %% 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 1642c25aa0d..6331a4d6409 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} {2015/12/31} {2.6n} +\ProvidesExplFile {siunitx-binary.cfg} {2016/01/05} {2.6o} {siunitx: Binary units} \DeclareBinaryPrefix \kibi { Ki } { 10 } \DeclareBinaryPrefix \mebi { Mi } { 20 } @@ -25,7 +25,7 @@ \DeclareBinaryPrefix \yobi { Yi } { 80 } \DeclareSIUnit \bit { bit } \DeclareSIUnit \byte { B } -%% Copyright (C) 2008-2015 by +%% Copyright (C) 2008-2016 by %% Joseph Wright %% %% 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 285607820c6..cb63a1f428d 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} {2015/12/31} {2.6n} +\ProvidesExplFile {siunitx-version-1.cfg} {2016/01/05} {2.6o} {siunitx: Version 1 settings} \keys_define:nn { siunitx } { addsign .choice: , @@ -727,7 +727,7 @@ \DeclareSIUnit \yb { \yocto \barn } \NewDocumentCommand \requiresiconfigs { m } { \keys_set:nn { siunitx } { version-1-compatibility } } -%% Copyright (C) 2008-2015 by +%% Copyright (C) 2008-2016 by %% Joseph Wright %% %% 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 5c2d2ad8866..430ca07fbf3 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} {2015/12/31} {2.6n} +\ProvidesExplPackage {siunitx} {2016/01/05} {2.6o} {A comprehensive (SI) units package} \@ifpackagelater { expl3 } { 2015/09/11 } { } @@ -2917,6 +2917,11 @@ \tl_set:Nx \l__siunitx_tmpa_tl { \int_eval:n { \l__siunitx_tmpa_tl + \l__siunitx_tmpb_tl } } } + \prop_get:NnNT \l__siunitx_unit_prop { power-1 } \l__siunitx_tmpb_tl + { + \tl_set:Nx \l__siunitx_tmpa_tl + { \int_eval:n { \l__siunitx_tmpa_tl / \l__siunitx_tmpb_tl } } + } \prop_get:NVNTF \l__siunitx_prefix_reverse_prop \l__siunitx_tmpa_tl \l__siunitx_tmpb_tl { @@ -7672,7 +7677,7 @@ { \__siunitx_unit_create_functions: } { \__siunitx_unit_create_empty_functions: } } -%% Copyright (C) 2008-2015 by +%% Copyright (C) 2008-2016 by %% Joseph Wright %% %% It may be distributed and/or modified under the conditions of -- cgit v1.2.3