From ea8a37e049430feaa30589bab046ffe764b90e4a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Nov 2017 23:26:48 +0000 Subject: siunitx (26nov17) git-svn-id: svn://tug.org/texlive/trunk@45915 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/siunitx') 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} % -- cgit v1.2.3