Why are there so many files when I compile? This is very annoying if you have more than 20 questions.
The answer is: because I decided that way when creating the package. One advantage for me was that this allows verbatim material in exercises and their solutions…
I understand why you don't like this very much. This is why the manual says this:
Arguably one downside of the approach using external files for each exercise and its solution is that your project folder will be cluttered with files. In order to deal with this somehow xsim
offers the following option:
path = {<path name>}
With this option a subfolder or path within the main project folder can be given. Exercises will be written to and included from this path. The path must exist on your system before you can use it!
So with \xsimsetup{path=exercises}
(and a folder named exercises
inside your main folder) all exercise files be be written to that folder which would keep your main folder “clean”. :)
PS: I do plan to give users the option to switch the creating of new files off but I have no idea when I will find the time to work on this, so maybe it never comes…
EDIT Since v0.13 (2019/10/06) xsim
has the package option no-files
.
beamer
orminted
. That is just a design decision, usually to provide faster or easier to manage processing. This is not generally seen as a big disadvantage, because the files do not necessarily have to bother the user - for example if you use a terminal as your main working environment then you don't see the extra files at all most of the time, and when you use a graphical file manager then you can you sort by most recently modified and the pdf will be always on top.