diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-28 20:27:55 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-28 20:27:55 +0200 |
commit | 167c1b6ba8310c4adc0275fab52e746711aadab5 (patch) | |
tree | f2d1d57a0f5e0cac8c8f9fdea3ba12a6b6805f90 | |
parent | 2ad4714697363925cb422b3747a598fcc540602b (diff) | |
download | luatexbase-167c1b6ba8310c4adc0275fab52e746711aadab5.tar.gz |
I had forgotten something...
-rw-r--r-- | luatexbase-attr.dtx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index be0a91c..ded08b3 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -363,10 +363,14 @@ attributes = {} % % \begin{macrocode} local luatex_sty_counter = 'LuT@AllocAttribute' -if tex.count[luatex_sty_counter] and tex.count[luatex_sty_counter] > -1 then - error("luatexbase error: attribute 0 has already been set by \newattribute" - .."macro from luatex.sty, not belonging to this package, this makes" - .."luaotfload unuseable. Please report to the maintainer of luatex.sty") +if tex.count[luatex_sty_counter] then + if tex.count[luatex_sty_counter] > -1 then + error("luatexbase error: attribute 0 has already been set by \newattribute" + .."macro from luatex.sty, not belonging to this package, this makes" + .."luaotfload unuseable. Please report to the maintainer of luatex.sty") + else + tex.count[luatex_sty_counter] = 0 + end end % \end{macrocode} % |