mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 11:29:29 +02:00
Added a README.txt for integrating lhelp into lazarus
git-svn-id: trunk@9719 -
This commit is contained in:
parent
ac5ae3b17e
commit
076ebce906
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -16,6 +16,7 @@ components/cgi/ide/cgilazide.pas svneol=native#text/plain
|
||||
components/cgi/ide/cgilazideintf.pas svneol=native#text/pascal
|
||||
components/cgi/ide/lib/README.txt svneol=native#text/plain
|
||||
components/cgi/lib/README.txt svneol=native#text/plain
|
||||
components/chmhelp/README.txt svneol=native#text/plain
|
||||
components/chmhelp/democontrol/project1.lpi svneol=native#text/plain
|
||||
components/chmhelp/democontrol/project1.lpr svneol=native#text/plain
|
||||
components/chmhelp/democontrol/unit1.lfm svneol=native#text/plain
|
||||
|
61
components/chmhelp/README.txt
Normal file
61
components/chmhelp/README.txt
Normal file
@ -0,0 +1,61 @@
|
||||
lhelp is a program written entirely using FreePascal and the LCL to read .chm help files.
|
||||
|
||||
This is a basic HOWTO for integrating lhelp into the Lazarus IDE.
|
||||
|
||||
|
||||
1 ) Start Lazarus
|
||||
|
||||
2 ) Install Packages:
|
||||
|
||||
In the Components Menu choose "Open Package File"
|
||||
Browse to the lazarus/components/chmhelp/packages/help/ directory and
|
||||
open "lhelpcontrolpkg.lpk"
|
||||
|
||||
You do not need to directly install this package.
|
||||
|
||||
With the lhelpcontrolpkg package still open, in the Components Menu choose
|
||||
"Open Package File". Browse to the lazarus/components/chmhelp/packages/idehelp
|
||||
directory and open chmhelppkg.lpk
|
||||
|
||||
3 ) Now click "Install" this will automatically install the first package we opened.
|
||||
|
||||
4 ) Restart Lazarus(if it didn't automatically)
|
||||
|
||||
5 ) Open the lhelp project in lazarus/components/chmhelp/lhelp/lhelp.lpi
|
||||
Compile lhelp.
|
||||
|
||||
5 ) Configure the paths for the lhelp:
|
||||
|
||||
From the Help menu choose "Configure Help"
|
||||
Change to the "Viewers" tab and select "CHM Help Viewer"
|
||||
|
||||
HelpEXE:
|
||||
For the "HelpEXE" entry browse to the lazarus/components/chmhelp/lhelp/ folder
|
||||
and select the lhelp executable.
|
||||
|
||||
HelpFilesPath:
|
||||
This is the directory that contains the lcl.chm fcl.chm and rtl.chm files.
|
||||
|
||||
HelpLabel Name and Tag do not need to be altered.
|
||||
The HelpLabel is the name of the named pipe that lazarus will use to comunicate with lhelp.
|
||||
|
||||
6 ) Configure the DataBases
|
||||
|
||||
Choose the DataBases tab.
|
||||
|
||||
RTLUnits:
|
||||
this should be "rtl.chm://rtl/"
|
||||
FCLUnits:
|
||||
this should be "fcl.chm://fcl/"
|
||||
LCLUnits:
|
||||
this should be "lcl.chm://lcl/"
|
||||
|
||||
NOTE if you have only a single lcl-fcl-rtl.chm file then then paths become:
|
||||
"lcl-fcl-rtl.chm://rtl/"
|
||||
"lcl-fcl-rtl.chm://fcl/"
|
||||
"lcl-fcl-rtl.chm://lcl/"
|
||||
|
||||
Now close this window and check out the integrated help :)
|
||||
|
||||
Enjoy
|
||||
|
Loading…
Reference in New Issue
Block a user