diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-20 20:59:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-20 20:59:28 +0000 |
commit | 1e213eab38abfeaf29235caabc5ab6d14672e5c3 (patch) | |
tree | 5eb1836b1e44eab260da18837b3488db0cb12642 /Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex | |
parent | a43cc91784cfadcff9d76e97a5e880bf59d2e2ea (diff) |
xsim (20oct19)
git-svn-id: svn://tug.org/texlive/trunk@52460 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex index b7d348e0d51..3f5d2a1b862 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex +++ b/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex @@ -62,7 +62,7 @@ % #1: collection name \cs_new_protected:Npn \xsim_new_collection:n #1 { - \xsim_if_collection_exists:nTF {#1} + \xsim_if_collection_exist:nTF {#1} { \msg_error:nnn {xsim} {collection-exists} {#1} } { \xsim_verbose:n { Declaring~ new~ collection~ `#1'. } @@ -73,7 +73,7 @@ } % #1: collection name -\prg_new_conditional:Npnn \xsim_if_collection_exists:n #1 {T,F,TF} +\prg_new_conditional:Npnn \xsim_if_collection_exist:n #1 {T,F,TF} { \prop_if_in:NnTF \g__xsim_collections_prop {#1} { \prg_return_true: } @@ -124,7 +124,7 @@ \cs_new_protected:Npn \xsim_start_collection:nn #1#2 { \group_begin: - \xsim_if_collection_exists:nF {#1} + \xsim_if_collection_exist:nF {#1} { \msg_error:nnn {xsim} {unknown-collection} {#1} } \xsim_activate_collection:nn {#1} {#2} \xsim_setup:x { \xsim_get_parameter:nn {#2} {exercise-env} /print = false } @@ -136,7 +136,7 @@ \cs_new_protected:Npn \xsim_start_collection:n #1 { \group_begin: - \xsim_if_collection_exists:nF {#1} + \xsim_if_collection_exist:nF {#1} { \msg_error:nnn {xsim} {unknown-collection} {#1} } \xsim_activate_collection:n {#1} \xsim_foreach_exercise_type:n @@ -284,7 +284,7 @@ \l__xsim_print_collection_choice_tl {both} { - \xsim_if_exercise_exists:nnT {##1} {####1} + \xsim_if_exercise_exist:nnT {##1} {####1} { \bool_set_true:N \l__xsim_tmpa_bool } } { @@ -292,7 +292,7 @@ { xsim_if_ \l__xsim_print_collection_choice_tl - _exists:nnT + _exist:nnT } {##1} {####1} @@ -315,9 +315,9 @@ \l__xsim_print_collection_choice_tl {both} { - \xsim_if_exercise_exists:nnT {##1} {####1} + \xsim_if_exercise_exist:nnT {##1} {####1} { \xsim_insert:nnnn {##1} {####1} {} {exercise} } - \xsim_if_solution_exists:nnT {##1} {####1} + \xsim_if_solution_exist:nnT {##1} {####1} { \xsim_insert:nnnn {##1} {####1} {} {solution} } } { @@ -325,7 +325,7 @@ { xsim_if_ \l__xsim_print_collection_choice_tl - _exists:nnT + _exist:nnT } {##1} {####1} |