From e6bd7d618a4bad71f90cfa111cd56197eb366d13 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 16 Apr 2013 11:48:53 +0200 Subject: add note to doc about attribute handling --- luatexbase-attr.dtx | 9 +++++---- 1 file 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 -- cgit v1.2.3