This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to access html and pdf help from xfig


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]