Smile for the Camera: a new cybercrime short story ebook.

probsoln package FAQ

I get an error when I put a command definition in my database when using \selectrandomly 🔗

\selectrandomly inputs the database twice, so any command definition will be read twice, causing an error. You can use the switch \iffirstpass to prevent the error. For example:

However it is generally not a good idea to put anything other than problem definitions (\newproblem or defproblem) within the database. Note that if you use \loadallproblems, \loadselectedproblems or \loadrandomproblems, the file will be loaded within a group, so any commands in the file that occur outside of problem definitions will only have a local effect.

2020-07-03 11:15:46

Alternative link:

Category: probsoln package
Topic: Error Messages