emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgmode batch publishing failure
@ 2014-11-19 15:22 henry atting
  2014-11-19 16:24 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: henry atting @ 2014-11-19 15:22 UTC (permalink / raw)
  To: emacs-orgmode

org-mode version 8.3beta (release_8.3beta-581-g0e52f0)

After updating orgmode from git batch publishing does not work anymore,
the error message says:

Autoloading failed to define function time-add

The according part of Makefile

--8<---------------cut here---------------start------------->8---

sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish
	touch $(HOME)/misc/horg/ledger-queries.org
	emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish "org")'

--8<---------------cut here---------------end--------------->8---


.org_batch_publish

--8<---------------cut here---------------start------------->8---
  ;; -*- mode: emacs-lisp  -*-


(let* ((my-lisp-dir "~/dummy_layer/rechner/emacs+/")
       (default-directory my-lisp-dir)
       (orig-load-path load-path))
  (setq load-path (cons my-lisp-dir nil))
  (normal-top-level-add-subdirs-to-load-path)
  (nconc load-path orig-load-path))

(require 'org)
;;____________________________________________________________________setup


 (org-babel-do-load-languages 
	'org-babel-load-languages
				       '((emacs-lisp . t)
                                        (dot . t)
                                        (ditaa . t)
					(awk . t)
 					(ledger . t)
 					(python . t)
					(shell . t)
                                        (gnuplot . t)
                                        (latex . t)))
                          

;; I don't want to be prompted on every code block evaluation
(setq org-confirm-babel-evaluate nil)

 (setq 
 org-export-allow-BIND t
 org-export-creator-info nil
 org-html-creator-string ""
 org-html-date-format-string "%d/%m/%Y %R"
 org-html-postamble nil)


 (setq org-publish-project-alist
           '(("org"
              :base-directory "~/misc/horg/"
              :publishing-directory "~/misc/public"
              :section-numbers nil
;              :table-of-contents t
;              :html-preamble nil
	      :publishing-function org-html-publish-to-html
              :style "<link rel=\"stylesheet\" href=\"../.style.css\" type=\"text/css\"/>")
		("org-static"
		 :base-directory "~/misc/horg/"
                 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
                 :publishing-directory "~/misc/public/"
                 :recursive t
                 :publishing-function org-publish-attachment
 )
))


--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-19 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 15:22 orgmode batch publishing failure henry atting
2014-11-19 16:24 ` Nick Dokos
2014-11-19 19:21   ` henry atting

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).