home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
latexutl.zip
/
readme
< prev
next >
Wrap
Text File
|
1994-07-26
|
4KB
|
81 lines
Readme file for LATEXUTL.ZIP
These programs were created by:
Myron Uecker
Graduate Student
Colorado School of Mines
muecker@mines.colorado.edu
July 26, 1994
--------------------------------INTRODUCTION-----------------------------------
This zip file contains two small REXX utility programs I wrote for EMTeX
and LaTeX. Neither program does any error checking. They are described below.
-----------------------------STANDARD DISCLAIMER-------------------------------
Permission to use, copy and distribute this software and its documentation
for any purpose and without charging more than a nominal fee for copying is
hereby granted, provided that the above copyright notice appear in all copies
and that both that copyright notice and this permission notice appear in
supporting documentation. This software is provided "as is" without express
or implied warranty.
The user may modify both RUNLATEX.CMD and PICFMT.CMD for their own use.
----------------------------------RUNLATEX-------------------------------------
RUNLATEX.CMD is a utility to simplify processing LaTeX files. To use the
program, you need to replace the print statement with a call to your own
preferred printer driver. Simply copy the code directly from the cmd file you
use to print LaTeX files.
Note: RUNLATEX is currently set to print to a HP DeskJet printer. Remove the
/od parameter if using a LaserJet printer.
RUNLATEX comes with several options that can be set from the command line.
I suggest creating program objects for each of the different ways that you
will call RUNLATEX. For example, one call may be to view the file, another
to print.
The parameters accepted by RUNLATEX are as follows:
FILE:x where x is the name of the file to be processed. Do not
type the .TEX extension.
NPASS:x the number of times to call LaTeX. Most of the time you
will only need to call it once, so this is the default if
you do not specify this parameter.
VIEW:x where x is YES if you want to call dvipm to view the output
or NO if do no want to view the output.
The default is YES.
PRINT:x where x is YES if you want to print the output, or NO if
you do not.
The default is NO.
PRINTPARAMS:x Anything included after this parameter is sent directly
to the printer driver.
Note: This must be the last parameter given.
----------------------------------PICFMT.CMD-----------------------------------
PICFMT.CMD is a rexx script for reformatting picture files created by
Georg Horn's TeXcad, but may also be used for files created using other
methods as well.
When TeXcad creates a picture file, it places the picture exactly where
you drew it on screen. This sometimes results in large amounts of extra
spacing to the left and bottom of the picture. PICFMT will remove the extra
spaces by adjusting the margins of the picture to 0. This gives the user
more control over the placement of the picture in the document.
To use PICFMT, simply type PICFMT x where x is the name of the file to be
reformatted. If no filename is given on the command line, PICFMT will prompt
for one. PICFMT assumes that the picture file has the extension .PIC and
will output a reformatted picture with the extension .CIP. This can easily
be changed by editing PICFMT.CMD and changing iext to the input extension and
oext to the output extension.
Now include the .CIP file in your LaTeX document.
IMPORTANT NOTE: PICFMT assumes that any .CIP file was created by PICFMT. Any
such file will be erased when PICFMT is run.