Suggested in #299. * doc/org/autfilt.org, doc/org/concepts.org, doc/org/dstar2tgba.org, doc/org/genaut.org, doc/org/hierarchy.org, doc/org/hoa.org, doc/org/ltl2tgba.org, doc/org/ltl2tgta.org, doc/org/ltlcross.org, doc/org/oaut.org, doc/org/randaut.org, doc/org/satmin.org, doc/org/tut11.org, doc/org/tut23.org, doc/org/tut24.org, doc/org/tut30.org, doc/org/tut31.org, doc/org/tut50.org, doc/org/tut51.org: Adjust all dot outputs to produce svg. * doc/org/arch.tex, doc/org/hierarchy.tex, doc/org/satmin.tex: Adjust to produce a pdf with 12pt text. * doc/Makefile.am: Adjust the generation of arch.svg, hierarchy.svg, and satmin.svg: From above. * doc/org/.dir-locals.el.in, doc/org/init.el.in: Adjust dot arguments to produce svg with 12pt text (the default was 14pt). * doc/org/spot.css: Use Lato as the main font for consistency with automata. * HACKING: pdf2svg is now required to build the doc.
69 lines
3.2 KiB
EmacsLisp
69 lines
3.2 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
|
|
(require 'org-version)
|
|
(setenv "PATH"
|
|
(concat "@abs_top_builddir@/bin"
|
|
path-separator
|
|
(getenv "PATH")))
|
|
(setenv "PYTHONPATH"
|
|
(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:"
|
|
"@abs_top_builddir@/spot/ltsmin/.libs"
|
|
"@abs_top_srcdir@/python/spot:"
|
|
(getenv "PYTHONPATH")))
|
|
(setenv "DYLD_LIBRARY_PATH"
|
|
(concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/src/.libs:"
|
|
(getenv "DYLD_LIBRARY_PATH")))
|
|
(setenv "SPOT_DOTDEFAULT" "Brf(Lato)C(#ffffa0)")
|
|
(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)
|
|
(org-babel-do-load-languages 'org-babel-load-languages
|
|
`((,(if (version< org-version "8.3") 'sh 'shell) . t)
|
|
(python . t)
|
|
(plantuml . t)
|
|
(dot . t)
|
|
(C . t)))))
|
|
(org-confirm-babel-evaluate . nil)
|
|
(org-plantuml-jar-path . "@abs_top_builddir@/doc/org/plantuml.jar")
|
|
(org-babel-python-command . "@PYTHON@")
|
|
(org-babel-C++-compiler . "./g++wrap")
|
|
(shell-file-name . "@SHELL@")
|
|
(org-export-html-postamble . nil)
|
|
(org-babel-default-header-args:plantuml
|
|
. ((:results . "file")
|
|
(:exports . "results")
|
|
; Prevent the plantuml logo to annoying appear on
|
|
; top of whatever you are doing when the project
|
|
; compiles in the background.
|
|
(:java . "-Djava.awt.headless=true")))
|
|
(org-publish-project-alist
|
|
. (("spot-html"
|
|
:base-directory "."
|
|
:base-extension "org"
|
|
:publishing-directory "../userdoc/"
|
|
:recursive t
|
|
:exclude "setup.org"
|
|
:auto-sitemap t
|
|
:sitemap-title "Sitemap for Spot"
|
|
:publishing-function org-publish-org-to-html
|
|
; Org 8
|
|
:html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
|
|
; Org 7
|
|
:style "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
|
|
:auto-preamble t)
|
|
("spot-static"
|
|
:base-directory "."
|
|
:base-extension "css\\|js\\|png\\|svg\\|jpg\\|gif\\|pdf"
|
|
:publishing-directory "../userdoc/"
|
|
:recursive t
|
|
:publishing-function org-publish-attachment)
|
|
("spot-all" :components ("spot-html" "spot-static")))))))
|