.dir-locals.el 1.39 KB
Newer Older
1
2
3
4
5
((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)
6
7
8
9
10
	      (eval .
		    (progn
		      (setq org-babel-sh-command (concat "PATH=../../src/bin"
							 path-separator
							 "$PATH sh"))
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
11
		      (setenv "SPOT_DOTDEFAULT" "Brf(Lato)")
12
		      (setenv "SPOT_DOTEXTRA" "node[style=filled, fillcolor=\"#ffffa0\"] edge[arrowhead=vee, arrowsize=.7]")
13
14
15
16
17
18
		      (org-babel-do-load-languages 'org-babel-load-languages
						   '((sh . t)
						     (python . t)
						     (dot . t)))))
	      (org-confirm-babel-evaluate . nil)
	      (org-babel-python-command . "/usr/bin/python3")
19
20
21
22
23
24
25
	      (org-publish-project-alist
	       . (("spot-html"
		   :base-directory "."
		   :base-extension "org"
		   :publishing-directory "../userdoc/"
		   :recursive t
		   :publishing-function org-publish-org-to-html
26
27
28
29
		   ; 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\" />"
30
31
32
33
34
35
36
37
		   :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")))))))