praka123
left this forum longback
A simple Python script that converts CHM files into PDF files.
Requires:
All of these should be in your favourite distro repository. Currently it works on Linux (and probably most Unixen).
If you have bugs/problems/issues/questions, as a general advice use the Google group link at your right to post them, not my blog or personal emails (I answer the latter, but I want bug reports etc. to be public). If after the discussion we're sure we're dealing with a true bug, post it to the Issues.
Again: Bugs, problems etc. should be sent to the Google group. NOT as comments to the wiki pages, blog comments or anything else. Thanks!
*code.google.com/p/chm2pdf/
HowToInstall Installation instructions
Dependencies
You need those packages installed and working:
Gentoo:
On Fedora, it has been reported that the chmlib package is missing some essential files. You need to look for chmlib-bin or to compile chmlib by hand.
If you install chmlib from source, do not forget to use the --enable-examples on chmLib, otherwise this script will throw a bunch of exceptions, and will fail.
If you use Mac OS X, and you use darwin ports (port on the cmdline), be aware that the chmlib will NOT be built with this option. You can, however, separately download chmlib and build it yourself with this option, install it, and then re-run the script.
Install
Hope it helps!
thanks to original source:
*www.karakas-online.de/forum/viewtopic.php?t=10275
Requires:
- chmlib
- pychm
- htmldoc
All of these should be in your favourite distro repository. Currently it works on Linux (and probably most Unixen).
If you have bugs/problems/issues/questions, as a general advice use the Google group link at your right to post them, not my blog or personal emails (I answer the latter, but I want bug reports etc. to be public). If after the discussion we're sure we're dealing with a true bug, post it to the Issues.
Again: Bugs, problems etc. should be sent to the Google group. NOT as comments to the wiki pages, blog comments or anything else. Thanks!
*code.google.com/p/chm2pdf/
HowToInstall Installation instructions
Dependencies
You need those packages installed and working:
Gentoo:
- chmlib
- pychm
- htmldoc
- libchm
- libchm-bin
- libchm-dev
- python-chm
- html-doc
- htmldoc-common
On Fedora, it has been reported that the chmlib package is missing some essential files. You need to look for chmlib-bin or to compile chmlib by hand.
If you install chmlib from source, do not forget to use the --enable-examples on chmLib, otherwise this script will throw a bunch of exceptions, and will fail.
If you use Mac OS X, and you use darwin ports (port on the cmdline), be aware that the chmlib will NOT be built with this option. You can, however, separately download chmlib and build it yourself with this option, install it, and then re-run the script.
Install
- Download the archive
- Unzip it (tar -xzvf chm2pdf-x.x.x.tar.gz)
- Enter the directory
- Become root
- Type "python setup.py install"
- Enjoy
Hope it helps!
thanks to original source:
*www.karakas-online.de/forum/viewtopic.php?t=10275