summaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorPhilipp Gesang <gesang@stud.uni-heidelberg.de>2013-03-12 17:13:27 +0100
committerPhilipp Gesang <gesang@stud.uni-heidelberg.de>2013-03-12 17:13:27 +0100
commit4c8419ab61e06bfcc639cb731d9837d1159b5800 (patch)
tree3eb0252a0c31fc1088bb04a1ad576288b5b526f2 /mod
parent09dd07bcc2397ff03460d5e89f8125456c29e025 (diff)
downloadcontext-rst-4c8419ab61e06bfcc639cb731d9837d1159b5800.tar.gz
remove comment-to-eol from \\startbuffer statements
Diffstat (limited to 'mod')
-rw-r--r--mod/tex/context/third/rst/rst_directives.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua
index 78b184c..9ece1db 100644
--- a/mod/tex/context/third/rst/rst_directives.lua
+++ b/mod/tex/context/third/rst/rst_directives.lua
@@ -21,7 +21,7 @@ local rst_context = thirddata.rst
local stringstrip = string.strip
local stringformat = string.format
-rst_directives.anonymous = 0
+rst_directives.anonymous = 0
rst_directives.images = {}
rst_directives.images.done = {}
rst_directives.images.values = {}
@@ -232,7 +232,7 @@ end
rst_directives.ctx = function(name, data)
local ctx = stringformat([[
-\startbuffer[%s]%%
+\startbuffer[%s]
%s\stopbuffer
\def\RSTsubstitution%s{%%
\getbuffer[%s]\removeunwantedspaces%%
@@ -244,7 +244,7 @@ end
rst_directives.lua = function(name, data)
local luacode = stringformat([[
-\startbuffer[%s]%%
+\startbuffer[%s]
\startluacode
%s
\stopluacode