How to access html and pdf help from xfig

Harold L Hunt II huntharo@msu.edu
Sun Sep 28 01:07:00 GMT 2003


David and Igor,

Thanks for the patch.

This is pretty cool and wasn't something that I would have thought of 
doing.  Heck, I didn't even think that it needed to be done, nor did I 
suspect that it could be done so easily.

xfig-etc-3.2.4-2 contains this patch.

Harold

Billinghurst, David (CALCRTS) wrote:
>>From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
>>
>>
>>On Wed, 24 Sep 2003, Billinghurst, David (CALCRTS) wrote:
>>
>>
>>>The following changes will enable access to html and pdf help,
>>>using internet explorer and win32 acrobat reader.  
>>>
>>>[...]
>>>There may be a better may, but this works work me.
> 
> 
>>Try "cygstart %f" for both HTML and PDF, with no helper scripts. ;-)
>>This will do the path translation automatically and open the application
>>associated with each of the extensions in Explorer (just like
>>double-clicking).
>>	Igor
> 
> 
> You are right. A very neat solution.
> 
> --- Fig.orig    2003-09-24 10:44:13.507721200 +1000
> +++ Fig 2003-09-25 09:56:12.139120100 +1000
> @@ -20,11 +20,11 @@
>  !              This is for viewing the xfig html reference.
>  ! For netscape, this command will open the help pages in a running netscape,
>  !     or start a new netscape if one isn't already running
> -Fig.browser:   netscape -remote 'openFile(%f)' || netscape %f
> +Fig.browser:                   cygstart %f
> 
>  ! pdfviewer - put your favorite pdf viewer here.
>  !              This is for viewing the xfig how-to guide and man pages
> -Fig.pdfviewer:                 acroread %f
> +Fig.pdfviewer:                 cygstart %f
> 
>  ! Spell check program - put your favorite spelling check program here.
>  !              It must write the misspelled words to standard output.



More information about the Cygwin-xfree mailing list