emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] batch compiling problem


From: henry atting
Subject: [O] batch compiling problem
Date: Fri, 10 Jul 2015 17:34:46 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Hi,

as of recently I cannot convert org files to html on the commandline
(though converting flawlessly works within emacs).

Org-mode version 8.3beta (release_8.3beta-1274-gc76fef 

The error message is:

Symbol's value as variable is void: cl-struct-cl-structure-object-tags
Makefile:10: recipe for target 'sheet' failed
make: *** [sheet] Error 255

The according makefile recipe is:

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")'

And the batch file:

--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)
                                        (ledger . 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
 )
))



;(org-src-fontify-natively t)


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



henry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]