Using dokutexit plugin as is, I was unable to generate PDF containing several wiki pages on two different installation of Dokuwiki + dokutexit. Having deeper investigation, it appears that in texitrender.php, in p_get_instructions_dokutexit code was added to save some memory about parser instanciation... It looks like:
if (is_null($this->_p_get_parsermodes)) {
$this->_p_get_parsermodes = p_get_parsermodes();
//add modes to parser
}
It appears that when doing that on a multipages document, the second time, $this->_p_get_parsermodes is not null but is not in a good shape. It is surely the same with the following is_null.
I just removed the three conditions and it works again.
May be is_null is not the right choice.
Thanks to Michitux for heving put the work of Danjer in a public repository.