summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/rst_directives.lua
diff options
context:
space:
mode:
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