Is there a tool to convert the pdf files to chm?

I am looking for any package or tool to convert pdf files to chm. Is there such a tool?

I am running Ubuntu 13.04


Solution 1:

You can Download Calibre .Calibre is a free and open source e-book library management application developed by users of e-books for users of e-books.

calibre supports the conversion of many input formats to many output formats. It can convert every input format in the following list, to every output format.

Input Formats: CBZ, CBR, CBC, CHM, DJVU, DOCX, EPUB, FB2, HTML, HTMLZ, LIT, LRF, MOBI, ODT, PDF, PRC, PDB, PML, RB, RTF, SNB, TCR, TXT, TXTZ

Output Formats: AZW3, EPUB, FB2, OEB, LIT, LRF, MOBI, HTMLZ, PDB, PML, RB, PDF, RTF, SNB, TCR, TXT, TXTZ

It does perform .pdf to .chm conversion The calibre manuals for conversion can be accessed here:

  • http://manual.calibre-ebook.com/conversion.html#conversion
  • manual.calibre-ebook.com/cli/ebook-convert.html#ebook-convert

You Can download it here

After installation of Calibre,you can start it by typing the command calibre& in terminal there are two ways to use it:

  1. use the gui of the calibre .This is pretty straight forward.
  2. By using the command ebook-convert in terminal as follows

    ebook-convert filetobeconverted.pdf outputfile.chm -h

    if the file name has space then put it in parenthesis .For example (my book is this .pdf )