summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/rst_context.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tex/context/third/rst/rst_context.lua')
-rw-r--r--mod/tex/context/third/rst/rst_context.lua13
1 files changed, 4 insertions, 9 deletions
diff --git a/mod/tex/context/third/rst/rst_context.lua b/mod/tex/context/third/rst/rst_context.lua
index 846b507..5d35906 100644
--- a/mod/tex/context/third/rst/rst_context.lua
+++ b/mod/tex/context/third/rst/rst_context.lua
@@ -1,10 +1,9 @@
#!/usr/bin/env texlua
--------------------------------------------------------------------------------
-- FILE: rst_context.lua
--- USAGE: ./rst_context.lua
+-- USAGE: called by rst_parser.lua
-- AUTHOR: Philipp Gesang (Phg), <megas.kapaneus@gmail.com>
--- VERSION: 1.0
--- CREATED: 31/08/10 19:35:15 CEST
+-- CREATED: 2011-05-04 17:42:04+0200
--------------------------------------------------------------------------------
--
--- TODO
@@ -15,12 +14,8 @@
-- good.
---local helpers
-if not context then
- require "lpeg"
- helpers = require "rst_helpers"
- rst_directives = require "rst_directives"
-end
+local helpers = helpers or thirddata and thirddata.rst_helpers
+local rst_directives = rst_directives or thirddata and thirddata.rst_directives
local utf = unicode.utf8