%% %% This is file `test-attr-plain.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% luatexbase-attr.dtx (with options: `testplain') %% %% See the aforementioned source file(s) for copyright and licensing information. %% \input luatexbase-attr.sty \newluatexattribute\testattr \setluatexattribute\testattr{1} \ifnum\testattr=1 \else \ERROR \fi \unsetluatexattribute\testattr \ifnum\testattr<0 \else \ERROR \fi \catcode64 11 \luatexbase@directlua{assert(luatexbase.attributes.testattr)} \luatexbase@directlua{luatexbase.new_attribute('luatestattr')} \luatexbase@directlua{assert(luatexbase.attributes.luatestattr)} \begingroup \escapechar64 \newluatexattribute\anotherattr \endgroup \setluatexattribute\anotherattr{1} \luatexbase@directlua{assert(luatexbase.attributes.anotherattr)} \bye \endinput %% %% End of file `test-attr-plain.tex'.