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