summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/t-rst.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tex/context/third/rst/t-rst.mkiv')
-rw-r--r--mod/tex/context/third/rst/t-rst.mkiv5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/tex/context/third/rst/t-rst.mkiv b/mod/tex/context/third/rst/t-rst.mkiv
index f514b57..e76d3db 100644
--- a/mod/tex/context/third/rst/t-rst.mkiv
+++ b/mod/tex/context/third/rst/t-rst.mkiv
@@ -30,11 +30,12 @@
parent=RST,
]
-\setupreST[ ]
-
%D Loading the reStructuredText parser.
\ctxlua{environment.loadluafile("rst_parser")}
+%D Setting some globals.
+\setupreST [ ]
+
%D This command loads and processes the \type{*.rst} file.
\def\typesetRSTfile#1{\ctxlua{do_rst_file("#1")}}