summaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-05-08 17:33:08 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-05-08 17:33:08 +0200
commit31fccbd58d3f91979d1f44e83fc2d109b403928a (patch)
tree8032633cfee2e2d6f19581db7f2d1de1169646dd /mod
parent3f33e70656de07a55c014276a23814d1dd968229 (diff)
downloadcontext-rst-31fccbd58d3f91979d1f44e83fc2d109b403928a.tar.gz
improved README.rst
Diffstat (limited to 'mod')
-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