diff options
| author | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2013-03-12 21:21:02 +0100 | 
|---|---|---|
| committer | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2013-03-12 21:21:02 +0100 | 
| commit | 7a837554c4812a3bb605420fc711160faebd160c (patch) | |
| tree | 0fd60403c5fb0acc2452b0e8401773e2ad49a198 /mod/tex/context/third | |
| parent | c3e138a3d2f616e402f39b47078c604bece1078e (diff) | |
| download | context-rst-7a837554c4812a3bb605420fc711160faebd160c.tar.gz | |
robustify container directives
Diffstat (limited to 'mod/tex/context/third')
| -rw-r--r-- | mod/tex/context/third/rst/rst_directives.lua | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/tex/context/third/rst/rst_directives.lua b/mod/tex/context/third/rst/rst_directives.lua index 085d167..f18e7cf 100644 --- a/mod/tex/context/third/rst/rst_directives.lua +++ b/mod/tex/context/third/rst/rst_directives.lua @@ -305,7 +305,7 @@ rst_directives.container = function(data)      local inline_parser = rst_context.inline_parser      local name, content = stringstrip(data[1]), ""      if name == "" then -        name = "\\framed" +        name = "framed"      end      local tmp = { }      for i=2, #data do @@ -318,11 +318,11 @@ rst_directives.container = function(data)      return stringformat([[  \ifcsname %s\endcsname%%    \csname %s\endcsname%% +  {%s}%%  \else -  \relax +  {%s}%%  \fi -{%s}%% -]], name, name, content) +]], name, name, content, content)  end  -- vim:ft=lua:sw=4:ts=4:expandtab  | 
