org.extex.ocpware
Class OutOcp

java.lang.Object
  extended by org.extex.ocpware.OutOcp

public final class OutOcp
extends java.lang.Object

This class provides a main program to print the contents of an ocp file.

The program takes as one argument the name of the ocp file and optionally one file as output file name.

   java org.extex.ocpware.Otp2ocp ⟨options⟩ ⟨file⟩ ⟨outfile
The outfile is optional and defaults to the input file with the suffix .otp deleted and .ocp appended.

The following options are recognized:

-extex
Use the output format native to ExTeX
-omega
Use an output format compatible to the one of 6Omega;
-omega2
Use an output format which is a reduced version of the one of 6Omega;

Version:
$Revision:6007 $
Author:
Gerd Neugebauer

Method Summary
static void main(java.lang.String[] args)
          This is the command line interface.
static int main(java.lang.String[] args, java.io.PrintStream out, java.io.PrintStream err)
          Process the command line options and return the exit code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
This is the command line interface.

Parameters:
args - the command line arguments

main

public static int main(java.lang.String[] args,
                       java.io.PrintStream out,
                       java.io.PrintStream err)
Process the command line options and return the exit code. As side effect an error message might be written to the error stream.

Parameters:
args - the command line arguments
out - the output stream
err - the error stream
Returns:
the exit code