Page 2 of 2

Re: PureBasic.chm modern style

Posted: Sun Apr 12, 2020 10:59 pm
by chi
I use the following programs and they work just fine...


A quick way to edit colors from within the help file:
  • Options / Internet Options... / General Tab / Accessibility / check "Ignore colors specified on webpages" / OK / Colors / uncheck "Use Windows colors" / select your preferred colors / OK

It's also possible to choose a custom stylesheet but unfortunately all fonts and colors are hardcoded into the html files :(. Maybe I'll fix that tomorrow (if I'm bored).

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 12:32 am
by AZJIO
decompile=7zip

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 12:54 am
by chi
AZJIO wrote:decompile=7zip
Only partially... You need a .hhp file for HTML Help Workshop and KeyTools generates it for you.

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 4:52 am
by AZJIO
You need a .hhp
I have templates (Ru En), I do not need an internal hhp file.
If you need to compress more compactly, then I use htm2chm

Preview has a good effect, so I’m showing my option
Image

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 9:45 am
by Michael Vogel
Thanks for all these infos, seems to work now :P

The last actions I did...
- installing the help workshop (told me that a more actual version has been already on my system)
- deinstallaing the workshop
- hhc told me now, that itircl.dll wouldn't have been registered
- registering itirc.dll using regsvr32
- hhc told me again, that itircl.dll wouldn't have been registered
- installing the help workshop again

Now I get a full text search

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 10:23 am
by AZJIO
When I make UTF-8 encoded HTML pages, the search does not work.

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 11:46 am
by gurj
may use utf8, but not use bom.
but search maybe only friendly for ansi.
may set use locality ansi .
my China use 'gbk' and ....

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 12:11 pm
by AZJIO
gurj wrote:may use utf8, but not use bom.
HTML pages never use BOM because the encoding is specified in "charset=..."

Re: PureBasic.chm modern style

Posted: Mon Apr 13, 2020 4:38 pm
by helpy
Decompiling CHM including regenerating HHP file:
==> KeyTools: http://keyworks.helpmvp.com/home/keytools/

Re: PureBasic.chm modern style

Posted: Fri Apr 19, 2024 6:43 pm
by AZJIO
I recorded two videos on how I compile the help file.
video1
video2