This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
How to access html and pdf help from xfig
- From: "Billinghurst, David (CALCRTS)" <david dot billinghurst at comalco dot riotinto dot com dot au>
- To: <cygwin-xfree at cygwin dot com>
- Date: Wed, 24 Sep 2003 11:04:05 +1000
- Subject: How to access html and pdf help from xfig
- Reply-to: cygwin-xfree at cygwin dot com
Thanks for xfig.
The following changes will enable access to html and pdf help,
using internet explorer and win32 acrobat reader. The path to
the windows applications will need to match your local setup.
1. Create a helper script /usr/local/bin/acroread
#!/bin/sh
ACROREAD="/cygdrive/c/Program Files/Adobe/Acrobat/Reader/AcroRd32.exe"
exec "${ACROREAD}" `cygpath -w $1`
2. Create a helper script /usr/local/bin/iexplore
#!/bin/sh
IEXPLORE="/cygdrive/c/Program Files/Internet Explorer/iexplore.exe"
exec "${IEXPLORE}" `cygpath -w $1`
3. Change /etc/X11/app-defaults/Fig
$ diff -u Fig.orig Fig
--- Fig.orig 2003-09-24 10:44:13.507721200 +1000
+++ Fig 2003-09-24 10:50:57.411386200 +1000
@@ -20,7 +20,7 @@
! 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: iexplore %f
! pdfviewer - put your favorite pdf viewer here.
! This is for viewing the xfig how-to guide and man pages
There may be a better may, but this works work me.