Open dotemacs opened 6 years ago
Same here:
I was getting the same error message. With help from Sacha Chua I found org-mind-map-write in ox.el. After evaluating the function in scratch the command org-mind-map-write worked fine. After putting (require 'ox) before (require 'org) in my .emacs file it works properly.
Thanks @gazzatav
Thanks @gazzatav
For spacemacs:
(defun username/init-org-mind-map ()
(require 'ox)
(use-package org-mind-map
:after org
:config
(setq org-mind-map-engine "dot") ; default; Directed Graph
;; (setq org-mind-map-engine "neato") ; Undirected Spring Graph"
;; (setq org-mind-map-engine "twopi") ; Radial Layout"
;; (setq org-mind-map-engine "circo") ; Circular Layout"
;; (setq org-mind-map-engine "fdp") ; Undirected Spring Force-Directed"
))
Thanks @gazzatav
For spacemacs:
(defun username/init-org-mind-map () (require 'ox) (use-package org-mind-map :after org :config (setq org-mind-map-engine "dot") ; default; Directed Graph ;; (setq org-mind-map-engine "neato") ; Undirected Spring Graph" ;; (setq org-mind-map-engine "twopi") ; Radial Layout" ;; (setq org-mind-map-engine "circo") ; Circular Layout" ;; (setq org-mind-map-engine "fdp") ; Undirected Spring Force-Directed" ))
Thanks! By the way, this function throws
Cannot use unknown "org" back-end as a parent
error in my case. And, according to https://github.com/theodorewiles/org-mind-map/issues/22#issuecomment-397415455, adding
(require 'ox-org) (require 'org-mind-map)
before
use-package org-mind-map
solves it.
Hello @theodorewiles
thanks for this package.
I just tried it and got an error:
byte-code: Symbol’s function definition is void: org-export-define-derived-backend
I copied the example
org
file from the README and ran M-x org-mind-map-write on the file, only to get the above error.My setup:
OS: macOS 10.13.3 M-x version: GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0, Carbon Version 157 AppKit 1404.47) of 2017-11-14
The executable
dot
is available in the PATH, I can access it in eshell.Installed
org-mind-map
via MELPA:Thanks