diff options
Diffstat (limited to 'tex/context/base')
-rw-r--r-- | tex/context/base/char-cjk.lua | 2 | ||||
-rw-r--r-- | tex/context/base/char-ini.lua | 22 | ||||
-rw-r--r-- | tex/context/base/cont-new.mkii | 2 | ||||
-rw-r--r-- | tex/context/base/cont-new.mkiv | 2 | ||||
-rw-r--r-- | tex/context/base/context.mkii | 2 | ||||
-rw-r--r-- | tex/context/base/context.mkiv | 2 | ||||
-rw-r--r-- | tex/context/base/lpdf-wid.lua | 2 | ||||
-rw-r--r-- | tex/context/base/sort-ini.lua | 2 | ||||
-rw-r--r-- | tex/context/base/status-files.pdf | bin | 23537 -> 23541 bytes | |||
-rw-r--r-- | tex/context/base/status-lua.pdf | bin | 154323 -> 154319 bytes |
10 files changed, 19 insertions, 17 deletions
diff --git a/tex/context/base/char-cjk.lua b/tex/context/base/char-cjk.lua index bc5fbafe2..5dc20ff74 100644 --- a/tex/context/base/char-cjk.lua +++ b/tex/context/base/char-cjk.lua @@ -232,6 +232,8 @@ local hangul_syllable_metatable = { if k == "fscode" then -- no need to cache this as we normally use fscodes return leadconsonant(u) + elseif k == "shcode" then + return { decomposed(u) } elseif k == "specials" then return { "char", decomposed(u) } elseif k == "description" then diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua index c85bb3f49..059332d51 100644 --- a/tex/context/base/char-ini.lua +++ b/tex/context/base/char-ini.lua @@ -698,32 +698,32 @@ end utf.string = utf.string or utfstring -characters.categories = allocate() local categories = characters.categories -- lazy table +local categories = allocate() characters.categories = categories -- lazy table setmetatableindex(categories, function(t,u) if u then local c = data[u] c = c and c.category or u t[u] = c return c end end) -characters.lccodes = allocate() local lccodes = characters.lccodes -- lazy table -characters.uccodes = allocate() local uccodes = characters.uccodes -- lazy table -characters.shcodes = allocate() local shcodes = characters.shcodes -- lazy table -characters.fscodes = allocate() local fscodes = characters.fscodes -- lazy table +local lccodes = allocate() characters.lccodes = lccodes -- lazy table +local uccodes = allocate() characters.uccodes = uccodes -- lazy table +local shcodes = allocate() characters.shcodes = shcodes -- lazy table +local fscodes = allocate() characters.fscodes = fscodes -- lazy table setmetatableindex(lccodes, function(t,u) if u then local c = data[u] c = c and c.lccode or (type(u) == "string" and utfbyte(u)) or u t[u] = c return c end end) setmetatableindex(uccodes, function(t,u) if u then local c = data[u] c = c and c.uccode or (type(u) == "string" and utfbyte(u)) or u t[u] = c return c end end) setmetatableindex(shcodes, function(t,u) if u then local c = data[u] c = c and c.shcode or (type(u) == "string" and utfbyte(u)) or u t[u] = c return c end end) setmetatableindex(fscodes, function(t,u) if u then local c = data[u] c = c and c.fscode or (type(u) == "string" and utfbyte(u)) or u t[u] = c return c end end) -characters.lcchars = allocate() local lcchars = characters.lcchars -- lazy table -characters.ucchars = allocate() local ucchars = characters.ucchars -- lazy table -characters.shchars = allocate() local shchars = characters.shchars -- lazy table -characters.fschars = allocate() local fschars = characters.fschars -- lazy table +local lcchars = allocate() characters.lcchars = lcchars -- lazy table +local ucchars = allocate() characters.ucchars = ucchars -- lazy table +local shchars = allocate() characters.shchars = shchars -- lazy table +local fschars = allocate() characters.fschars = fschars -- lazy table setmetatableindex(lcchars, function(t,u) if u then local c = data[u] c = c and c.lccode c = c and utfstring(c) or (type(u) == "number" and utfchar(u)) or u t[u] = c return c end end) setmetatableindex(ucchars, function(t,u) if u then local c = data[u] c = c and c.uccode c = c and utfstring(c) or (type(u) == "number" and utfchar(u)) or u t[u] = c return c end end) setmetatableindex(shchars, function(t,u) if u then local c = data[u] c = c and c.shcode c = c and utfstring(c) or (type(u) == "number" and utfchar(u)) or u t[u] = c return c end end) setmetatableindex(fschars, function(t,u) if u then local c = data[u] c = c and c.fscode c = c and utfstring(c) or (type(u) == "number" and utfchar(u)) or u t[u] = c return c end end) -characters.specialchars = allocate() local specialchars = characters.specialchars -- lazy table -characters.descriptions = allocate() local descriptions = characters.descriptions -- lazy table +local specialchars = allocate() characters.specialchars = specialchars -- lazy table +local descriptions = allocate() characters.descriptions = descriptions -- lazy table setmetatableindex(specialchars, function(t,u) if u then diff --git a/tex/context/base/cont-new.mkii b/tex/context/base/cont-new.mkii index dabf23b77..79e6dd052 100644 --- a/tex/context/base/cont-new.mkii +++ b/tex/context/base/cont-new.mkii @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2011.05.10 19:20} +\newcontextversion{2011.05.11 10:18} %D This file is loaded at runtime, thereby providing an %D excellent place for hacks, patches, extensions and new diff --git a/tex/context/base/cont-new.mkiv b/tex/context/base/cont-new.mkiv index f18429a55..5c1337a83 100644 --- a/tex/context/base/cont-new.mkiv +++ b/tex/context/base/cont-new.mkiv @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2011.05.10 19:20} +\newcontextversion{2011.05.11 10:18} %D This file is loaded at runtime, thereby providing an %D excellent place for hacks, patches, extensions and new diff --git a/tex/context/base/context.mkii b/tex/context/base/context.mkii index 5c71cd25b..8c5228e8f 100644 --- a/tex/context/base/context.mkii +++ b/tex/context/base/context.mkii @@ -20,7 +20,7 @@ %D your styles an modules. \edef\contextformat {\jobname} -\edef\contextversion{2011.05.10 19:20} +\edef\contextversion{2011.05.11 10:18} %D For those who want to use this: diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv index 4e616920d..06b564bb5 100644 --- a/tex/context/base/context.mkiv +++ b/tex/context/base/context.mkiv @@ -20,7 +20,7 @@ %D your styles an modules. \edef\contextformat {\jobname} -\edef\contextversion{2011.05.10 19:20} +\edef\contextversion{2011.05.11 10:18} %D For those who want to use this: diff --git a/tex/context/base/lpdf-wid.lua b/tex/context/base/lpdf-wid.lua index 5e4247003..d0247f49a 100644 --- a/tex/context/base/lpdf-wid.lua +++ b/tex/context/base/lpdf-wid.lua @@ -184,7 +184,7 @@ local function flushembeddedfiles() for tag, reference in next, filestreams do if not reference then report_attachment("unreferenced file: tag '%s'",tag) - elseif referenced[name] == "hidden" then + elseif referenced[tag] == "hidden" then e[#e+1] = pdfstring(tag) e[#e+1] = reference -- already a reference else diff --git a/tex/context/base/sort-ini.lua b/tex/context/base/sort-ini.lua index 4462ddb9c..12b5b49e0 100644 --- a/tex/context/base/sort-ini.lua +++ b/tex/context/base/sort-ini.lua @@ -223,7 +223,7 @@ local function preparetables(data) end end end - else + else -- we probably never enter this branch -- fschars returns a single char s = fschars[k] if s and s ~= k then diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf Binary files differindex 944fbabf4..196f218e7 100644 --- a/tex/context/base/status-files.pdf +++ b/tex/context/base/status-files.pdf diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf Binary files differindex 0b6881929..229ab2c5f 100644 --- a/tex/context/base/status-lua.pdf +++ b/tex/context/base/status-lua.pdf |