diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-16 00:00:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-16 00:00:05 +0000 |
commit | 50830b91d0fd07262d81f0d61f15ad74eb25d764 (patch) | |
tree | a8341694383a2e580892a6ffefd13b2ff241fcf0 /Master/texmf-dist/source/latex/siunitx | |
parent | ffc97a564cf025403b74b69c48bc158f39145c9b (diff) |
siunitx update (15sep10)
git-svn-id: svn://tug.org/texlive/trunk@19748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 5ef50e53cdf..0996a15bf7e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -464,6 +464,10 @@ This work consists of the file siunitx.dtx % numbers in tables} %\changes{v2.0t}{2010/08/24}{Replace \cs{exp_afer:wN} in code for % \cs{per} with \cs{exp_after:wN}} +%\changes{v2.0u}{2010/09/14}{Fix second possible issue with +% \pkg{textpos} package and \cs{color}} +%\changes{v2.0u}{2010/09/14}{Prevent infinite loop if \cs{SI} function +% is used with an empty number} % %\begin{abstract} % Typesetting values with units requires care to ensure that the @@ -4157,7 +4161,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2010/08/24} {2.0t} +\ProvidesExplPackage {siunitx} {2010/09/14} {2.0u} {A comprehensive (SI) units package} % \end{macrocode} % @@ -8415,7 +8419,9 @@ This work consists of the file siunitx.dtx } \cs_new_protected_nopar:Npn \siunitx_number_output_single_aux: { \siunitx_unit_output_pre_print: - \siunitx_print:nV { number } \l_siunitx_number_out_tl + \quark_if_no_value:NTF \l_siunitx_number_out_tl + { \tl_clear:N \l_siunitx_number_unit_separator_tl } + { \siunitx_print:nV { number } \l_siunitx_number_out_tl } \siunitx_unit_output_print: } % \end{macrocode} @@ -9017,7 +9023,7 @@ This work consists of the file siunitx.dtx } } \cs_new_protected:Npn \siunitx_unit_first_token:n #1 { - \exp_after:wN \token_to_str:N \tl_head_i:w #1 \q_nil + \exp_after:wN \token_to_str:N \tl_head:w #1 \q_nil } % \end{macrocode} %\end{macro} @@ -9224,6 +9230,9 @@ This work consists of the file siunitx.dtx \AtBeginDocument { \cs_if_eq:NNT \color \use_none:n { \cs_set_protected:Npn \color #1 { } } + \cs_set_nopar:Npn \siunitx_tmp:w #1 { } + \cs_if_eq:NNT \color \siunitx_tmp:w + { \cs_set_protected:Npn \color #1 { } } \tl_map_function:nN { \bar \color \ng \pm } \siunitx_protect_symbols:N } @@ -13458,7 +13467,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-version-1.cfg} {2010/08/24} {2.0t} +\ProvidesExplFile {siunitx-version-1.cfg} {2010/09/14} {2.0u} {siunitx: Version 1 settings} % \end{macrocode} % @@ -14738,7 +14747,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-binary.cfg} {2010/08/24} {2.0t} +\ProvidesExplFile {siunitx-binary.cfg} {2010/09/14} {2.0u} {siunitx: Binary units} % \end{macrocode} % |