# Odd behavior of random selection of exercises

I'm testing some of the features of the `exsheets` package. Specifically I'm trying to use `\includequestions[<options>]{<list of filenames>}` to include some random exercise from some external files. But I just get: `No pages of output`.

The code is here.

-
It's better to provide a minimal example, rather than your current fragmented and diverse code/file set. Moreover, the link you provide might be dead later, implying that this question will not help others that much. So, include the code in a minimal example that we can compile on a local machine. –  Werner Jan 7 '13 at 3:50
That's the bug I was telling you about in chat. It's fixed and I'll be uploading the new version to CTAN today. –  cgnieder Jan 7 '13 at 8:26
In this case it is necessary to have external files. The external files should have enough `questions` otherwise it doesn't make sense to pick random questions. Thus the files are quite long. The folder will be stable. When I find some time I'll edit the questions to avoid images and then I'll add MWEs –  leo Jan 7 '13 at 21:34

That's a bug in `exsheets`. If no explicit IDs are given to the questions the option `random=<num>` to `\includequestions` currently selects no questions at all. Solution: either assign IDs to all questions, get the fixed version of `exsheets.sty` on the bitbucket site, or wait a few days until I uploaded it to CTAN and it is available in MiKTeX and TeX Live.