diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/catc-ini.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/catc-ini.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/catc-ini.lua b/Master/texmf-dist/tex/context/base/catc-ini.lua index e1558b459a0..2749f403c9c 100644 --- a/Master/texmf-dist/tex/context/base/catc-ini.lua +++ b/Master/texmf-dist/tex/context/base/catc-ini.lua @@ -1,6 +1,6 @@ if not modules then modules = { } end modules ['catc-ini'] = { version = 1.001, - comment = "companion to catc-ini.tex", + comment = "companion to catc-ini.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" @@ -17,7 +17,12 @@ storage.register("catcodes/names", catcodes.names, "catcodes.names") function catcodes.register(name,number) catcodes.numbers[name] = number - catcodes.names[number] = name + local cnn = catcodes.names[number] + if cnn then + cnn[#cnn+1] = name + else + catcodes.names[number] = { name } + end tex[name] = number end |