Hi, your book generator creates problems but there is a Pediapress link on your page and as I look previews I see very good formating results. So why don't you adapt this software if it works perfectly?
Topic on Talk:Reading/Web/PDF Functionality/Flow
That's the software we were using before. We are stepping away from that for a variety of reasons (mostly involving the parser of wikicode evolving, and the software not evolving with that).