summaryrefslogtreecommitdiff
path: root/macros/optex/base/doc.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-12 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2022-03-12 03:00:45 +0000
commit0c73359c915c22297090c6c23c5ac23a8ec9603e (patch)
tree71530d469eba822bbed05346a76335bd276a602d /macros/optex/base/doc.opm
parentdc086771e418d7c66a541d2831b468375c5f7090 (diff)
CTAN sync 202203120300
Diffstat (limited to 'macros/optex/base/doc.opm')
-rw-r--r--macros/optex/base/doc.opm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/optex/base/doc.opm b/macros/optex/base/doc.opm
index cb2b976e7c..82c6bde8c6 100644
--- a/macros/optex/base/doc.opm
+++ b/macros/optex/base/doc.opm
@@ -253,7 +253,7 @@
The \^`\printdoc` `<filename><space>` and \^`\printdoctail` `<filename><space>`
commands are defined after the file `doc.opm` is load by \^`\load`~`[doc]`.
-The `\printcoc` starts reading of given `<filename>` from the second line.
+The `\printdoc` starts reading of given `<filename>` from the second line.
The file is read in {\em the listing mode}.
The `\prindoctail` starts reading given `<filename>` from the
first occurrence of the `\_endcode`. The file is read
@@ -263,7 +263,7 @@ The {\em listing mode} prints the lines as a listing of a code. This mode is
finished when first {\visiblesp` \_doc`} occurs or first `\_endcode`
occurs. At least two spaces or one tab
character must precede before such `\_doc`. On the other
-hand, the `\_encode` must be at the left edge of the line without spaces.
+hand, the `\_endcode` must be at the left edge of the line without spaces.
If this rule is not met then the listing mode continues.
If the first line or the last line of the listing mode is empty then such