Commit 09242d3f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: compatibility with org 8

* doc/org/ Add compatibility with org 8.
* NEWS: Mention it.
parent c7f98fd7
......@@ -16,6 +16,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
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 @@
(setq org-publish-project-alist
: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
,(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=\"\" />"
:auto-preamble t)
Supports Markdown
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