Forum > Options

Answer to Question: How to use CHM help?

<< < (5/5)

marcov:

--- Quote from: jamhitz on April 10, 2011, 05:06:47 pm ---The toc.chm file contains only one file (toc.chm). I decompiled the CHM file, made a copy of that file as index.html.  I then recompiled the file and voila! When I click on "Online Help" the list of available documents is displayed with correct hyperlinks.

--- End quote ---

Toc is autogenerated by a program. It can be that it contains mistakes, but it shouldn't be altered. THe generator program should be fixed.

And again: toc.chm is meant for the textmode IDE, not for lazarus.


--- Quote ---@marcov: In my setup (Laz 0.9.28.2, lhelp 2009.06.08), lhelp does not autoload the chm files.

--- End quote ---

Sorry, don't know very old versions that well. Afaik that is a FPC 2.2.4 version, and there are dozens of patches to
the core CHM libraries in FPC alone since then. And then I'm not even counting what happened in lazarus.

TurboRascal:

--- Quote from: marcov on April 11, 2011, 10:42:30 am ---
Toc is autogenerated by a program. It can be that it contains mistakes, but it shouldn't be altered. THe generator program should be fixed.

--- End quote ---

IIRC, all HTML and CHM documentation is created based on some XML files... Perhaps those files should be fixed...

marcov:

--- Quote from: TurboRascal on April 11, 2011, 11:08:58 pm ---
--- Quote from: marcov on April 11, 2011, 10:42:30 am ---
Toc is autogenerated by a program. It can be that it contains mistakes, but it shouldn't be altered. THe generator program should be fixed.

--- End quote ---

IIRC, all HTML and CHM documentation is created based on some XML files.
--- End quote ---

This is not true. Only RTL, FCL and LCL  (and some lesser ones like fpdoc and a few that are not compiled atm). These are processed by fpdoc.

prog, ref and user are in latex, exported to html and then post processed to CHM. (indexing and other little fixes)

toc is generated directly as CHM by a program, it simply opens all CHMs and provides a reference to it.

But again, TOC.chm is meant for the textmode IDE[/b\] that can only deal with one TOC.  It is a workaround to make the TOC an index page that references to the
other CHMs. It works fine for the textmode IDE, and is not important for the rest.
 

visualteam:

--- Quote from: SunyD on November 20, 2009, 04:46:10 pm ---...
7 ) Configure the DataBases

    Choose the DataBases tab.

    RTLUnits:
    this should be "rtl.chm://"
    FCLUnits:
    this should be "fcl.chm://"
    LCLUnits:
    this should be "lcl.chm://"

...

--- End quote ---

Thank you!

After Update to Lazarus 2.0.10 (deb 64), help partially was broken.
Inserting the above values revived the chm-Help.
(I didn't succeed in "reviving" html help, neither offline nor online version)

Greets

VT

dsiders:

--- Quote from: visualteam on January 14, 2021, 07:06:10 pm ---
--- Quote from: SunyD on November 20, 2009, 04:46:10 pm ---...
7 ) Configure the DataBases

    Choose the DataBases tab.

    RTLUnits:
    this should be "rtl.chm://"
    FCLUnits:
    this should be "fcl.chm://"
    LCLUnits:
    this should be "lcl.chm://"

...

--- End quote ---

Thank you!

After Update to Lazarus 2.0.10 (deb 64), help partially was broken.
Inserting the above values revived the chm-Help.
(I didn't succeed in "reviving" html help, neither offline nor online version)

Greets

VT

--- End quote ---

Do you realize you're replying to a 12 year old post?

Navigation

[0] Message Index

[*] Previous page

Go to full version