home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / latexutl.zip / readme < prev    next >
Text File  |  1994-07-26  |  4KB  |  81 lines

  1. Readme file for LATEXUTL.ZIP
  2.  
  3. These programs were created by:
  4.  
  5.     Myron Uecker
  6.     Graduate Student
  7.     Colorado School of Mines
  8.     muecker@mines.colorado.edu
  9.  
  10.     July 26, 1994
  11. --------------------------------INTRODUCTION-----------------------------------
  12.  
  13.     This zip file contains two small REXX utility programs I wrote for EMTeX
  14. and LaTeX.  Neither program does any error checking.  They are described below.
  15.  
  16. -----------------------------STANDARD DISCLAIMER-------------------------------
  17.  
  18.     Permission to use, copy and distribute this software and its documentation
  19. for any purpose and without charging more than a nominal fee for copying is
  20. hereby granted, provided that the above copyright notice appear in all copies
  21. and that both that copyright notice and this permission notice appear in
  22. supporting documentation.  This software is provided "as is" without express
  23. or implied warranty.
  24.  
  25.     The user may modify both RUNLATEX.CMD and PICFMT.CMD for their own use.  
  26.  
  27. ----------------------------------RUNLATEX-------------------------------------
  28.  
  29.     RUNLATEX.CMD is a utility to simplify processing LaTeX files.  To use the
  30. program, you need to replace the print statement with a call to your own
  31. preferred printer driver.  Simply copy the code directly from the cmd file you
  32. use to print LaTeX files.
  33. Note:  RUNLATEX is currently set to print to a HP DeskJet printer.  Remove the
  34.        /od parameter if using a LaserJet printer.
  35.  
  36.     RUNLATEX comes with several options that can be set from the command line.
  37. I suggest creating program objects for each of the different ways that you
  38. will call RUNLATEX.  For example, one call may be to view the file, another
  39. to print.
  40.  
  41.     The parameters accepted by RUNLATEX are as follows:
  42.  
  43.     FILE:x          where x is the name of the file to be processed.  Do not 
  44.                     type the .TEX extension.
  45.     NPASS:x         the number of times to call LaTeX.  Most of the time you 
  46.                     will only need to call it once, so this is the default if 
  47.                     you do not specify this parameter.
  48.     VIEW:x          where x is YES if you want to call dvipm to view the output
  49.                     or NO if do no want to view the output.
  50.                     The default is YES.
  51.     PRINT:x         where x is YES if you want to print the output, or NO if 
  52.                     you do not.
  53.                     The default is NO.
  54.     PRINTPARAMS:x   Anything included after this parameter is sent directly
  55.                     to the printer driver.  
  56.                     Note:  This must be the last parameter given.
  57.  
  58. ----------------------------------PICFMT.CMD-----------------------------------
  59.  
  60.     PICFMT.CMD is a rexx script for reformatting picture files created by
  61. Georg Horn's TeXcad, but may also be used for files created using other
  62. methods as well.
  63.  
  64.     When TeXcad creates a picture file, it places the picture exactly where
  65. you drew it on screen.  This sometimes results in large amounts of extra
  66. spacing to the left and bottom of the picture.  PICFMT will remove the extra
  67. spaces by adjusting the margins of the picture to 0.  This gives the user 
  68. more control over the placement of the picture in the document.
  69.  
  70.     To use PICFMT, simply type PICFMT x where x is the name of the file to be
  71. reformatted.  If no filename is given on the command line, PICFMT will prompt
  72. for one.  PICFMT assumes that the picture file has the extension .PIC and
  73. will output a reformatted picture with the extension .CIP.  This can easily
  74. be changed by editing PICFMT.CMD and changing iext to the input extension and
  75. oext to the output extension.
  76.  
  77.     Now include the .CIP file in your LaTeX document.
  78.  
  79. IMPORTANT NOTE:  PICFMT assumes that any .CIP file was created by PICFMT.  Any
  80. such file will be erased when PICFMT is run.
  81.