I use:
\newproblem{1}{bla bla bla}{ble ble ble}
in an external file.tex.
Then in my main file, I use:
\loadallproblem....
\begin{enumerate}
\foreachproblem[...]{\item \thisproblem}
\end{enumerate}
The question is how can I print only solution in the end of document. Somebody help me! P/S: Sorry for my bad English.
probsolnpackage. Basically, you need to put\hideanswersbefore you display the questions, and later put\showanswersand iterate through the dataset again. – Nicola Talbot Jun 02 '14 at 10:55