From 1da4aecdd16183107254061bfb02e5ca6af536ed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 29 Aug 2012 22:36:25 +0000 Subject: siunitx (29aug12) git-svn-id: svn://tug.org/texlive/trunk@27548 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 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 782f91b2c46..2393db429a1 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -590,6 +590,8 @@ This work consists of the file siunitx.dtx %\changes{v2.5e}{2012/06/13}{Fix an internal error in unit expansion, % introduced in v2.4f} %\changes{v2.5f}{2012/07/16}{Track changes in \pkg{expl3}} +%\changes{v2.5h}{2012/08/28}{Alter literal unit test to allow spaces in +% units to be ignored} % %\begin{abstract} % Physical quantities have both numbers and units, and each physical @@ -5100,7 +5102,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2012/07/22} {2.5g} +\ProvidesExplPackage {siunitx} {2012/08/28} {2.5h} {A comprehensive (SI) units package} % \end{macrocode} % @@ -5166,6 +5168,13 @@ This work consists of the file siunitx.dtx \cs_generate_variant:Nn \clist_map_function:nN { nc } % \end{macrocode} % \end{macro} +% +% \begin{macro}{\tl_if_blank:VTF} +% Needed for the literal test. +% \begin{macrocode} +\cs_generate_variant:Nn \tl_if_blank:nTF { V } +% \end{macrocode} +% \end{macro} % %\begin{macro}{ % \l_@@_tmp_bool , @@ -11486,7 +11495,7 @@ This work consists of the file siunitx.dtx \protected@edef \l_@@_tmpa_tl {#1} \exp_args:NNNV \group_end: \tl_set:Nn \l_@@_tmpa_tl \l_@@_tmpa_tl - \tl_if_empty:NTF \l_@@_tmpa_tl {#3} {#2} + \tl_if_blank:VTF \l_@@_tmpa_tl {#3} {#2} } \cs_new_protected:Npn \@@_unit_if_literal_aux:N #1 { \cs_set_eq:NN #1 \prg_do_nothing: @@ -16472,7 +16481,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-version-1.cfg} {2012/07/22} {2.5g} +\ProvidesExplFile {siunitx-version-1.cfg} {2012/08/28} {2.5h} {siunitx: Version 1 settings} % \end{macrocode} % @@ -17417,7 +17426,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/07/22} {2.5g} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/08/28} {2.5h} {siunitx: Abbreviated units} % \end{macrocode} % @@ -17599,7 +17608,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-binary.cfg} {2012/07/22} {2.5g} +\ProvidesExplFile {siunitx-binary.cfg} {2012/08/28} {2.5h} {siunitx: Binary units} % \end{macrocode} % -- cgit v1.2.3