summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-26 23:26:48 +0000
committerKarl Berry <karl@freefriends.org>2017-11-26 23:26:48 +0000
commitea8a37e049430feaa30589bab046ffe764b90e4a (patch)
treef947256922e091a32d42db3d87cd0d08f555a932 /Master/texmf-dist
parentd4832cc656c83308ca1c4f665e585a0757de275a (diff)
siunitx (26nov17)
git-svn-id: svn://tug.org/texlive/trunk@45915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin624476 -> 611007 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx20
-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.sty11
6 files changed, 22 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index d830d371a41..c36a5bf7930 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 41c677bc6f7..fae88570501 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -668,6 +668,7 @@ This work consists of the file siunitx.dtx
% update}
% \changes{v2.7h}{2017/06/12}{Internal changes}
% \changes{v2.7i}{2017/07/23}{Rename an incorrect variable}
+% \changes{v2.7k}{2017/11/01}{Fix issues when units are not parsed}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -2497,7 +2498,7 @@ This work consists of the file siunitx.dtx
% add-arc-minute-zero & Switch & false \\
% add-arc-second-zero & Switch & false \\
% angle-symbol-over-decimal & Switch & false \\
-% arc-separator & Literal & false \\
+% arc-separator & Literal & \meta{empty} \\
% number-angle-product & Literal & \meta{empty} \\
% \bottomrule
% \end{tabular}
@@ -5213,7 +5214,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2017/08/02} {2.7j}
+\ProvidesExplPackage {siunitx} {2017/11/26} {2.7k}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -6530,10 +6531,10 @@ This work consists of the file siunitx.dtx
\cs_new_protected:Npn \@@_print_text_aux:NnN #1#2#3
{
\quark_if_recursion_tail_stop:N #1
- \tl_set_rescan:Nnn \l_@@_tmp_tl
+ \tl_set_rescan:Nnn \l_@@_tmpa_tl
{ \use:c { char_set_catcode_ #2 :N } #1 }
{#1}
- \tl_replace_all:NVn \l_@@_print_arg_tl \l_@@_tmp_tl {#3}
+ \tl_replace_all:NVn \l_@@_print_arg_tl \l_@@_tmpa_tl {#3}
\_@@_print_text_aux:NnN
}
\AtBeginDocument
@@ -12884,7 +12885,10 @@ This work consists of the file siunitx.dtx
\str_if_eq:VnT \l_@@_per_mode_tl { symbol }
{
\int_compare:nNnT { \l_@@_unit_numerator_int } = { 0 }
- { \@@_print:nn { unit } { 1 } }
+ {
+ \bool_if:NT \l_@@_unit_parse_bool
+ { \@@_print:nn { unit } { 1 } }
+ }
}
}
{
@@ -16813,7 +16817,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2017/08/02} {2.7j}
+\ProvidesExplFile {siunitx-version-1.cfg} {2017/11/26} {2.7k}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -17755,7 +17759,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/08/02} {2.7j}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/11/26} {2.7k}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17937,7 +17941,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2017/08/02} {2.7j}
+\ProvidesExplFile {siunitx-binary.cfg} {2017/11/26} {2.7k}
{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 59392890962..32d30935b48 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/08/02} {2.7j}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/11/26} {2.7k}
{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 146994c30b9..ae0ef1a16fd 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/08/02} {2.7j}
+\ProvidesExplFile {siunitx-binary.cfg} {2017/11/26} {2.7k}
{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 1a41cc92300..e3723544387 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/08/02} {2.7j}
+\ProvidesExplFile {siunitx-version-1.cfg} {2017/11/26} {2.7k}
{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 e8d667a59ed..d0896794c12 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/08/02} {2.7j}
+\ProvidesExplPackage {siunitx} {2017/11/26} {2.7k}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2015/11/15 }
{ }
@@ -860,10 +860,10 @@
\cs_new_protected:Npn \__siunitx_print_text_aux:NnN #1#2#3
{
\quark_if_recursion_tail_stop:N #1
- \tl_set_rescan:Nnn \l__siunitx_tmp_tl
+ \tl_set_rescan:Nnn \l__siunitx_tmpa_tl
{ \use:c { char_set_catcode_ #2 :N } #1 }
{#1}
- \tl_replace_all:NVn \l__siunitx_print_arg_tl \l__siunitx_tmp_tl {#3}
+ \tl_replace_all:NVn \l__siunitx_print_arg_tl \l__siunitx_tmpa_tl {#3}
\__siunitx_print_text_aux:NnN
}
\AtBeginDocument
@@ -5221,7 +5221,10 @@
\str_if_eq:VnT \l__siunitx_per_mode_tl { symbol }
{
\int_compare:nNnT { \l__siunitx_unit_numerator_int } = { 0 }
- { \__siunitx_print:nn { unit } { 1 } }
+ {
+ \bool_if:NT \l__siunitx_unit_parse_bool
+ { \__siunitx_print:nn { unit } { 1 } }
+ }
}
}
{