在Ubuntu下將chm文件轉(zhuǎn)成pdf格式總共分為三個步驟:
1.將chm提取出html文件:
2.將html按頁排序
3.轉(zhuǎn)換成pdf
在Ubuntu下進行如下操作:
1.安裝libchm-bin, htmldoc
sudo apt-get install libchm-bin htmldoc
2.提取出html文件
extract_chmLib <path to the chm file> <directory for the resulting HTML files>
3.轉(zhuǎn)換成pdf
htmldoc -t pdf13 --webpage -f myFile.pdf *.html
|
新聞熱點
疑難解答
圖片精選