summaryrefslogtreecommitdiff
path: root/tex/context/base/lxml-ctx.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-06-04 21:00:27 +0300
committerMarius <mariausol@gmail.com>2013-06-04 21:00:27 +0300
commit7797fa57391b152760b12d6989c7d989a6d19da3 (patch)
treebbd5f8d8709139bcb481a973ee78346c61b39c26 /tex/context/base/lxml-ctx.lua
parent9a194c86a8d31ce7f07712961e5ec72023a00823 (diff)
downloadcontext-7797fa57391b152760b12d6989c7d989a6d19da3.tar.gz
beta 2013.06.04 19:42
Diffstat (limited to 'tex/context/base/lxml-ctx.lua')
-rw-r--r--tex/context/base/lxml-ctx.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/lxml-ctx.lua b/tex/context/base/lxml-ctx.lua
index 968dbda71..1191d6796 100644
--- a/tex/context/base/lxml-ctx.lua
+++ b/tex/context/base/lxml-ctx.lua
@@ -10,11 +10,13 @@ if not modules then modules = { } end modules ['lxml-ctx'] = {
local format, find = string.format, string.find
-local xml = xml
-
+local xml = xml
xml.ctx = { }
xml.ctx.enhancers = { }
+local context = context
+local commands = commands
+
-- hashen
function xml.ctx.enhancers.compound(root,lpath,before,tokens,after) -- todo lpeg