-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grading table with collections #85
Comments
I suggest to read the current manual carefully again. The long announced changed to the collection mechanism finally took place with version 0.20 and is documented. This version works: \documentclass{article}
\usepackage{xsim}
\DeclareExerciseCollection{test}
\xsimsetup{
print-solutions/headings=false ,
collect % <<<<<
}
\begin{document}
\gradingtable
\begin{exercise}[ID=one,points=3]
Exercise one.
\end{exercise}
\begin{solution}
Answer one.
\end{solution}
\begin{exercise}[ID=two,points=7]
Exercise two.
\end{exercise}
\begin{solution}
Answer two.
\end{solution}
\begin{exercise}[ID=three,points=1]
Exercise three.
\end{exercise}
\begin{solution}
Answer three.
\end{solution}
\printexercise{exercise}{one,three}
\end{document} |
Thank you very much for your answer, I somehow managed to totally miss it in the manual even if I read it more than once, sorry about that! I have a supplementary question about it. If you add the second exercise in the printed exercises ( using I've tried to change the grading table template without success so far. Is there a build-in (or an easy) way to do so that I overlooked? |
Hi!
I've updated the package this morning as I was working on building a new document I've noticed that the grading table does not work properly with collections since then.
Here is a minimal (non-)working example (that I got from issue #40 ):
And here is the result I have:
It looks kind of like it does not "see" the exercises.
Can you help me figuring out what I'm doing wrong?
PS: when exercises are included directly in the document body, without using collections, it works perfectly fine.
The text was updated successfully, but these errors were encountered: