The filter protex produces a LaTeX compatible document from a DAO Fortran source code with standard ProTeX prologues. If source files are not specified it reads from standard input; output is always to standard output.
protex is a perl [3] script which
ProTeX has several modes of operation, which is controlled by a corresponding command line option:
| Option | Meaning |
| -b | Bare mode: return raw LaTeX source (no preamble, etc.) |
| -n | Adds new pages at subsection boundaries |
| -l | Creates a listing for prologues only |
| -s | Shut-up: ignore all code from BOC to EOC |