org: fix rendering of R examples for recent ESS/Org
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Newer ESS version need to be taught to use default-directory instead of the project directory. * doc/org/ltlcross.org: Use "result file" to render the output.
This commit is contained in:
parent
a146457ea1
commit
dcd4759896
3 changed files with 8 additions and 4 deletions
|
|
@ -27,6 +27,9 @@
|
|||
(setenv "SPOT_DOTEXTRA" "node[fontsize=12] fontsize=12 stylesheet=\"spot.css\" edge[arrowhead=vee, arrowsize=.7, fontsize=12]")
|
||||
(setq org-babel-temporary-directory "@abs_top_builddir@/doc/org/tmp")
|
||||
(make-directory org-babel-temporary-directory t)
|
||||
; has to be set globally, not buffer-local
|
||||
(setq ess-ask-for-ess-directory nil)
|
||||
(setq ess-startup-directory 'default-directory)
|
||||
(org-babel-do-load-languages 'org-babel-load-languages
|
||||
`((,(if (version< org-version "8.3") 'sh 'shell) . t)
|
||||
(python . t)
|
||||
|
|
@ -39,7 +42,6 @@
|
|||
(org-babel-python-command . "@PYTHON@")
|
||||
(org-babel-C++-compiler . "./g++wrap")
|
||||
(shell-file-name . "@SHELL@")
|
||||
(ess-ask-for-ess-directory . nil)
|
||||
(org-export-html-postamble . nil)
|
||||
(org-html-table-header-tags
|
||||
"<th scope=\"%s\"%s><div><span>" . "</span></div></th>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue