logoalt Hacker News

dcrazy • today at 4:06 AM • 2 replies • view on HN

The official WinHelp authoring tool was… WordPad. Or really, any RTF editor that supported the custom footnote glyphs that the WinHelp compiler turned into a .hlp file. But I would’ve been nervous about using WinWord in case of unwanted additional formatting.

For some reason this baffled me at the time, even though it’s really no different from DocBook to HTML conversion. Maybe it was inexperience, or maybe it was because HTML was its own well-known thing while .hlp was opaque, but I always thought that the footnotes etc. were semantically preserved to the final artifact, and I couldn’t wrap my head around how they became popups and hyperlinks.

Later, Compiled HTML Help arrived which was significantly less mysterious. Maybe because the input and output were still obviously HTML, packaged into a .chm with some metadata. Or maybe I’d just learned more.


Replies

asveikau • today at 6:06 AM

I remember CHM files from their heyday on Windows, but I recently discovered some older ebook files were distributed as CHM. It was a pain to get calibre to convert them to epub, it needed some python library that didn't seem to work on the first go.

beewill • today at 5:11 AM

I wrote a "shareware" program with Delphi to solve this problem. It pretty much paid for my college.