davideuler / chm2pdf

Automatically exported from code.google.com/p/chm2pdf
GNU General Public License v2.0
0 stars 0 forks source link

Images are no beeing inluded in PDF #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get some CHM with images, ie a Book
2. run chm2pdf --book file.chm

Images are not included. The problem is in the images' name. I've created a
patch before, and send it to the group.

What version of the product are you using? On what operating system?
0.9 running on Ubuntu Hardy

Original issue reported on code.google.com by lilarrat...@gmail.com on 19 May 2008 at 3:10

Attachments:

GoogleCodeExporter commented 9 years ago
subject should have said "not being included", sorry for that, too focused in 
the patch.

Original comment by lilarrat...@gmail.com on 19 May 2008 at 3:12

GoogleCodeExporter commented 9 years ago
Patch added in my personal copy of the next version. Thanks!

Original comment by chriskar...@googlemail.com on 25 Nov 2008 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by chriskar...@googlemail.com on 25 Nov 2008 at 10:51

GoogleCodeExporter commented 9 years ago
I tried using the --path variable for including the images.still it is not 
including
the images.the patch given above, where it needs to be updated in the code or 
is it
the error of htmldoc.

Original comment by nike....@gmail.com on 15 Mar 2009 at 10:06

GoogleCodeExporter commented 9 years ago
Run chm2pdf with --extract-only. Check the images in the images in the "orig"
directory. Correct them, if need be. Then run chm2pdf again, this time with the
--dontextract option. See 
http://www.karakas-online.de/forum/viewtopic.php?t=11078
and http://www.karakas-online.de/forum/viewtopic.php?t=10969 for more details.

Original comment by chriskar...@googlemail.com on 21 Mar 2009 at 9:09

GoogleCodeExporter commented 9 years ago
Hi
Patch is not added in the current version in ubuntu
I had to apply the patch manually in order to get images to be included in the 
pdf file.
Please consider apply it
Thanks

Original comment by Hamdy.A....@gmail.com on 9 Feb 2012 at 3:18

GoogleCodeExporter commented 9 years ago
I too was struggling with this, and after a bit of research I did get the 
images into the generated pdf, but still had some errors. I am using ubuntu OS. 
I downloaded the following library (Beautifulsoup) from 
http://www.crummy.com/software/BeautifulSoup/#Download.
Then installed it:
tar -xvvf beautifulsoup4-4.1.2.tar
cd beautifulsoup4-4.1.2.tar
sudo -s
python sutup.py install

Then was able to run chm2pdf and have the images in the pdf that was generated:
Exit root:
ctrl+d

cd ..

chm2pdf --continuous --verbose --verbositylevel high --title --titlefile 
toc.html --no-duplex --compression 9 --beautifulsoup --overflow yourbook.chm

Let me know if this worked for you, or if there is some way to get rid of those 
ugly error messages.

Original comment by sirajper...@gmail.com on 29 Apr 2013 at 6:36