summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-08 00:05:49 +0000
committerKarl Berry <karl@freefriends.org>2016-01-08 00:05:49 +0000
commit4ed56a2178d1e7438de5fe9a4f9cd9adc59dea8c (patch)
tree7a1451f261af39c3322a82c8c557136aae4a5197 /Master/texmf-dist/source/latex
parentd79d90dc1ec3814e1cb0a2e5e25af323a98265fc (diff)
siunitx (6jan16)
git-svn-id: svn://tug.org/texlive/trunk@39311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 3635915164c..a2edbe1911b 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -81,7 +81,7 @@ See http://www.latex-project.org/lppl.txt
\endpreamble
\postamble
-Copyright (C) 2008-2015 by
+Copyright (C) 2008-2016 by
Joseph Wright <joseph.wright@morningstar2.co.uk>
It may be distributed and/or modified under the conditions of
@@ -643,6 +643,8 @@ This work consists of the file siunitx.dtx
% \changes{v2.6m}{2015/10/15}{Address an issue with \pkg{mwtab}}
% \changes{v2.6n}{2015/12/31}{Improve defintion for degree Celsius}
% \changes{v2.6n}{2015/12/31}{Fix angstrom symbol with \LuaTeX{}}
+% \changes{v2.6o}{2016/01/05}{Allow for unit powers when converting exponents
+% to prefixes}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -5166,7 +5168,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2015/12/31} {2.6n}
+\ProvidesExplPackage {siunitx} {2016/01/05} {2.6o}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -9389,6 +9391,11 @@ This work consists of the file siunitx.dtx
\tl_set:Nx \l_@@_tmpa_tl
{ \int_eval:n { \l_@@_tmpa_tl + \l_@@_tmpb_tl } }
}
+ \prop_get:NnNT \l_@@_unit_prop { power-1 } \l_@@_tmpb_tl
+ {
+ \tl_set:Nx \l_@@_tmpa_tl
+ { \int_eval:n { \l_@@_tmpa_tl / \l_@@_tmpb_tl } }
+ }
\prop_get:NVNTF \l_@@_prefix_reverse_prop \l_@@_tmpa_tl
\l_@@_tmpb_tl
{
@@ -16717,7 +16724,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2015/12/31} {2.6n}
+\ProvidesExplFile {siunitx-version-1.cfg} {2016/01/05} {2.6o}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -17659,7 +17666,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2015/12/31} {2.6n}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/01/05} {2.6o}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17841,7 +17848,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2015/12/31} {2.6n}
+\ProvidesExplFile {siunitx-binary.cfg} {2016/01/05} {2.6o}
{siunitx: Binary units}
% \end{macrocode}
%