summaryrefslogtreecommitdiff
path: root/tex/context/base/type-ini.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
commit69d2352af4b60929b37fc49f3bdb263977016244 (patch)
treedb5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/type-ini.lua
parentc18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff)
downloadcontext-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz
stable 2012.05.30 11:26
Diffstat (limited to 'tex/context/base/type-ini.lua')
-rw-r--r--tex/context/base/type-ini.lua17
1 files changed, 7 insertions, 10 deletions
diff --git a/tex/context/base/type-ini.lua b/tex/context/base/type-ini.lua
index 758fb5683..4ce953168 100644
--- a/tex/context/base/type-ini.lua
+++ b/tex/context/base/type-ini.lua
@@ -8,8 +8,6 @@ if not modules then modules = { } end modules ['type-ini'] = {
-- more code will move here
-local commands, context = commands, context
-
local gsub = string.gsub
local report_typescripts = logs.reporter("fonts","typescripts")
@@ -17,14 +15,13 @@ local report_typescripts = logs.reporter("fonts","typescripts")
local patterns = { "type-imp-%s.mkiv", "type-imp-%s.tex", "type-%s.mkiv", "type-%s.tex" } -- this will be imp only
local function action(name,foundname)
- -- context.startreadingfile()
- -- context.pushendofline()
- -- context.unprotect()
- -- context.input(foundname)
- -- context.protect()
- -- context.popendofline()
- -- context.stopreadingfile()
- context.loadfoundtypescriptfile(foundname)
+ context.startreadingfile()
+ context.pushendofline()
+ context.unprotect()
+ context.input(foundname)
+ context.protect()
+ context.popendofline()
+ context.stopreadingfile()
end
local name_one, name_two