summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/colors.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base/colors.opm')
-rw-r--r--macros/luatex/optex/base/colors.opm13
1 files changed, 7 insertions, 6 deletions
diff --git a/macros/luatex/optex/base/colors.opm b/macros/luatex/optex/base/colors.opm
index 2745e0fc51..eb57d0d9a8 100644
--- a/macros/luatex/optex/base/colors.opm
+++ b/macros/luatex/optex/base/colors.opm
@@ -74,15 +74,16 @@
\_doc -----------------------------
The \`\_setcolor` macro redefines empty `\_ensureblack` macro (used in
- output routine for headres and footers) to `\_ensureblackA` which sets
- Black at the start of its parameter and retunrs to the current color at the
- end of its parameter. The current color
- is saved into `\_currentcolor` macro and colorstack is pushed.
+ output routine for headers and footers) to `\_ensureblackA` which sets
+ Black at the start of its parameter and returns to the current color at the
+ end of its parameter.
+
+ The current color is saved into `\_currentcolor` macro and colorstack is pushed.
Finally, the `\_colorstackpop` is initialized by `\aftergroup` if
`\localcolor` is declared.
You can save current color to your macro by `\let\yourmacro=\_currentcolor`
- and you can return to this color by the command `\_setcmykcolor\yourmacro`.
+ and you can return to this color by the command `\_setcolor\yourmacro`.
\_cod -----------------------------
\_protected\_def \_setcolor #1{\_global\_let\_ensureblack=\_ensureblackA
@@ -111,7 +112,7 @@
can follow on next pages and their colors are independent on colors
used in the main page-body. The \`\_openfnotestack` is defined as
\`\_openfnotestackA` when the \^`\_setcolor` is used first.
- The \`\_fnotestack` is initializedin in `\everyjob` because the
+ The \`\_fnotestack` is initialized in in `\everyjob` because the
initialization is not saved to the format.
\_cod -----------------------------