FPC doc comes in .chm format

.chm format is still my favorite file format for electronics document. Especially if I intend to read it on computer screen. Yes, it’s not printer friendly format but it’s very easy to navigate and have built-in search engine. For printer friendly format, of course I still prefer .pdf.

Unfortunately, FreePascal documentations don’t come with .chm format. It does provide many file formats, such as .pdf, .html, .dvi, .ps, even .txt! But still… no .chm.๐Ÿ˜ฆ Since I don’t like .pdf on computer screen, I don’t like the layout of html page, even more the .txt format… it seems that I had no choice but convert it to .chm by myself.

The easiest way to do it is using the html files as source. For the conversion tool, I use winCHM. No, I didn’t buy it, I just use the 15 days trial edition.๐Ÿ˜€ Due its complexity, I failed to run the tool on Ubuntu using wine. I had to use Windows then. This would be my first time login to Windows after I didn’t touch it for about 3 months!๐Ÿ˜€

I got no problem with the tool on Windows, it just simply run. The problem came from the fpc’s document. They aren’t too .chm friendly.๐Ÿ˜ฆ The conversion was resulting a horrible index file structure! I had been already too far to get back, so I continued this effort. It was weekend anyway. Patiently, I rearranged the index structure one-by-one manually. After about 6 hours work, I finally made it!๐Ÿ˜€

You can download the result, FreePascal v.2.2.0 documentation in .chm flavor, here. By combining FPC’s document, Lazarus wiki, and Delphi help, I think I’d be able to code anything.๐Ÿ˜€

After all this is done, I back to Ubuntu and using Gnome’s CHMViewer to view the result. Nice. Now I can browse, jump, and search the whole document without being lost within the text jungle.๐Ÿ˜€

Hope this would help someone else too.๐Ÿ˜‰

5 Responses to FPC doc comes in .chm format

  1. ardiansyah says:

    GREAT !! It will help me.., thanks a lot!
    (yang sejak dulu berandai2 punya help file lazarus dalam format chm)

    Question : Apa lazarus bisa lebih cepat larinya di Ubuntu daripada di windows?
    (Komputer : Dual boot Windows-Ubuntu 2.8GHz, memory 1 GB)

  2. bee says:

    @ardiansyah:
    Ini bukan file help lazarus, tapi file help freepascal. Beda loh!๐Ÿ˜€
    Answer: sama aja.๐Ÿ™‚

  3. john kulik says:

    i love chm, smaller size, because i use my xda, lol…

  4. cyberoython says:

    Great job! Thanks!

  5. drewski says:

    For a few months now fpdoc, which is the tool used to generate the help pages, can output directly to chm with a searchable index and useful toc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: