diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex index 98847ae129c..c03fe144836 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex +++ b/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex @@ -39,7 +39,7 @@ % #1: name \cs_new_protected:Npn \xsim_declare_exercise_goal:n #1 { - \xsim_if_goal_exists:nF {#1} + \xsim_if_goal_exist:nF {#1} { \xsim_verbose:n { Declaring~ new~ goal~ `#1'. } \xsim_declare_property:nnnn @@ -66,7 +66,7 @@ } } -\prg_new_conditional:Npnn \xsim_if_goal_exists:n #1 {p,T,F,TF} +\prg_new_conditional:Npnn \xsim_if_goal_exist:n #1 {p,T,F,TF} { \seq_if_in:NnTF \l__xsim_goals_seq {#1} { \prg_return_true: } @@ -78,7 +78,7 @@ % #3: goal \cs_new_protected:Npn \xsim_update_goal:nnn #1#2#3 { - \xsim_if_goal_exists:nT {#3} + \xsim_if_goal_exist:nT {#3} { \fp_gadd:cn {g__xsim_goal_#3_fp} { \xsim_get_property:nnn {#1} {#2} {#3} + 0 } @@ -105,7 +105,7 @@ % #4: value \cs_new_protected:Npn \xsim_addto_goal:nnnn #1#2#3#4 { - \xsim_if_goal_exists:nT {#3} + \xsim_if_goal_exist:nT {#3} { \xsim_verbose:n { Adding~ `#4'~ to~ `#3'~ goal~ of~ #1~ #2 } \fp_gadd:cn {g__xsim_goal_#3_fp} {#4} |