summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-27 00:41:38 +0000
committerKarl Berry <karl@freefriends.org>2010-09-27 00:41:38 +0000
commitc6e683d9f29904267298eb3d33d8b0e657be3961 (patch)
treee4649b35410f8459da821942af7f2520ca2e346d /Master/texmf-dist/tex/latex/siunitx
parente81f2d1a46b0abe541a3c741cfbadea0016c985b (diff)
siunitx 2.0v (26sep10)
git-svn-id: svn://tug.org/texlive/trunk@19907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg16
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty50
3 files changed, 34 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
index b1f2fe91658..25a1d4f3c30 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-binary.cfg} {2010/09/14} {2.0u}
+\ProvidesExplFile {siunitx-binary.cfg} {2010/09/26} {2.0v}
{siunitx: Binary units}
\DeclareBinaryPrefix \kibi { Ki } { 10 }
\DeclareBinaryPrefix \mebi { Mi } { 20 }
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
index 29dec956013..5378a54cb67 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-version-1.cfg} {2010/09/14} {2.0u}
+\ProvidesExplFile {siunitx-version-1.cfg} {2010/09/26} {2.0v}
{siunitx: Version 1 settings}
\keys_set:nn { siunitx }
{ load-configurations = { abbreviations , binary } }
@@ -419,7 +419,7 @@
strictarc .code:n = ,
tabalign .code:n =
{
- \tl_if_eq:nnTF {#1} { centre }
+ \str_if_eq:nnTF {#1} { centre }
{ \keys_set:nn { siunitx } { table-alignment = center } }
{ \keys_set:nn { siunitx } { table-alignment = #1 } }
},
@@ -429,16 +429,16 @@
tabformat .meta:n = { table-format = #1 },
tabnumalign .code:n =
{
- \tl_if_eq:nnTF {#1} { centre }
+ \str_if_eq:nnTF {#1} { centre }
{ \keys_set:nn { siunitx } { table-number-alignment = center } }
{
- \tl_if_eq:nnTF {#1} { centredecimal }
+ \str_if_eq:nnTF {#1} { centredecimal }
{
\keys_set:nn { siunitx }
{ table-number-alignment = center-decimal-marker }
}
{
- \tl_if_eq:nnTF {#1} { centerdecimal }
+ \str_if_eq:nnTF {#1} { centerdecimal }
{
\keys_set:nn { siunitx }
{ table-number-alignment = center-decimal-marker }
@@ -454,13 +454,13 @@
tabparseonly .default:n = { true },
tabtextalign .code:n =
{
- \tl_if_eq:nnTF {#1} { centre }
+ \str_if_eq:nnTF {#1} { centre }
{ \keys_set:nn { siunitx } { table-text-alignment = center } }
{ \keys_set:nn { siunitx } { table-text-alignment = #1 } }
},
tabunitalign .code:n =
{
- \tl_if_eq:nnTF {#1} { centre }
+ \str_if_eq:nnTF {#1} { centre }
{ \keys_set:nn { siunitx } { table-unit-alignment = center } }
{ \keys_set:nn { siunitx } { table-unit-alignment = #1 } }
},
@@ -738,7 +738,7 @@
\clist_map_function:nN {#1} \siunitx_requireconfig:n
}
\cs_new_protected_nopar:Npn \siunitx_requireconfig:n #1 {
- \tl_if_eq:nnT {#1} { synchem }
+ \str_if_eq:nnT {#1} { synchem }
{ \keys_set:nn { siunitx } { load-configurations = chemistry } }
}
%%
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index b4a626dd9c1..0ebe92462af 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -14,7 +14,7 @@
%% ---------------------------------------------------------------
%%
\RequirePackage{expl3}
-\ProvidesExplPackage {siunitx} {2010/09/14} {2.0u}
+\ProvidesExplPackage {siunitx} {2010/09/26} {2.0v}
{A comprehensive (SI) units package}
\msg_set:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -293,7 +293,7 @@
\prg_new_conditional:Npnn \siunitx_cs_if_tl:N #1 { T , F, TF , p }
{
\exp_after:wN \siunitx_cs_if_tl_aux:w
- \token_to_meaning:N #1 MACRO \q_nil
+ \token_to_meaning:N #1 MACRO \q_stop
{
\cs_if_exist:cTF { \cs_to_str:N #1 ~ }
{ \prg_return_false: }
@@ -301,13 +301,13 @@
}
{ \prg_return_false: }
}
- \cs_new_nopar:Npn \siunitx_cs_if_tl_aux:w #1 MACRO #2 \q_nil
+ \cs_new_nopar:Npn \siunitx_cs_if_tl_aux:w #1 MACRO #2 \q_stop
{ \tl_if_empty:nTF {#1} }
\prg_new_conditional:Npnn \siunitx_cs_if_macro:N #1
{ T , F , TF , p }
{
\exp_after:wN \siunitx_cs_if_tl_aux:w
- \token_to_meaning:N #1 MACRO \q_nil
+ \token_to_meaning:N #1 MACRO \q_stop
{ \prg_return_true: }
{ \prg_return_false: }
}
@@ -456,7 +456,7 @@
\siunitx_detect_font_weight_text:
}
\cs_new_protected_nopar:Npn \siunitx_detect_font_weight_math: {
- \tl_if_eq:nVT { bold } \math@version
+ \str_if_eq:nVT { bold } \math@version
{
\cs_set:Npn \siunitx_font_weight:
{
@@ -464,7 +464,7 @@
\bfseries
}
}
- \tl_if_eq:nVT { light } \math@version
+ \str_if_eq:nVT { light } \math@version
{
\cs_set:Npn \siunitx_font_weight:
{ \lseries }
@@ -472,7 +472,7 @@
}
\cs_new_protected_nopar:Npn \siunitx_detect_font_weight_text: {
\tl_set:Nx \l_siunitx_tmpa_tl { \exp_args:NV \tl_head:n \f@series }
- \tl_if_eq:nVT { b } \l_siunitx_tmpa_tl
+ \str_if_eq:nVT { b } \l_siunitx_tmpa_tl
{
\cs_set:Npn \siunitx_font_weight:
{
@@ -480,7 +480,7 @@
\bfseries
}
}
- \tl_if_eq:nVT { l } \l_siunitx_tmpa_tl
+ \str_if_eq:nVT { l } \l_siunitx_tmpa_tl
{
\cs_set:Npn \siunitx_font_weight:
{ \lseries }
@@ -508,9 +508,9 @@
{ \tl_set:Nn \l_siunitx_font_family_tl { tt } }
}
\cs_new_protected_nopar:Npn \siunitx_detect_font_shape: {
- \tl_if_eq:nVT { it } \f@shape
+ \str_if_eq:nVT { it } \f@shape
{ \cs_set_nopar:Npn \siunitx_font_shape: { \itshape } }
- \tl_if_eq:nVT { sl } \f@shape
+ \str_if_eq:nVT { sl } \f@shape
{ \cs_set_nopar:Npn \siunitx_font_shape: { \slshape } }
}
\cs_new_protected_nopar:Npn \siunitx_detect_font_mode: {
@@ -1250,11 +1250,11 @@
\bool_if:NTF \l_siunitx_number_in_decimal_bool
{
\tl_put_right:Nn \l_siunitx_number_parsed_tl {#1}
- \tl_if_eq:nnF {#1} { 0 }
+ \str_if_eq:nnF {#1} { 0 }
{ \bool_set_true:N \l_siunitx_number_in_value_bool }
}
{
- \tl_if_eq:nnTF {#1} { 0 }
+ \str_if_eq:nnTF {#1} { 0 }
{
\prop_put:NVn \l_siunitx_number_in_prop
\l_siunitx_number_part_tl { true }
@@ -2090,7 +2090,7 @@
\l_siunitx_bracket_open_tl
\siunitx_tl_put_right_math:NV \l_siunitx_tmpa_tl
\l_siunitx_bracket_close_tl
- \tl_if_eq:nnTF {#1} { result }
+ \str_if_eq:nnTF {#1} { result }
{ \prop_put:NnV \l_siunitx_number_out_prop {#1} \l_siunitx_tmpa_tl }
{
\prop_put:NnV \l_siunitx_number_out_prop { #1 -result }
@@ -2108,7 +2108,7 @@
\prop_get:NnN \l_siunitx_number_in_prop {#1} \l_siunitx_tmpa_tl
\quark_if_no_value:NF \l_siunitx_tmpa_tl
{
- \tl_if_eq:nVT { - } \l_siunitx_tmpa_tl
+ \str_if_eq:nVT { - } \l_siunitx_tmpa_tl
{
\prop_put:NnV \l_siunitx_number_out_prop { color }
\l_siunitx_negative_color_tl
@@ -2292,13 +2292,13 @@
{
\exp_after:wN \siunitx_number_format_group_four_aux:NNNNNNw
\l_siunitx_tmpa_tl \q_no_value \q_no_value \q_no_value
- \q_no_value \q_no_value \q_nil
+ \q_no_value \q_no_value \q_stop
{ \siunitx_number_format_copy:n {#1 - #2} }
{ \siunitx_number_format_group_four_aux:nn {#1} {#2} }
}
}
\cs_new_protected:Npn \siunitx_number_format_group_four_aux:NNNNNNw
- #1#2#3#4#5#6 \q_nil {
+ #1#2#3#4#5#6 \q_stop {
\quark_if_no_value:NTF #5
}
\cs_new_protected_nopar:Npn \siunitx_number_format_group_four_aux:nn
@@ -3242,7 +3242,7 @@
}
}
\cs_new_protected:Npn \siunitx_unit_first_token:n #1 {
- \exp_after:wN \token_to_str:N \tl_head:w #1 \q_nil
+ \exp_after:wN \token_to_str:N \tl_head:w #1 \q_stop
}
\cs_new:cpn { siunitx_ \token_to_str:N \per _literal:w } { / }
\cs_new_protected:cpn { siunitx_ \token_to_str:N \per _function:w } {
@@ -3636,7 +3636,7 @@
\siunitx_unit_format_init:
\intexpr_compare:nNnT { \l_siunitx_unit_int } = { 1 }
{
- \tl_if_eq:VnT \l_siunitx_per_mode_tl { symbol }
+ \str_if_eq:VnT \l_siunitx_per_mode_tl { symbol }
{
\prop_if_in:NnT \l_siunitx_unit_prop { per-1 }
{ \tl_clear:N \l_siunitx_number_unit_separator_tl }
@@ -3679,7 +3679,7 @@
\cs_new_protected_nopar:Npn \siunitx_unit_format_add_aux:n #1 {
\tl_if_empty:cF { l_siunitx_unit #1 _tl }
{
- \tl_if_eq:nVTF { repeat } \l_siunitx_per_mode_tl
+ \str_if_eq:nVTF { repeat } \l_siunitx_per_mode_tl
{
\tl_set:Nx \l_siunitx_tmpa_tl
{ per- \intexpr_eval:n { \l_siunitx_unit_int + 1 } }
@@ -3836,10 +3836,10 @@
{ \siunitx_unit_format_power_aux: }
}
\cs_new_protected_nopar:Npn \siunitx_unit_format_power_aux: {
- \tl_if_eq:nVTF { repeat } \l_siunitx_per_mode_tl
+ \str_if_eq:nVTF { repeat } \l_siunitx_per_mode_tl
{ \siunitx_unit_format_power_repeat: }
{ \siunitx_unit_format_power_per: }
- \tl_if_eq:nVF { 1 } \l_siunitx_tmpa_tl
+ \str_if_eq:nVF { 1 } \l_siunitx_tmpa_tl
{
\siunitx_unit_format_power_brackets:
\tl_put_right:Nx \l_siunitx_unit_current_tl
@@ -3937,7 +3937,7 @@
{ unit- \int_use:N \l_siunitx_unit_int }
\prop_get:NVN \l_siunitx_unit_prop \l_siunitx_tmpb_tl
\l_siunitx_tmpb_tl
- \tl_if_eq:nVT { \gram } \l_siunitx_tmpb_tl
+ \str_if_eq:nVT { \gram } \l_siunitx_tmpb_tl
{
\tl_set:Nx \l_siunitx_unit_prefix_current_tl
{ \intexpr_eval:n { \l_siunitx_unit_prefix_current_tl - 3 } }
@@ -5342,7 +5342,7 @@
\@ifpackageloaded { fourier } { }
{ \keys_set:nn { siunitx } { text-ohm = \textohm } }
}
- \tl_if_eq:nVT { OT1 } \encodingdefault
+ \str_if_eq:nVT { OT1 } \encodingdefault
{
\keys_set:nn { siunitx }
{
@@ -5413,7 +5413,7 @@
\clist_new:N \l_siunitx_pgf_link_clist
\cs_new_protected_nopar:Npn \siunitx_pgf_link: {
\clist_clear:N \l_siunitx_pgf_link_clist
- \tl_if_eq:VnT \l_siunitx_round_tl { figure }
+ \str_if_eq:VnT \l_siunitx_round_tl { figure }
{
\clist_put_right:Nn \l_siunitx_pgf_link_clist { fixed }
\clist_put_right:Nn \l_siunitx_pgf_link_clist
@@ -5458,7 +5458,7 @@
\clist_put_right:Nn \l_siunitx_pgf_link_clist
{ skip~0. = true }
}
- \tl_if_eq:VnTF \l_siunitx_process_sign_tl { + }
+ \str_if_eq:VnTF \l_siunitx_process_sign_tl { + }
{
\clist_put_right:Nn \l_siunitx_pgf_link_clist
{ showpos = true }