summaryrefslogtreecommitdiff
path: root/mod/tex
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tex')
-rw-r--r--mod/tex/context/third/rst/rst_directives.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua
index 6af0ce4..bb1534a 100644
--- a/mod/tex/context/third/rst/rst_directives.lua
+++ b/mod/tex/context/third/rst/rst_directives.lua
@@ -227,10 +227,9 @@ rst_directives.ctx = function(name, data)
local ctx = string.format([[
\startbuffer[%s]
-%s
-\stopbuffer
+%s\stopbuffer
\def\RSTsubstitution%s{%%
- \getbuffer[%s]
+ \getbuffer[%s]%%
}
]], name, data, name, name)
return ctx