[Gsview] gsview run without install

Russell Lang gsview@ghostgum.com.au
Fri, 10 Jan 2003 20:45:20 +1100


Nagyon,

> I have the following problem: I downloaded the TeX Live CD,
> which is fine, and then I added to it several free (GPL or
> similar) programs, like FTE (GPL) text editor, recode.exe (GNU
> recode) (because I use cp852 and latin2 encodings too), and so
> on. They run from the CD without install, which is the most
> important feature for me. 
> 
> But I could not find how to get gsview to run from the CD
> without install, or any manual (gsdll.dll and include path)
> setup. 

I don't know how TeX Live has provided GSview, but it is 
possible to do this.

If GSview has been used, a gsview32.ini file will have been 
written to the user profile directory and this will used to 
locate Ghostscript.

If Ghostscript has been installed, then GSview will find it from 
a registry key.

If GSview has not been used, and ghostscript has not been 
installed, put GSview and Ghostscript in adjacent directories.
That is, the GSview executable in
\path\gsview\gsview32.exe
and ghostscript in
path\gs8.00\bin\gsdll32.dll
After exhausting all other avenues, GSview will try to find 
ghostscript in ..\gsN.NN\bin\gsdll32.dll

Russell Lang                   gsview@ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/