diff options
author | Marius <mariausol@gmail.com> | 2011-03-25 19:20:25 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-03-25 19:20:25 +0200 |
commit | 1455dd60b68c9140db1b9977c9e5ce372b772ec8 (patch) | |
tree | d2b7060a4d9891966a056dcf143ef20d43390561 /tex/context/base/cldf-int.lua | |
parent | 2a9554684f61df8db63dec6d4e874f49b25a212b (diff) | |
download | context-1455dd60b68c9140db1b9977c9e5ce372b772ec8.tar.gz |
beta 2011.03.25 18:03
Diffstat (limited to 'tex/context/base/cldf-int.lua')
-rw-r--r-- | tex/context/base/cldf-int.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/cldf-int.lua b/tex/context/base/cldf-int.lua index e2fff18dc..4e2e7b0e6 100644 --- a/tex/context/base/cldf-int.lua +++ b/tex/context/base/cldf-int.lua @@ -75,8 +75,8 @@ function mkiv.define(name,specification) -- name is optional texsprint(ctxcatcodes,"\\def",mkivdo) for i=1,na do local a = arguments[i] - local kind = a[1] - if kind == "option" then + local variant = a[1] + if variant == "option" then texsprint(ctxcatcodes,"[#",i,"]") if not done then opt = opt + 1 @@ -93,12 +93,12 @@ function mkiv.define(name,specification) -- name is optional end for i=1,na do local a = arguments[i] - local kind = a[2] - if kind == "list" then + local variant = a[2] + if variant == "list" then texsprint(ctxcatcodes,",mkiv.a([[#",i,"]])") - elseif kind == "hash" then + elseif variant == "hash" then texsprint(ctxcatcodes,",mkiv.h([[#",i,"]])") - elseif kind == "number" then + elseif variant == "number" then texsprint(ctxcatcodes,",mkiv.n([[#",i,"]])") else texsprint(ctxcatcodes,",[[#",i,"]]") |