summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-05-21 12:36:20 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-05-21 12:36:20 +0200
commit51b74f32037c7380e1d3e4d91a972889930b64e9 (patch)
treef52ea6e0ee88bae1e926c9f5dc7d7069ab4ba087
parent6cc159bebdc47041ae122b11bd0725ac885a27e1 (diff)
downloadluatexbase-51b74f32037c7380e1d3e4d91a972889930b64e9.tar.gz
Fix \unsetluatexattribute.
-rw-r--r--luatexbase-attr.dtx12
1 files changed, 6 insertions, 6 deletions
diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx
index 03653b7..78602d3 100644
--- a/luatexbase-attr.dtx
+++ b/luatexbase-attr.dtx
@@ -113,7 +113,7 @@ See source file '\inFileName' for details.
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \pkdate{luatexbase-attr}{v0.3 2010-05-27}
+% \pkdate{luatexbase-attr}{v0.31 2011-05-21}
%
% \maketitle
%
@@ -234,7 +234,7 @@ See source file '\inFileName' for details.
\let\x\ProvidesPackage
\fi
\expandafter\endgroup
-\x{luatexbase-attr}[2010/10/10 v0.3 Attributes allocation for LuaTeX]
+\x{luatexbase-attr}[2011/05/21 v0.31 Attributes allocation for LuaTeX]
% \end{macrocode}
%
% Make sure \luatex is used.
@@ -324,10 +324,10 @@ See source file '\inFileName' for details.
%
% \begin{macrocode}
\def\unsetluatexattribute#1{%
- \begingroup\escapechar\m@ne
- \luatexbase@directlua{%
- luatexbase.unset_attribute("\luatexluaescapestring{\string#1}")}%
- \endgroup}
+ \begingroup\escapechar\m@ne \edef\x{\endgroup
+ \noexpand\luatexbase@directlua{%
+ luatexbase.unset_attribute("\luatexluaescapestring{\string#1}")}%
+ }\x}
% \end{macrocode}
%
% And now the trivial helper macro.