summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx5
1 files changed, 4 insertions, 1 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index a1e5778..ff156c2 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -624,10 +624,13 @@ end
% \end{macrocode}
%
% The attributes are allocated here. The |otfl@| prefix is added to prevent
-% name collision.
+% name collision. The first attribute, |otfl@dummy|, is a dummy attribute
+% because \ConTeXt\ code expects attribute |0| not to be used, but
+% |\newluatexattribute| starts counting from zero.
%
% \begin{macrocode}
+\newluatexattribute\otfl@dummy
\newluatexattribute\otfl@state
\newluatexattribute\otfl@markbase
\newluatexattribute\otfl@markdone