summaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorPhilipp Gesang <gesang@stud.uni-heidelberg.de>2013-03-12 20:33:21 +0100
committerPhilipp Gesang <gesang@stud.uni-heidelberg.de>2013-03-12 20:33:21 +0100
commitc3e138a3d2f616e402f39b47078c604bece1078e (patch)
tree4309705dcc999d5ad94f6b75fdb80945fb43abfc /mod
parent49ebbc9a0de8e4b686039980595a82453dba5417 (diff)
downloadcontext-rst-c3e138a3d2f616e402f39b47078c604bece1078e.tar.gz
have containers default to \framed
Diffstat (limited to 'mod')
-rw-r--r--mod/tex/context/third/rst/rst_directives.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua
index 8e301b1..085d167 100644
--- a/mod/tex/context/third/rst/rst_directives.lua
+++ b/mod/tex/context/third/rst/rst_directives.lua
@@ -304,6 +304,9 @@ end
rst_directives.container = function(data)
local inline_parser = rst_context.inline_parser
local name, content = stringstrip(data[1]), ""
+ if name == "" then
+ name = "\\framed"
+ end
local tmp = { }
for i=2, #data do
tmp[#tmp+1] = data[i]