
Wrapper to process latex files and directories.

This application tries a number of methods to process its
arguments, assuming they are latex documents.

The algorithm is as follows:

- If the argument is a file:
  - Try to process it (in this order) with:
    - The contents of the LATEX environment variable
    - prv (CTAN/support/prv/)
    - latexmk (CTAN/support/latexmk/)
    - latex
  - If none of the above exist, fail.

- If the argument is a directory:
  - If there is a Makefile or makefile in the directory, process it
    with any of:
    - The value of the MAKE environment variable
    - make
    - gmake

    If a file called .makeargs or MakeArgs exists in either the target 
    directory or the application directory, use its contents as the
    arguments to make.

  - If there is no Makefile or no version of "make" is found, check if 
    there is a file called "main.tex". If there is, process it as the
    argument.
  - Otherwise, fail.


If you have any ideas for additional rules, or any other suggestions,
please let me know.

I'm looking for a better icon for this wrapper. If you have one that
you think would be good, send it to me!

Enjoy,
--Diego Zamboni
  zamboni@purdue.edu
