Update:
This should be added in Pagelister class as it fix the multiple page
problem in files with a lot of cross-links inside:
> # Avoid duplicates in the list of URLs.
> if not self.pages.count('/'+value):
> self.pages.append('/'+value)
The last page missing is because in my "demo" the last page starts
with a h2 and not h1!
Using the --book option, the output is correct (and last page indented
for one level as it should be in the topics.
For the image problem, in the tmp/chm2pdf/work/ folder everything is
fine, so this seems to be more an issue of HTMLDOC and not chm2pdf.
Need still to check if the order of the pages in the big file is
correct. In demo it is....
Ciao!
Reto