I think the issue is that most programs, whether word processors or browsers, if they receive a file spec that includes a page anchor (e.g., "#something" with HTML) the program sees this as part of the file name and chokes.
It's been a while but I think I concluded that a separate HTML file would be needed for each topic with the Lazarus help system on Linux and OS X if a browser is used to view the help. My original investigation was for OS X. The Carbon API's AHGotoPage function does allow an anchor to be specified for scrolling to with the Mac Help Viewer, but this would require direct calls to Carbon from my app rather than through the Lazarus interface. I never got around to following up on this. Thanks. -Phil -----Original Message----- From: Mark Morgan Lloyd [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 4:17 PM To: [email protected] Subject: Re: [lazarus] Helpfiles for Lazarus apps Hess, Philip J wrote: > You can launch a program via file extension with both Windows and Mac, > but I'm not aware of any standardized way to do this on Linux. You can > see how the HelpUtil.pas in this toolkit does it with OS X and Linux: > > http://wiki.lazarus.freepascal.org/XDev_Toolkit Thanks, looks interesting. I must confess that I've never got into creation of Windows help files via RTF since we've never really been a Windows "shop" when it comes to development. Can ViewDoc start at a given location in the file? Otherwise I think it's back to looking at the htmlhelp stuff to see whether it supports a fragment specification in the URL. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
