blob: 8308204d5723118d28cabe8d5cb9cf228a4f7375 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
%D \module
%D [ file=luatex-basics,
%D version=2009.12.01,
%D title=\LUATEX\ Support Macros,
%D subtitle=Attribute Allocation,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright=public domain]
%D As soon as we feel the need this file will file will contain an extension
%D to the standard plain register allocation. For the moment we stick to a
%D rather dumb attribute allocator. We start at 256 because we don't want
%D any interference with the attributes used in the font handler.
\newcount \lastallocatedattribute \lastallocatedattribute=255
\def\newattribute#1%
{\global\advance\lastallocatedattribute 1
\attributedef#1\lastallocatedattribute}
\endinput
|