As I am not familiar with linux, but needed to use chm2pdf soI installed Ubuntu 11.10 on my PC and I got the CHM2PDF 0.9.1.1ubuntu5 from the software center - this worked flawless.
Converting my chm file, some pages where there more than once in the output (one time for every link to that page ?)
I see in the script that something is done to Avoid duplicates in the list of image URLs (in class ImageCatcher), but nothing similar is done for class PageLister... I modified this in Pagelister class and Multiple pages seems now fixed:
# Avoid duplicates in the list of URLs.
if not self.pages.count('/'+value):
self.pages.append('/'+value)
This is the first time I try to generate a patch... hope this is correct!