summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/rst_directives.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-08-28 13:09:10 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-08-28 13:09:10 +0200
commitaf128c93d64e2a4e49cb7e6a7eca569cf122d0da (patch)
tree8064390353ecdda74f847ac75750e769485efa7c /mod/tex/context/third/rst/rst_directives.lua
parenta7b6795708c093c5ce5f32fab79516feabd83171 (diff)
downloadcontext-rst-af128c93d64e2a4e49cb7e6a7eca569cf122d0da.tar.gz
moved external parser to mtx script
Diffstat (limited to 'mod/tex/context/third/rst/rst_directives.lua')
-rw-r--r--mod/tex/context/third/rst/rst_directives.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua
index a8a5eb7..7515a66 100644
--- a/mod/tex/context/third/rst/rst_directives.lua
+++ b/mod/tex/context/third/rst/rst_directives.lua
@@ -15,9 +15,8 @@ local helpers = helpers or thirddata and thirddata.rst_helpers
--------------------------------------------------------------------------------
local rst_directives = { }
-if context then
- thirddata.rst_directives = rst_directives
-end
+thirddata.rst_directives = rst_directives
+local rst_context = thirddata.rst
rst_directives.anonymous = 0
rst_directives.images = {}
@@ -258,4 +257,3 @@ rst_directives.replace = function(name, data)
]], name, data)
end
-return rst_directives