Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

You can do that with libchm, you find it http://www.jedrea.com/chmlib/ .

It contains extract_chmLib, which extracts html pages from the help pages to a directory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top