org: add a new code example

This addresses on item of #14.

* doc/org/tut20.org: New file.
* doc/Makefile.am: Add it.
* doc/org/tut.org: Link to it.
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Fix some PATH
issues.
This commit is contained in:
Alexandre Duret-Lutz 2015-06-10 23:21:30 +02:00
parent 9f32021e0f
commit 60bd9dd606
5 changed files with 327 additions and 8 deletions

View file

@ -5,9 +5,10 @@
(org-mode . ((whitespace-style face empty trailing)
(eval .
(progn
(setq org-babel-sh-command (concat "PATH=../../src/bin"
path-separator
"$PATH sh"))
(setenv "PATH"
(concat "@abs_top_builddir@/src/bin"
path-separator
(getenv "PATH")))
(setenv "PYTHONPATH"
(concat "@abs_top_builddir@/wrap/python/.libs:@abs_top_builddir@/wrap/python:@abs_top_srcdir@/wrap/python:"
(getenv "PYTHONPATH")))
@ -22,8 +23,9 @@
(dot . t)
(C . t)))))
(org-confirm-babel-evaluate . nil)
(org-babel-python-command . "/usr/bin/python3")
(org-babel-python-command . "@PYTHON@")
(org-babel-C++-compiler . "./g++wrap")
(shell-file-name . "@SHELL@")
(org-publish-project-alist
. (("spot-html"
:base-directory "."