Recent

Author Topic: Help System  (Read 17266 times)

ivan17

  • Full Member
  • ***
  • Posts: 173
Re: Help System
« Reply #15 on: November 19, 2010, 01:09:21 am »
i think it should work without setting the location in options dialog. did you even try to copy 3 chms where i told you and hit f1 on something in object inspector/source editor?

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Help System
« Reply #16 on: November 19, 2010, 08:54:38 am »
@ivan17: I already said I've tried putting CHMs to both that an the other location I mentioned... I've asked this because any of that (including your later proposal) didn't work.

Did you even try to read my original post?  ::)
« Last Edit: November 19, 2010, 09:14:13 am by TurboRascal »
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Help System
« Reply #17 on: November 19, 2010, 12:19:55 pm »
1) Compile chmhelp component project.
2) Copy chm help files to docs/html directory
3) Set the appropriate path on the Environment dialog.
« Last Edit: November 19, 2010, 12:22:08 pm by typo »

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Help System
« Reply #18 on: November 20, 2010, 03:40:39 pm »
1) Compile chmhelp component project.
2) Copy chm help files to docs/html directory
3) Set the appropriate path on the Environment dialog.


First two points I alredy did before, but where do I put the path? In the FP Docs path field? I did that too but to no avail...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Help System
« Reply #19 on: November 20, 2010, 03:45:55 pm »
Image attached.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Help System
« Reply #20 on: November 20, 2010, 04:12:36 pm »
Thanks @Typo, now I get it a bit better :)
The corresponding path on Linux is "/usr/lib/lazarus/0.9.28.2/components/chmhelp/lhelp"
However, I am missing the "CHM Help Viewer" entry in "Viewers", even though I compiled lhelp project. Do I need a newer version for that? This one (stable) does have lhelp under components though...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Help System
« Reply #21 on: November 20, 2010, 04:16:32 pm »
Maybe Lazarus has put this path by itself, I did not put it there.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Help System
« Reply #22 on: November 20, 2010, 04:23:48 pm »
I've solved my last question, I needed to manually install the IDE package for the chm help, something which I didn't notice anywhere in the instructions... Then I had to point the "CHM Help Viewer / EXE" to the lhelp binary and it finally launches lhelp. I didn't get the actual help though, but I guess it will be solved by setting chm file paths correctly...

EDIT: @Typo, could you please also tell me your HelpFilesPath under "CHM Help Viewer", and a BaseURL of one of the Databases. And where exactly are your chm files located? Thanks for your help!
« Last Edit: November 20, 2010, 04:41:51 pm by TurboRascal »
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Help System
« Reply #23 on: November 20, 2010, 04:44:33 pm »
Quote
could you please also tell me your HelpFilesPath under "CHM Help Viewer", and a BaseURL of one of the Databases

There is nothing there.

DirkS

  • Sr. Member
  • ****
  • Posts: 251
Re: Help System
« Reply #24 on: November 22, 2010, 08:33:06 am »
Quote
could you please also tell me your HelpFilesPath under "CHM Help Viewer", and a BaseURL of one of the Databases. And where exactly are your chm files located?

I followed the instructions in the readme file in components/chmhelp and it works for me.
Quote
    HelpFilesPath:
    This is the directory that contains the lcl.chm fcl.chm and rtl.chm files.
Quote
    RTLUnits:
    this should be "rtl.chm://"
    FCLUnits:
    this should be "fcl.chm://"
    LCLUnits:
    this should be "lcl.chm://"

Gr.
Dirk.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Help System
« Reply #25 on: November 24, 2010, 03:39:51 pm »
Uh so there is a Readme with instructions there?  :-[
I wasn't aware of that, thanks Dirk!

Now it finally opens lhelp when I press F1, however I get an Access Violation :(
I'll doublecheck that this works properly in Windows version, then try to figure out what's wrong here...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

dkjMusic

  • Full Member
  • ***
  • Posts: 146
Re: Help System
« Reply #26 on: November 24, 2010, 08:03:08 pm »
In Linux, what should be in Start Page/Base URL?
Windows 7 Ultimate/32 bit;
Lazarus 0.9.31/Rev 33300;
FPC 2.7.1/Rev 19464;
GDB 7.0.50;
(via CodeTyphon 2.30)

 

TinyPortal © 2005-2018