.dir-locals.el.in 2.41 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
	      (eval .
		    (progn
8
		      (setenv "PATH"
9
			      (concat "@abs_top_builddir@/bin"
10 11
				      path-separator
				      (getenv "PATH")))
12
		      (setenv "PYTHONPATH"
13 14 15 16 17
			      (concat "@abs_top_builddir@/python/.libs:"
				      "@abs_top_builddir@/python:"
				      "@abs_top_srcdir@/python:"
				      "@abs_top_builddir@/python/spot/.libs:"
				      "@abs_top_builddir@/python/spot:"
18
				      "@abs_top_builddir@/spot/ltsmin/.libs"
19
				      "@abs_top_srcdir@/python/spot:"
20 21
				      (getenv "PYTHONPATH")))
		      (setenv "DYLD_LIBRARY_PATH"
22
			      (concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/src/.libs:"
23
				      (getenv "DYLD_LIBRARY_PATH")))
24 25
		      (setenv "SPOT_DOTDEFAULT" "Brf(Lato)C(#ffffa0)")
		      (setenv "SPOT_DOTEXTRA" "edge[arrowhead=vee, arrowsize=.7]")
26 27 28
		      (org-babel-do-load-languages 'org-babel-load-languages
						   '((sh . t)
						     (python . t)
29
                                                     (plantuml . t)
30 31
						     (dot . t)
						     (C . t)))))
32
              (org-plantuml-jar-path . "./plantuml.jar")
33
	      (org-confirm-babel-evaluate . nil)
34
	      (org-babel-python-command . "@PYTHON@")
35
	      (org-babel-C++-compiler . "./g++wrap")
36
	      (shell-file-name . "@SHELL@")
37
              (org-export-html-postamble . nil)
38 39 40 41 42 43
	      (org-publish-project-alist
	       . (("spot-html"
		   :base-directory "."
		   :base-extension "org"
		   :publishing-directory "../userdoc/"
		   :recursive t
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
44 45 46
		   :exclude "setup.org"
		   :auto-sitemap t
		   :sitemap-title "Sitemap for Spot"
47
		   :publishing-function org-publish-org-to-html
48
		   ; Org 8
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
49
		   :html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
50
		   ; Org 7
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
51
		   :style "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
52 53 54 55 56 57 58 59
		   :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")))))))