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.
47 lines
1.9 KiB
EmacsLisp
47 lines
1.9 KiB
EmacsLisp
((nil . ((whitespace-action auto-cleanup)
|
|
(whitespace-style face empty trailing lines-tail)
|
|
(require-final-newline . t)
|
|
(mode . whitespace)))
|
|
(org-mode . ((whitespace-style face empty trailing)
|
|
(eval .
|
|
(progn
|
|
(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")))
|
|
(setenv "DYLD_LIBRARY_PATH"
|
|
(concat "@abs_top_builddir@/wrap/python/.libs:@abs_top_builddir@/src/.libs:@abs_top_builddir@/buddy/src/.libs:"
|
|
(getenv "DYLD_LIBRARY_PATH")))
|
|
(setenv "SPOT_DOTDEFAULT" "Brf(Lato)")
|
|
(setenv "SPOT_DOTEXTRA" "node[style=filled, fillcolor=\"#ffffa0\"] edge[arrowhead=vee, arrowsize=.7]")
|
|
(org-babel-do-load-languages 'org-babel-load-languages
|
|
'((sh . t)
|
|
(python . t)
|
|
(dot . t)
|
|
(C . t)))))
|
|
(org-confirm-babel-evaluate . nil)
|
|
(org-babel-python-command . "@PYTHON@")
|
|
(org-babel-C++-compiler . "./g++wrap")
|
|
(shell-file-name . "@SHELL@")
|
|
(org-publish-project-alist
|
|
. (("spot-html"
|
|
:base-directory "."
|
|
:base-extension "org"
|
|
:publishing-directory "../userdoc/"
|
|
:recursive t
|
|
:publishing-function org-publish-org-to-html
|
|
; Org 8
|
|
:html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
|
|
; Org 7
|
|
:style "<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
|
|
:auto-preamble t)
|
|
("spot-static"
|
|
:base-directory "."
|
|
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf"
|
|
:publishing-directory "../userdoc/"
|
|
:recursive t
|
|
:publishing-function org-publish-attachment)
|
|
("spot-all" :components ("spot-html" "spot-static")))))))
|