home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / text / edit / EdgeTexScripts.lha / scripts.doc < prev    next >
Encoding:
Text File  |  1995-04-14  |  2.4 KB  |  71 lines

  1. Here is a collection of ARexx scripts for use with the Edge text editor, and
  2. PasTeX.  They are not well commented, and I don't claim that they are
  3. particularly well written, so modifications may take a little bit of work on
  4. your part.  I also make no claims about them working for you.  They work for
  5. me, and that's what's important to me.  I'm uploading them because someone
  6. else might find them useful.  However, if you have a problem (or a 
  7. suggestion) let me know and I'll try to take a look at it.  If you make some
  8. modifications, please send me a copy of the changes.  Also, if you find any
  9. of these useful, let me know.
  10.  
  11. Todd Deery
  12.  
  13. email:    deery@hilda.mast.queensu.ca
  14.  
  15.  
  16. Requirements:
  17.     Edge   (I'm using version 1.711)
  18.     PasTeX (I'm using parts of 1.3 and 1.4 Beta.  Actually, any
  19.             implementation of TeX should work with minor modifications.)
  20.     TeXPrt (Version 2.00 works.  I tried a newer version, but it crashed and
  21.             I didn't want to fool around trying to get it to work, so I don't
  22.             make any guarantees about it.)
  23.  
  24.  
  25. Autotex.edge
  26.  
  27.     This script will attempt to start tex compiling the current file.  If
  28. the first line of the file is of the form:
  29.  
  30.     %formatname.fmt
  31.  
  32. then the script will use formatname as the correct format for the file.
  33. Otherwise it defaults to plain.fmt.  If the compilation is successful, then
  34. ShowDVI is called.  Otherwise the .log file is loaded, and you are put at the
  35. location of the first error.  This part will need to be modified to fit your
  36. screen size.  The coordinates work on my system.
  37.  
  38. The interaction with ShowDVI could use a lot of improvement.  In particular,
  39. no use of the ShowDVI ARexx port is made.
  40.  
  41. The script is relatively smart with filenames.  I've done extensive testing
  42. with many different names, and all I can say is it works with everything I've
  43. tried.
  44.  
  45.  
  46. view.edge
  47.  
  48.     View the .dvi file associated with the current file.  If changes have
  49. been made, or if the .dvi file does not exist, then autotex.edge is called.
  50.  
  51.  
  52. viewfile.edge
  53.  
  54.     View some other .dvi file.
  55.  
  56. print.edge
  57.  
  58.     Call TeXPrt to print the .dvi file associated to the current file.  If
  59. changes have been made, you are requested to compile it first.
  60.  
  61. printfile.edge
  62.  
  63.     Print another .dvi file.
  64.  
  65. nexterror.edge
  66.  
  67.     Load the .log file from a failed compile attempt (if it exists and is not
  68. already loaded).  Scan the file for the next error message and position the
  69. cursor at the correct line.
  70.  
  71.