In Ubuntu, you only need to convert chm to pdf in three steps.

Source: Internet
Author: User
The most painful thing about e-books is to go down to chm and convert chm to pdf under Ubuntu in three steps: 1. open the refrigerator door. 2. put the elephant in 3. close the refrigerator door to joke, but it is indeed three steps 1. extract the html file from chm: 2. sort html by page. 3. convert to pdf and perform the following operations in ubuntu: 1. install libchm-bin, htmldocsudoapt-getin

The most painful thing about e-books is to go down to chm and convert chm to pdf in Ubuntu in three steps:

1. open the refrigerator door 2. Put the elephant in 3. Close the refrigerator door

A joke, but it is three steps.

1. Extract the html file from chm:

2. Sort html by PAGE

3. Convert to pdf

Perform the following operations in ubuntu:

1. Install libchm-bin and htmldoc

Sudo apt-get install libchm-bin htmldoc

2. Extract html files

Extract_chmLib

3. Convert to pdf

Htmldoc-t limit 13 -- webpage-f myfileprohibited *. html

If you want to transfer chm to kindle

Step 3: Use the following command:

Htmldoc-t limit 13 -- color -- webpage -- compression -- fontsize 18.0 -- browserwidth 824 -- right 5mm -- left 5mm-f ../myBook.pdf *. html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.