comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Ghostscript & Ghostview as IDL Manual Browser
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Ghostscript & Ghostview as IDL Manual Browser [message #1512] Thu, 02 December 1993 08:17
oet is currently offline  oet
Messages: 28
Registered: February 1993
Junior Member
If someone is using Ghostscript (2.6.1pl4) & Ghostview (1.5) as
IDL Manual browser the following hint might be useful:

The ps manual files distributed on the IDL 3.5 CD-Rom are created by
Framemaker. The current Framemaker version produces postscript files without the standard '%!PS-Adobe-' header. Ghostview has limited handling capabilites of non-
standard postscript files. Backward paging, skipping to any page or
marking pages are not possible. We applied the short script below
to insert the required header in the manual files. This way Ghostview & Ghostscript
can be used as manual browser without any restrictions.

-Thomas


#!/bin/csh
# only tested on SunOS 4.1.x and Solaris 2.3

cd $IDL_DIR/manuals

set files=`find . -name "*.ps" -print`
foreach file ($files)
echo "Updating $file ..."
sed 's/^\%\!/\%\!PS\-Adobe\-2\.0/' "$file" > "$file".tmp
mv "$file".tmp "$file"
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Crosshair data point extraction - Query
Next Topic: !HELP_PATH ignored w/ IDL 3.1, VMS?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 00:40:07 PDT 2025

Total time taken to generate the page: 0.63968 seconds