Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html to chm file under linux

Tags:

html

linux

chm

I have html files/Directories, I want to convert them to .chm help file, under Linux using command lines at Terminal?

Any help would be appreciated.

like image 454
ama Avatar asked Feb 07 '12 09:02

ama


People also ask

How open CHM file in Linux?

To read a chm file on Linux as easily as you do on Windows, install the xchm reader. Then open the chm file with this easily and read to your hearts content.

How do I open compiled HTML help file .CHM Windows 10?

Solution: Run Windows Explorer, right-click on the CHM file, and select Properties from the popup menu. Click on the Unblock button immediately below the Advanced button on the General page. Click Apply to show the content. Once the CHM file has been unblocked, the Unblock button disappears.

What file extension is CHM?

Microsoft Compiled HTML Help is a Microsoft proprietary online help format, consisting of a collection of HTML pages, an index and other navigation tools. The files are compressed and deployed in a binary format with the extension . CHM, for Compiled HTML. The format is often used for software documentation.


2 Answers

The Free Pascal compiler, version 2.4.4 or higher has a CHM compiler for *nix called "chmcmd". I would recommend getting it from version 2.6.0. It works on MSHelp .hhp project files.

The compiler is also available in source (styled like a classes library), so you could roll your own. It is crossplatform, but Big Endian platforms are not tested very well.

2.6.0 is from januari 1st 2012, so you might need to get it from a "bleeding edge" packages repository of your distribution.

like image 162
Marco van de Voort Avatar answered Oct 07 '22 13:10

Marco van de Voort


CHM is a proprietary Microsoft format, so keep in mind most Open Source tools will likely be focused on reading and converting chm to html . if you want to create CHM file on Linux then you will need a CHM compiler that you can use with wine . details are on the following link Compiling_CHM_help_files_in_Linux_with_HHC_and_Wine

like image 42
raj_gt1 Avatar answered Oct 07 '22 14:10

raj_gt1