diff options
author | Marius <mariausol@gmail.com> | 2013-06-04 21:00:27 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-06-04 21:00:27 +0300 |
commit | 7797fa57391b152760b12d6989c7d989a6d19da3 (patch) | |
tree | bbd5f8d8709139bcb481a973ee78346c61b39c26 /tex/context/base/lxml-dir.lua | |
parent | 9a194c86a8d31ce7f07712961e5ec72023a00823 (diff) | |
download | context-7797fa57391b152760b12d6989c7d989a6d19da3.tar.gz |
beta 2013.06.04 19:42
Diffstat (limited to 'tex/context/base/lxml-dir.lua')
-rw-r--r-- | tex/context/base/lxml-dir.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tex/context/base/lxml-dir.lua b/tex/context/base/lxml-dir.lua index 3c68664ae..48c0ac41e 100644 --- a/tex/context/base/lxml-dir.lua +++ b/tex/context/base/lxml-dir.lua @@ -24,12 +24,13 @@ local formatters = string.formatters -- <directive attribute='cdx' value="*" element="cals:table" setup="cdx:cals:table:*"/> -- </directives> -local lxml, context = lxml, context +local lxml = lxml +local context = context -local getid = lxml.getid +local getid = lxml.getid -lxml.directives = lxml.directives or { } -local directives = lxml.directives +local directives = lxml.directives or { } +lxml.directives = directives local report_lxml = logs.reporter("xml","tex") @@ -106,9 +107,11 @@ directives.handle = handle_setup function directives.setup(root,attribute,element) handle_setup('setup',root,attribute,element) end + function directives.before(root,attribute,element) handle_setup('before',root,attribute,element) end + function directives.after(root,attribute,element) handle_setup('after',root,attribute,element) end |