summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/alloc.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base/alloc.opm')
-rw-r--r--macros/luatex/optex/base/alloc.opm16
1 files changed, 10 insertions, 6 deletions
diff --git a/macros/luatex/optex/base/alloc.opm b/macros/luatex/optex/base/alloc.opm
index 2272dd3861..9526a5d934 100644
--- a/macros/luatex/optex/base/alloc.opm
+++ b/macros/luatex/optex/base/alloc.opm
@@ -109,20 +109,24 @@
\_newdimen \tmpdim \_newdimen \_tmpdim
\_doc -----------------------------
- A few registers are initialized like in plain\TeX/. Note that `\z@skip` from
- plain\TeX/ is `\zoskip` here because we absolutely
- don't support the `@` category dance.
- The `\z@` and `\p@` is not defined because we can write 0pt or 1pt which is more
- legible in source code. You can see `plain-at.opm` file.
+ A few registers are initialized like in plain\TeX/. We absolutely
+ don't support the `@`category dance, so `\z@skip`
+ `\z@`, `\p@` etc. are not defined in \OpTeX/. If you need such
+ control sequences then you can initailaize them by `\load[plain-at]`.
+
+ Only the \`\_zo` and \`\_zoskip` (equivalents to `\z@` and `\z@skip`)
+ are declared here and used in some internal macros of \OpTeX/
+ for improving speed.
\_cod -----------------------------
\_newdimen\_maxdimen \_maxdimen=16383.99999pt % the largest legal <dimen>
+\_newdimen\_zo \_zo=0pt
\_newskip\_hideskip \_hideskip=-1000pt plus 1fill % negative but can grow
\_newskip\_centering \_centering=0pt plus 1000pt minus 1000pt
\_newskip\_zoskip \_zoskip=0pt plus0pt minus0pt
\_newbox\_voidbox % permanently void box register
-\_public \maxdimen \hideskip \centering \zoskip \voidbox ;
+\_public \maxdimen \hideskip \centering \voidbox ;
\_endcode %---------------------------------------------------