home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / dviview / !FontUpgrd / !Run
Text File  |  1995-02-11  |  847b  |  20 lines

  1. | !Run file for !FontUpgrd
  2. | Copyright Paul Field 1995
  3.  
  4. If "<TeXFonts$Version>" = "" Then Error 0 !TeXFonts has not been seen by the filer (or is a very old version - contact the author for an upgrade)
  5. If <TeXFonts$Version> = 201  Then Error 0 !TeXFonts has already been upgraded to version 2.01
  6. If <TeXFonts$Version> = 1 Then Error 0 You have v1.00 of !TeXFonts. Please contact the author for an upgrade.
  7. If <TeXFonts$Version> <> 2  Then Error 0 Incompatible version of !TeXFonts. Please contact the author for an upgrade.
  8.  
  9. | It’s upgrade time
  10.  
  11. | Unhook the v2.00 font directories
  12. fontremove <DVIFonts$Path>TeXFonts.
  13. fontremove <DVIFonts$Path>TeXFonts2.
  14. fontremove <DVIFonts$Path>LaTeXFonts.
  15.  
  16. rename DVIFonts:TeXFonts2 DVIFonts:NotRISCOS
  17. copy <Obey$Dir>.Upgrade DVIFonts: ~CF~NR~V
  18. run DVIFonts:!Boot
  19.  
  20. Echo Upgrade to v2.01 of !TeXfonts successful