diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 06:15:22 +0200 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 06:15:22 +0200 |
commit | 87cccc4e07c9f2be79134e201b85ab0f552b14bc (patch) | |
tree | 24fb07f355c067967b28ca82090e30b745c64051 | |
parent | 46c64ac9b3bb3dab8bf4a1dc6039983171c73186 (diff) | |
download | luatexbase-87cccc4e07c9f2be79134e201b85ab0f552b14bc.tar.gz |
Fix attr (\luatebase@directlua expands in two steps).
-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}% |