From af128c93d64e2a4e49cb7e6a7eca569cf122d0da Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 28 Aug 2011 13:09:10 +0200 Subject: moved external parser to mtx script --- mod/tex/context/third/rst/rst_setups.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'mod/tex/context/third/rst/rst_setups.lua') diff --git a/mod/tex/context/third/rst/rst_setups.lua b/mod/tex/context/third/rst/rst_setups.lua index b7bda95..ee5b5a3 100644 --- a/mod/tex/context/third/rst/rst_setups.lua +++ b/mod/tex/context/third/rst/rst_setups.lua @@ -10,13 +10,10 @@ --local rst_directives = context and thirddata.rst_directives or require "rst_directives" local optional_setups = { } -local rst_directives -if context then - thirddata.rst_setups = optional_setups - rst_directives = thirddata.rst_directives -else - rst_directives = require "rst_directives" -end +thirddata.rst_setups = optional_setups +local rst_directives = thirddata.rst_directives +local rst_context = thirddata.rst + --rst_directives = require "rst_directives" function optional_setups.footnote_symbol () local setup = [[ -- cgit v1.2.3