From c3e138a3d2f616e402f39b47078c604bece1078e Mon Sep 17 00:00:00 2001
From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
Date: Tue, 12 Mar 2013 20:33:21 +0100
Subject: have containers default to \framed

---
 mod/tex/context/third/rst/rst_directives.lua | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'mod/tex/context/third')

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]
-- 
cgit v1.2.3