现在的位置: 首页 > 综合 > 正文

linux下打开chm格式文件

2014年09月05日 ⁄ 综合 ⁄ 共 8389字 ⁄ 字号 评论关闭

首先我们安装一个打开chm文件的软件,这个软件叫chmsee. 在终端下运行: sudo apt-get install chmsee 安装完成后有可能还是打不开,这可能是系统升级时,如果xulrunner版本有变化,同样会导致chmsee无法运行,,查看/usr/lib中的xulrunner的版本(注:我的xulrunner的版本号为xulrunner-1.9)。然后建立下面四个链接:
cd /usr/lib sudo ln -s xulrunner-1.9/libxul.so libxul.so sudo ln -s xulrunner-1.9/libxpcom.so libxpcom.so sudo ln -s xulrunner-1.9/libsqlite3.so libsqlite3.so sudo ln -s xulrunner-1.9/libmozjs.so libmozjs.so 如果还是有问题的话,可以试着把这四个链接删除掉然后再建立。其中删除链接的命令为: cd /usr/lib
sudo rm libxul.so sudo rm libxpcom.so sudo rm libsqlite3.so sudo rm libmozjs.so


在linux下打开chm格式文件的方式有多种,如:chmsee,chm-vewer等,但这些软件的安装要很多的依赖包,安装起来太烦,现在我向大家介绍一下firefox的chmreader插件,可通过fireforx打开chm文件,安装与使用都很方便。

  1、从http://sourceforge.net/projects/chmreader下载chmreader.
  2、从firefox中打开下载的xpi文件.
  3、重新启动firefox就安装了chmreader插件.
  4、打开chm文件(通过file中的open CHM files)
  
  
  我打开chm文件的图:
  
  目录
  devhelp/htmlhelp/winhlp帮助文件
  chm查看工具
  chm相关工具
  
  
  DevHelp/HtmlHelp/WinHelp帮助文件
  http://htmlhelp.berlios.de/
  This project aims to provide:
  
  available reference documentation of open-source software in convienient HTML-based formats, such as Windows Compiled HTML Help (CHM) 
  to provide the necessary tools for the generation of such books from the source documentation formats (may they be Texinfo, DocBook, LaTex, etc.),
conversion among the diferent formats 

  webserver based visualization (by hosting several books using MYSQL together with PHP or Python CGI scripts) 
  platform-indenpendent GUI visualization tools 
  perhaps a canonic XML based HTML help format 
  LIDN: Linux Developer Network
  这个站点有很多DevHelp书库。
  DevHelp是 GNOME的API浏览工具,GNOME里的大多数库都采用该工具浏览API
  
  
  Virtually Un*x 
  Man Pages in WinHelp format 
  
  
  
  CHM查看程序
  
   chmsee
  
  homepage: http://211.92.88.40/~zhong/
  requires: gtkhtml, libgnomevfs
  调用gtkhtml显示HTML,适合GNOME环境下使用
  ChmSee是一个浏览CHM文件的程序,支持简体和英文编码的CHM文件,其它编码暂不支持.
  由于ChmSee的工作方式,所以对太大的CHM文件处理起来比较吃力 (体验在较大CHM文件的打开和退出). 
   xchm
  
  homepage: http://xchm.sourceforge.net
  requires: chmlib, wxGTK
  chm文件解析基于chmlib(见下), 界面部分需要wxGTK
  (Debian testing/unstable已经收录该工具)
   
  
  
   chm_viewer
  
  http://sourceforge.net/projects/chmviewer/
  基于chmlib(但代码已经并入), 需要 KDE-3
   
  
   chmviewer
  
  http://www.herdsoft.com/linux/themen/chmviewer.html
  
   Tools for viewing CHM-Archives
   This package includes programs for viewing and/or
   extracting Microsoft .chm help-file-archives. 
  requires: wxGTK, libmspack
  
  提供Debian包
  deb http://www.herdsoft.com/debian woody main
   
  
   kchmpart
  
  kdevelop3内置kchmpart插件, 该插件显chm效果极好
  
  中文标签补丁(补丁代码来源于linuxsir.org 论坛上的penny)
  
   
  
   gnochm
  
  http://gnochm.sourceforge.net
  
  基于pychm(chmlib的python- binding), 界面采用python-gnome(2.x)编写,适合GNOME环境
   
  
  
  
  
  chm相关工具
  chmlib
  chmlib是linux下用于阅读chm文件的API库.
  目前的chmlib0.31只支持UTF8,中文chm无法打开.
  0.311版修正了这个问题,并利用测试程序chm_http,使用mozilla打开chm文件.
  (编译会有些问题,可以参考debian版本的补丁进行修改)
  
  安装步骤:
  解压后,
  make;make install
  make chm_http
  ./chm_http chm文件名
  将通过mozilla打开chm文件.
  现有问题是,在关闭mozilla后,chm_http server没有关闭.
  最好是 killall chm_http :)
  
  
  libmspack
  The purpose of libmspack is to provide compressors and decompressors,
  archivers and dearchivers for Microsoft compression formats: CAB, CHM, 
  HLP, KWAJ, LIT and SZDD. It is also designed to be easily embeddable,
  stable, robust and resource-efficient. 
  
  
  texi2chm.pl
  将texinfo(raw格式,不是已经生成的info格式)文档转换为chm格式(需要另外编译)
  两年前在一个mingw 的网站上发现的,上面还有gcc, gdb等做好的帮助文件,但现在已经找不到了
  新的版本可以在这里找到。 
  devhelp2chm
  我自己编写的一个Shell脚本,用于将DevHelp的书库转换为CHM格式(需要另外编译)
  本为Cygwin编写,因为Cygwin的Devhelp很不好用。使用它需要xsltproc.
  
  DevHelp是GNOME的API浏览工具,GNOME里的大多数库都采用改工具浏览API
  http://lidn.sourceforge.net上有很多DevHelp书库
  
  
  htmlhelp_tools
  与chmviewer来源相同
  http://www.herdsoft.com/linux/themen/chmviewer.html
  
  
  M$ HtmlHelp Workshop
  Link: M$ Htmlhelp Workshop with WINE HOWTO(如何在Wine上安装并运行HtmlHelp Workshop)
  
  
  WinHelp相关工具
  都来自 http://www.herdsoft.com/linux/themen 
  winhelpcgi
  "winhelpcgi.cgi" is a simple tool to allow reading of Help files from Microsoft Windows under Linux without using any emulation software. 
  
  hlp2rtf
  {Help to RTF} is a file format converter converting Windows Help file (having the file extension .HLP), Multimedia Viewer Files (having the file
extension .MVB) and Media View Library files (having the file extension .M14) into RTF files either. 

   * To reproduce the source code as closely as possible OR 
   * to produce an RTF-File useable as a printable handbook in good quality. 
  
  
  makertf
  Makertf converts "Texinfo" file into "Rich Text Format" (RTF) files.
  You can use Makertf in conjunction with the Windows Help Compiler to
  make Windows Help Files from documentation written in Texinfo.
  
  Makertf is derived from Makeinfo 1.64, which is a part of the GNU
  Texinfo documentation system.
  (DOS-32)
  
  
  
  TexInfo相关工具
  texi2off
  texi2roff
  texi2chm.pl
  texi2html
  texicvt
  texipf
  mkrtf
  mkinfo
  
  w在linux下打开chm格式文件的方式有多种,如:chmsee,chm-vewer等,但这些软件的安装要很多的依赖包,安装起来太烦,现在我向大家介绍一下firefox的chmreader插件,可通过fireforx打开chm文件,安装与使用都很方便。
  1、从http://sourceforge.net/projects/chmreader下载chmreader.
  2、从firefox中打开下载的xpi文件.
  3、重新启动firefox就安装了chmreader插件.
  4、打开chm文件(通过file中的open CHM files)
  
  
  我打开chm文件的图:
  
  目录
  devhelp/htmlhelp/winhlp帮助文件
  chm查看工具
  chm相关工具
  
  
  DevHelp/HtmlHelp/WinHelp帮助文件
  http://htmlhelp.berlios.de/
  This project aims to provide:
  
  available reference documentation of open-source software in convienient HTML-based formats, such as Windows Compiled HTML Help (CHM) 
  to provide the necessary tools for the generation of such books from the source documentation formats (may they be Texinfo, DocBook, LaTex, etc.),
conversion among the diferent formats 

  webserver based visualization (by hosting several books using MYSQL together with PHP or Python CGI scripts) 
  platform-indenpendent GUI visualization tools 
  perhaps a canonic XML based HTML help format 
  LIDN: Linux Developer Network
  这个站点有很多DevHelp书库。
  DevHelp是 GNOME的API浏览工具,GNOME里的大多数库都采用该工具浏览API
  
  
  Virtually Un*x 
  Man Pages in WinHelp format 
  
  
  
  CHM查看程序
  
   chmsee
  
  homepage: http://211.92.88.40/~zhong/
  requires: gtkhtml, libgnomevfs
  调用gtkhtml显示HTML,适合GNOME环境下使用
  ChmSee是一个浏览CHM文件的程序,支持简体和英文编码的CHM文件,其它编码暂不支持.
  由于ChmSee的工作方式,所以对太大的CHM文件处理起来比较吃力 (体验在较大CHM文件的打开和退出). 
   xchm
  
  homepage: http://xchm.sourceforge.net
  requires: chmlib, wxGTK
  chm文件解析基于chmlib(见下), 界面部分需要wxGTK
  (Debian testing/unstable已经收录该工具)
   
  
  
   chm_viewer
  
  http://sourceforge.net/projects/chmviewer/
  基于chmlib(但代码已经并入), 需要 KDE-3
   
  
   chmviewer
  
  http://www.herdsoft.com/linux/themen/chmviewer.html
  
   Tools for viewing CHM-Archives
   This package includes programs for viewing and/or
   extracting Microsoft .chm help-file-archives. 
  requires: wxGTK, libmspack
  
  提供Debian包
  deb http://www.herdsoft.com/debian woody main
   
  
   kchmpart
  
  kdevelop3内置kchmpart插件, 该插件显chm效果极好
  
  中文标签补丁(补丁代码来源于linuxsir.org 论坛上的penny)
  
   
  
   gnochm
  
  http://gnochm.sourceforge.net
  
  基于pychm(chmlib的python- binding), 界面采用python-gnome(2.x)编写,适合GNOME环境
   
  
  
  
  
  chm相关工具
  chmlib
  chmlib是linux下用于阅读chm文件的API库.
  目前的chmlib0.31只支持UTF8,中文chm无法打开.
  0.311版修正了这个问题,并利用测试程序chm_http,使用mozilla打开chm文件.
  (编译会有些问题,可以参考debian版本的补丁进行修改)
  
  安装步骤:
  解压后,
  make;make install
  make chm_http
  ./chm_http chm文件名
  将通过mozilla打开chm文件.
  现有问题是,在关闭mozilla后,chm_http server没有关闭.
  最好是 killall chm_http :)
  
  
  libmspack
  The purpose of libmspack is to provide compressors and decompressors,
  archivers and dearchivers for Microsoft compression formats: CAB, CHM, 
  HLP, KWAJ, LIT and SZDD. It is also designed to be easily embeddable,
  stable, robust and resource-efficient. 
  
  
  texi2chm.pl
  将texinfo(raw格式,不是已经生成的info格式)文档转换为chm格式(需要另外编译)
  两年前在一个mingw 的网站上发现的,上面还有gcc, gdb等做好的帮助文件,但现在已经找不到了
  新的版本可以在这里找到。 
  devhelp2chm
  我自己编写的一个Shell脚本,用于将DevHelp的书库转换为CHM格式(需要另外编译)
  本为Cygwin编写,因为Cygwin的Devhelp很不好用。使用它需要xsltproc.
  
  DevHelp是GNOME的API浏览工具,GNOME里的大多数库都采用改工具浏览API
  http://lidn.sourceforge.net上有很多DevHelp书库
  
  
  htmlhelp_tools
  与chmviewer来源相同
  http://www.herdsoft.com/linux/themen/chmviewer.html
  
  
  M$ HtmlHelp Workshop
  Link: M$ Htmlhelp Workshop with WINE HOWTO(如何在Wine上安装并运行HtmlHelp Workshop)
  
  
  WinHelp相关工具
  都来自 http://www.herdsoft.com/linux/themen 
  winhelpcgi
  "winhelpcgi.cgi" is a simple tool to allow reading of Help files from Microsoft Windows under Linux without using any emulation software. 
  
  hlp2rtf
  {Help to RTF} is a file format converter converting Windows Help file (having the file extension .HLP), Multimedia Viewer Files (having the file
extension .MVB) and Media View Library files (having the file extension .M14) into RTF files either. 

   * To reproduce the source code as closely as possible OR 
   * to produce an RTF-File useable as a printable handbook in good quality. 
  
  
  makertf
  Makertf converts "Texinfo" file into "Rich Text Format" (RTF) files.
  You can use Makertf in conjunction with the Windows Help Compiler to
  make Windows Help Files from documentation written in Texinfo.
  
  Makertf is derived from Makeinfo 1.64, which is a part of the GNU
  Texinfo documentation system.
  (DOS-32)
  
  
  
  TexInfo相关工具
  texi2off
  texi2roff
  texi2chm.pl
  texi2html
  texicvt
  texipf
  mkrtf
  mkinfo
  
  
w

抱歉!评论已关闭.