Ubuntu 提取CHM并转PDF的方法

来源:互联网 发布:mac的office 编辑:程序博客网 时间:2024/06/15 08:19
  1. 安装libchm-bin,htmldoc
    Terminal>sudo apt install libchm-bin htmldoc;
  2. 提取CHM
    Terminal>extract_chmLib MySQL.chm /tmp/;
  3. 转换pdf
    Terminal>htmldoc -t pdf13 –webpage -f MySQL.pdf *.html;

    Terminal>htmldoc -t pdf13 –color –webpage –compression –fontsize 18.0 –browerwidth 825 –right 5mm –left 5mm -f ../MySQL.pdf *.html;
0 0