cgnieder / xsim

eXercise Sheets IMproved
65 stars 20 forks source link

Wrong documentation for `AddtoExerciseTypeGoal` and `AddtoExerciseTypeGoalPrint` #113

Open m-haug opened 1 year ago

m-haug commented 1 year ago

The documentation for AddtoExerciseTypeGoal and AddtoExerciseTypeGoalPrint lists them as taking 3 or 5 arguments respectively, but the actual command definitions take 4 or 6 arguments: https://github.com/cgnieder/xsim/blob/06e3dba43b96ed493968ddd54add9fc8a1d9a264/code/xsim.interface.code.tex#L413.

For context, I am trying to award some points for cross-cutting concerns without declaring an exercise for them. I tried to use AddtoExerciseTypeGoalPrint for this purpose but got an issue, since I was missing the second argument, the exercise id. I'm not completely sure whether this usage is supported at all, or whether AddtoExerciseTypeGoal is not supposed to be used this way.