home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
t
/
tex
/
!dvips
/
!Run
< prev
next >
Wrap
Text File
|
1995-01-19
|
2KB
|
59 lines
|———————————————————————————————————————————————————————————————————————————
|
| The !Run file for David Bryan's port of dvips 5.55 [Arc 1.1] to work with
| Mark Sinke's armTeX 3.141, and specifically Robin Watts' distribution.
|
|———————————————————————————————————————————————————————————————————————————
| Load the icons.
IconSprites <Obey$Dir>.!Sprites
| Set file types.
Set File$Type_2AD VF
| Check to see if we can get all the files we might need.
If "<System$Path>" = "" Then Error 0 System resources cannot be found
If "<TeX$Dir>" = "" Then Error Make sure !TeX has been seen before you use !dvips.
If "<TeXFonts$Path>" = "" Then Error Make sure !TeXFonts has been seen before you use !dvips.
| Set environment variables for paths.
Set dvips$Dir <Obey$Dir>
Set TeXFonts$Cache <dvips$Dir>.Fonts.Cache
Set dvipsFonts$Path <TeXFonts$Cache>.
Set dvipsHeader$Path <dvips$Dir>.Resources.
Set dvips$Path <dvips$Dir>.Resources.
| Set environment variables for aliases.
Set Alias$afm2tfm "Run <dvips$Dir>.Library.afm2tfm "
Set Alias$dvips "Run <dvips$Dir>.Library.dvips "
Set Alias$MakePKs "Run <dvips$Dir>.Library.MakePKs "
Set Alias$MakeTeXPK "Run <dvips$Dir>.Library.MakeTeXPK "
| Organize a front end...
WimpSlot -Min 128k -Max 128k
RMEnsure FrontEnd 0 System:modules.frontend
RMEnsure Frontend 1.13 Error You need version 1.13 of the FrontEnd module to run !dvips
RMEnsure TaskWindow 0 System:modules.task
RMEnsure TaskWindow 0.29 Error You need version 0.29 of the TaskWindow module to run !dvips
RMEnsure DDEUtils 0 System:modules.ddeutils
RMEnsure DDEUtils 1.50 Error You need version 1.50 of the DDEUtils module to run !dvips
WimpSlot -Min 32k -Max 32k
| ...and away we go...
FrontEnd_Start -app dvips -desc <dvips$Dir>.Desc