Commit 63708ddc authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: compatibility with org 8

* doc/org/init.el.in: Add compatibility with org 8.
* NEWS: Mention it.
parent 2fb436a1
......@@ -149,6 +149,10 @@ New in spot 1.2.5a (not yet released)
state labels.
- the acceptance specification in the HOA format output have been
adjusted to match recent changes in the format specifications.
- the build rules for documentation have been made compatible with
version 8.0 of Org-mode. (This was only a problem if you build
from the git repository, or if you want to edit the
documentation.)
New in spot 1.2.5 (2014-08-21)
......
;; htmlize is not always in the load-path. On Debian it can be found here.
(setq load-path (cons "/usr/share/emacs/site-lisp/emacs-goodies-el" load-path))
(require 'org-publish)
(or (require 'org-publish nil t) ; Org 7
(require 'ox-publish)) ; Org 8
(require 'org-install)
(print (concat "Org " (org-version)))
......@@ -29,12 +30,14 @@
</div>")
(setq org-publish-project-alist
'(("spot-html"
`(("spot-html"
:base-directory "@abs_top_srcdir@/doc/org/"
:base-extension "org"
:publishing-directory "@abs_top_srcdir@/doc/userdoc/"
:recursive t
:publishing-function org-publish-org-to-html
:publishing-function
,(if (require 'org-publish nil t) 'org-publish-org-to-html ; Org 7
'org-html-publish-to-html) ; Org 8
:style "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"syntax.css\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"http://spot.lip6.fr/css/spot-zenburn.css\" />"
:auto-preamble t)
("spot-static"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment