summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-09 22:29:57 +0000
committerKarl Berry <karl@freefriends.org>2016-01-09 22:29:57 +0000
commitc30da7d737bf24f3324928600f86fe0379cbba70 (patch)
tree2b8d04cd7a1a1c20b37c1121913698d26e5060a0 /Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty
parente4f647b8b85aacc98046b96d379b53ff4efa36c0 (diff)
chemgreek (9jan16)
git-svn-id: svn://tug.org/texlive/trunk@39333 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty')
-rw-r--r--Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty b/Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty
index 2c20191d6d3..045d6cd6044 100644
--- a/Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty
+++ b/Master/texmf-dist/tex/latex/chemgreek/chemgreek.sty
@@ -28,8 +28,8 @@
% --------------------------------------------------------------------------
\RequirePackage{expl3,xparse,amstext}
\ExplSyntaxOn
-\tl_const:Nn \c_chemgreek_date_tl {2016/01/05}
-\tl_const:Nn \c_chemgreek_version_tl {1.0c}
+\tl_const:Nn \c_chemgreek_date_tl {2016/01/07}
+\tl_const:Nn \c_chemgreek_version_tl {1.0d}
\tl_const:Nn \c_chemgreek_info_tl {interface for upright greek letters for use in chemistry}
\ProvidesExplPackage{chemgreek}
@@ -181,7 +181,7 @@
% ----------------------------------------------------------------------------
% variants of kernel functions:
\cs_generate_variant:Nn \prop_put:Nnn { cxV }
-\cs_generate_variant:Nn \prop_get:Nn { cV }
+\cs_generate_variant:Nn \prop_item:Nn { cV }
\cs_generate_variant:Nn \tl_if_eq:nnTF { V }
\cs_generate_variant:Nn \msg_warning:nnnn { nnnV }
\cs_generate_variant:Nn \quark_if_no_value:nTF { V }
@@ -319,9 +319,9 @@
\tl_map_inline:Nn \c__chemgreek_alphabet_tl
{
\prop_put:cnx { l__chemgreek_uppercase_mapping_#1_prop } {##1}
- { \prop_get:cn { l__chemgreek_uppercase_mapping_#2_prop } {##1} }
+ { \prop_item:cn { l__chemgreek_uppercase_mapping_#2_prop } {##1} }
\prop_put:cnx { l__chemgreek_lowercase_mapping_#1_prop } {##1}
- { \prop_get:cn { l__chemgreek_lowercase_mapping_#2_prop } {##1} }
+ { \prop_item:cn { l__chemgreek_lowercase_mapping_#2_prop } {##1} }
}
}
}
@@ -432,7 +432,7 @@
\str_upper_case:f { \tl_head:n {##1} }
\str_lower_case:f { \tl_tail:n {##1} }
}
- { \prop_get:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1} }
+ { \prop_item:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1} }
\cs_set_eq:cc
{
chemgreek_
@@ -446,7 +446,7 @@
\str_lower_case:f { \tl_tail:n {##1} }
}
\cs_set_protected:cpx { chem \str_lower_case:f {##1} }
- { \prop_get:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1} }
+ { \prop_item:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1} }
\cs_set_eq:cc
{ chemgreek_ \str_lower_case:f {##1} : }
{ chem \str_lower_case:f {##1} }
@@ -470,7 +470,7 @@
{ l__chemgreek_uppercase_mapping_#1_prop }
\l__chemgreek_tmpa_tl
}
- { \prop_get:cn { l__chemgreek_lowercase_mapping_#1_prop } {#2} }
+ { \prop_item:cn { l__chemgreek_lowercase_mapping_#1_prop } {#2} }
}
\NewDocumentCommand \chemgreekmappingsymbol { mm }
@@ -502,8 +502,8 @@
\int_gincr:N \g__chemgreek_tmpa_int
\int_use:N \g__chemgreek_tmpa_int . &
##1 &
- \prop_get:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1} &
- \prop_get:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1} \\
+ \prop_item:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1} &
+ \prop_item:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1} \\
}
\end{tabular}
}
@@ -524,7 +524,7 @@
{
. \c_space_tl \c_space_tl \c_space_tl \c_space_tl \c_space_tl
\str_lower_case:f {##1} ~ => ~
- \prop_get:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1}
+ \prop_item:cn { l__chemgreek_lowercase_mapping_#1_prop } {##1}
}
\iow_log:x
{
@@ -532,7 +532,7 @@
\str_upper_case:f { \tl_head:n {##1} }
\str_lower_case:f { \tl_tail:n {##1} }
\c_space_tl => ~
- \prop_get:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1}
+ \prop_item:cn { l__chemgreek_uppercase_mapping_#1_prop } {##1}
}
}
\iow_log:n { ................................................. }