最新消息:

linux下将chm转pdf

Linux admin 3386浏览 0评论

总共分为三个步骤:1。把冰箱门打开 2.把大象装进去 3.把冰箱门关上

开个玩笑,不过确实是3个步骤

1.将chm提取出html文件:

2.将html按页排序

3.转换成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.把转换成pdf
htmldoc -t pdf13 --webpage -f myFile.pdf *.html

http://code.google.com/p/chm2pdf/

转载请注明:爱开源 » linux下将chm转pdf

您必须 登录 才能发表评论!