|
| !Run file for !Preview
| Edinburgh Software Products
| Copyright 1990 Graham Toal and Pieter `Tiggr' Schoenmakers
| Much improved 1991 by Ian Young.
|
Set File$Type_CE4 DVI-82
Set Alias$@RunType_CE4 Run <Obey$Dir> %%*0
IconSprites <Obey$Dir>.!Sprites
|
Set Preview$Dir <Obey$Dir>
|
If "<System$Path>" = "" Then Error 0 System resources can't be found
If "<TexFonts$Path>" = "" Then Error 0 Can't find the TeX fonts.  Make sure !TeX has been loaded.
|
RMEnsure SharedCLibrary 3.50 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 3.50 Error 0 You need C Library 3.50 or later (clib)
|
RMEnsure FPEmulator 0.00 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 0.00 Error 0 Can't find the Floating Point Emulator (fpemulator)
|
| we were using 2.50 -- official release is 2.44
RMEnsure FontManager 2.44 RMLoad System:Modules.Fonts
RMEnsure FontManager 2.44 Error 0 You need FontManager 2.44 or later (fonts)
|
| we were using 0.59 -- official release is 0.52
RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.52 Error 0 You need Colour Selector 0.52 or later (colours)
|
| we were using 0.06 -- official release is 0.04
RMEnsure SuperSample 0.04 RMLoad System:Modules.Super
RMEnsure SuperSample 0.04 Error 0 You need Super Sampler 0.04 or later (super)
|
Set PreviewFonts$Path <Obey$Dir>.TeXFonts.,<Obey$Dir>.LaTeXFonts.,<Obey$Dir>.AMSFonts.
|
WimpSlot -min 320k -max 320k
Run <Preview$Dir>.!RunImage %*0
