summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-16 11:48:53 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-16 11:48:53 +0200
commite6bd7d618a4bad71f90cfa111cd56197eb366d13 (patch)
treef1a43135d2a3e0a6527039f7967f10d789b7c17c
parent2f229562fad26352a346f846d23d803818581197 (diff)
downloadluatexbase-e6bd7d618a4bad71f90cfa111cd56197eb366d13.tar.gz
add note to doc about attribute handling
-rw-r--r--luatexbase-attr.dtx9
1 files changed, 5 insertions, 4 deletions
diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx
index 86470b2..a3b2e46 100644
--- a/luatexbase-attr.dtx
+++ b/luatexbase-attr.dtx
@@ -351,10 +351,11 @@ module('luatexbase', package.seeall)
attributes = {}
% \end{macrocode}
%
-% The allocaton function. Unlike other registers, allocate starting from 1.
-% Some code (eg, font handling coming from Con\tex{}t) behaves strangely
-% with \verb+\attribute0+ and since there is plenty of room here, it
-% doesn't seem bad to ``loose'' one item in order to avoid this problem.
+% The allocation function. Unlike other registers, allocate starting from 255.
+% Some code (e.g., font handling coming from Con\tex{}t) behaves strangely
+% with \verb+\attribute0+. What is more the font loader allocates its own
+% attributes in the range from 127 to 254. Since there is plenty of room
+% here, it doesn't seem bad to skep a few items in order to avoid clashes.
%
% \begin{macrocode}
local last_alloc = 255