diff options
Diffstat (limited to 'luatexbase-attr.dtx')
-rw-r--r-- | luatexbase-attr.dtx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index 1d66d5a..3d88b3a 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -278,9 +278,10 @@ See source file '\inFileName' for details. \allocationnumber\lltxb@attribute@alloc \global\luatexattributedef#1=\allocationnumber \unsetluatexattribute#1% - \begingroup\escapechar\m@ne \expandafter\endgroup + \begingroup\escapechar\m@ne \luatexbase@directlua{luatexbase.attributedef_from_tex( '\luatexluaescapestring{\string#1}', '\number\allocationnumber')}% + \endgroup \wlog{\string#1=\string\luatexattribute\the\allocationnumber}% \else \errmessage{No room for a new \string\attribute}% |