diff options
| author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-08-29 00:13:26 +0200 | 
|---|---|---|
| committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-08-29 00:13:26 +0200 | 
| commit | 03bf8d3228645891312069656b4e8ab74e56f5d3 (patch) | |
| tree | e2dd953e5b51486e5ad0a7fe5d3c20fab37f3a70 /mod/tex/context/third | |
| parent | c87b1eb960d7bb862a9fbb6a8c115d6a9ba34769 (diff) | |
| download | context-rst-03bf8d3228645891312069656b4e8ab74e56f5d3.tar.gz | |
workaround for unwilling contex() function
Diffstat (limited to 'mod/tex/context/third')
| -rw-r--r-- | mod/tex/context/third/rst/rst_parser.lua | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/tex/context/third/rst/rst_parser.lua b/mod/tex/context/third/rst/rst_parser.lua index c871fb6..19f0a10 100644 --- a/mod/tex/context/third/rst/rst_parser.lua +++ b/mod/tex/context/third/rst/rst_parser.lua @@ -1553,8 +1553,11 @@ function thirddata.rst.do_rst_inclusion (iname, fname)  end  function thirddata.rst.do_rst_setups () -    local out = table.concat(rst_incsetups ) -    context(out) +    local out = table.concat(rst_incsetups) +    --context(out) --- why doesn’t this work? +    local tmp_file = tex.jobname .. "–rst_setups.tex.tmp" +    save_file(tmp_file, out) +    context.input(tmp_file)  end  function thirddata.rst.get_rst_inclusion (iname)  | 
