Introduction
The verbatim
command
enables one to include all of part of a text file.
This avoids having to maintain a separate copy of
the corresponding information in the documentation.
(For example, the output of a program which might change over time.)
verbatim_example.omh
Use an editor of your choice to
create the file verbatim_example.omh
in the
test directory
with the following contents:
$begin
verbatim_example$$
$spell
dat
$$
$section Example Inclusion of Text File Information$$
$head Contents of verbatim_example.dat$$
$verbatim%verbatim_example.dat%5%$$
$head Just Program Output$$
$fixed
$verbatim%verbatim_example.dat%5%PROGRAM OUTPUT%$$
$$
$head Just Input Parameters$$
$code
$verbatim%verbatim_example.dat%5%INPUT PARAMETERS%PROGRAM OUTPUT%$$
$$
$end
Note that you can copy and paste the commands above
to your editor window.
You may just copy the file with the same name from the
getting started directory
.