Using OmniMark V3

2. Running OmniMark

Detailed Table of Contents

Previous chapter is Chapter 1, "About This Manual".

Next chapter is Chapter 3, "OmniMark Error Messages".

This chapter focuses on the command-line for running OmniMark, specifying input and output files, and selecting processing options.

2.1 Command-Line Basics

The command-line for running OmniMark has the form:

omnimark arg1 arg2 ...

Each argi is an argument. Except when more than one input document is specified, the order of arguments is immaterial. There are three forms of arguments:

The possible arguments are itemized in Section 2.3, "OmniMark Command-Line Options".


2.2 Running an OmniMark Program

The command-line most frequently used for running OmniMark programs has the form:

omnimark input -source program -of output

where the arguments are:


2.3 OmniMark Command-Line Options

This section lists the options for OmniMark. Arguments can appear in any order on the command-line. Options can be entered in any case, but file names may be entered in any case only if your particular file system is case-insensitive.

The only argument that is not preceded by a control argument is the name of each input file. If no input file is specified, the input is read from the standard input.

If the -source and -save control arguments are both specified, there is no input file to process. Note: For MS-Windows systems, the concepts of standard input and standard output are not supported unless OmniMark is run from an MS-DOS window. Wherever OmniMark expects some input, due to the other options in the command-line, an input file must be explicitly specified. The standard output must be bound to a file by specifying either the -of or -os output options. Also, if the -log option is not given in this situation, error messages are written to the file xgml.out. The location of this file will vary with your particular Windows configuration.

The other possible control arguments are listed below in alphabetical order:


2.4 When to Use the save and load Options

You may find yourself in a position where you would like to make your OmniMark program available for others to use, but you would like to retain control and ownership of the source code. One method is to provide your users with the OmniMark program as a saved application rather than as a readable program.

The way to do this is by running the command-line:

omnimark -source program -save saved-application

You may then provide OmniMark users with a copy of the saved application and some instructions on how to run it. At a minimum, these instructions will tell them to run the command-line:

omnimark input-file -load saved-application other-options...

Note that the saved-application file is binary. You may not be able to transmit it by some electronic mail systems.

Also, OmniMark LE does not support the save and load options.

Next chapter is Chapter 3, "OmniMark Error Messages".

Copyright © 1997 Stilo Corporation All rights reserved.
EUM13, release 8, 1997/05/27.