Dear Knut, > BTW: In my tests xelatex fails to include more than 5005 > pdfs correctly. This is a bug, which I introduced years ago, in xdvipdfmx. I had fixed the bug this year. Please wait for the TL 2018. Best, Akira