Prev | Next | running |
omhelp
root_file
-noframe
[ -debug
]
[ -xml
]
[ -printable
]
[ -nowarn
]
[ -image_link
image_link
]
[ -image_file
image_file
]
[ -favicon
favicon
]
[ -site
name
]
[ -omhelp
dir
]
omhelp
command starts OMhelp from a DOS or Unix prompt.
This creates a web site from the OMhelp input files are
described in this manual.
It is suggested that you run OMhelp in an empty directory
so that the only files in that directory will
be those generated by OMhelp.
This suggestion is made because
OMhelp will create a large number of output files
that correspond to the web site.
tag.ext
corresponds to the section which has
tag
as its
cross reference tag
.
Here
ext
is htm
,
unless the xml
command line option is specified
in which case it is xml
.
index.html
is special to browsers because
it is loaded when the corresponding directory,
but not a specific file, is specified.
OMhelp automatically generates a file with this name that loads the
section corresponding to the argument
root_file
.
root_file
specifies the
file that contains the root section for the web site; i.e.,
the section at the root of the table of contents.
This file can contain only one begin
command
because the tree can have only one section at its root.
Other input files can be included using the
contents
, childtable
, and children
commands.
It is recommended that you run OMhelp in a different directory
than the location of the starting input file (see Program Execution above).
If you insist on running OMhelp in the directory containing the file
specified by
root_file
,
place ./
or .\
at the beginning of
root_file
.
-noframe
argument always be present (not be optional).
This overrides the normal behavior of the fend
command.
If it is not present, OMhelp puts the automatically generated navigation links
in a frame to the left of the user generated information.
In addition, the user can divide the right side into separate frames.
-debug
is present,
extra output that aids in the debugging OMhelp input files is generated.
This includes the following:
local.wrd
.
In this case, see
the spelling list instructions for installing under
Unix
or
Windows
.
-xml
is present,
an XHTML version of the web site is built
(otherwise an HTML version is built).
In this case the output files have the .xml
extension
(otherwise they have the .htm
extension).
This generates
*.xml
files that display the latex
using
XHTML and MathML
(see
Chapter 7
of
MathML
).
-printable
is present,
a printable version of the web site is output as just one file
The name of the file is _printable.htm
(_printable.xml
if the -xml
is present).
In the printable file, each
section
title
and
heading
is labeled with an identifier
so that it can be located by its position in the output file.
These position identifies are included in the
linking text for each
cross reference
so that the target of the reference can be located by
its position in the output file.
The printable output file does not contain the OMhelp search section
because printed output is not interactive.
Thus, if you are using the printable option, the
cross reference tag _search
will not be defined.
You can see the printable version of the OMhelp documentation
by selecting _printable.htm
()
.
The -printable
command overrides the normal behavior of the
fend
command.
-nowarn
command line option.
-image_link
is present, the argument
image_link
must follow it.
In this case, the image
is placed at the
top of the links for each section
(
-image_file image_file
can be used to specify your own image,
which should be about the same size as the default image).
If
image_link
is equal to the empty string (""
),
the image does not link to anything.
Otherwise,
image_link
specifies a
world wide web address (URL) that is linked to when the
image is selected.
_image.gif
) is distributed with OMhelp.
If the command line argument -image_file
is present,
the argument
image_file
must follow.
In this case,
the default image is replaced by
image_file
,
which should be about the same size as the default image.
The text
image_file
can either a
complete path specification
or relative
to the directory containing the file specified by
root_file
.
Note that the directories specified by the path
commands
are not searched for the file specified by
image_file
.
-favicon
is present,
the argument
favicon
must follow.
In this case,
favicon
should be a 16 by 16 pixel icon
and the file extension .png
(you can use the Microsoft Paint program to create and store such an icon).
The text
favicon
can either a
complete path specification
or relative
to the directory containing the file specified by
root_file
.
Note that the directories specified by the path
commands
are not searched for the file specified by
favicon
.
The -favicon
command line option was used when building the
OMhelp web documentation.
If you view this
documentaiton
,
you should see the icon
at the left of the address bar in your browser.
(This icon corresponds to the file omh/image/help_icon.png
in the OMhelp distribution.)
This works well in Firefox, but there currently seem to be some problems with
Internet Explorer
.
-site
is present,
the argument
name
must follow.
In this case
name
specifies the name of the
web site being built.
This name is currently used in the title for the web site
search
utility.
It may have other uses in the future.
-omhelp_dir
is present,
the argument
dir
must follow.
In this case
dir
specifies the
directory where the OMhelp data is stored;
for example, the files english.wrd
and local.wrd
.
This is intended for testing during installation
and should not be necessary during normal use.