emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Still have some problem in org-publish-project


From: Ming Lu
Subject: Re: [O] Still have some problem in org-publish-project
Date: Mon, 20 Jan 2014 21:05:15 +0800

Sorry, the email display has some problem. Here is my publish setup:

(require 'org-publish)
(setq org-publish-project-alist
      '(
;;first, the notes component
("org-notes"
:base-directory "~/Documents/org/notes/"
:base-extension "org"
:publishing-directory "~/Documents/org/publish/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4             ; Just the default for this project.
:auto-preamble t
)
;;second,the static component
("org-static"
:base-directory "~/Documents/org/notes"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/Documents/org/publish/"
:recursive t
:publishing-function org-publish-attachment
)
;;third, the publish component
("org" :components ("org-notes" "org-static"))

      ))

Regards, 
  Ming


On Mon, Jan 20, 2014 at 9:02 PM, Ming Lu <address@hidden> wrote:
Dear All:
When I do org-publish-project command, the error message occurs like this:
>>>>Symbol' function definition is void: org-export-as-html

I just update my org-mode to the newest using: package-install org .
My .emacs file is very simple:

(add-to-list 'load-path "~/.emacs.d/lisp")                                      
;(add-to-list 'custom-theme-load-path "~/.emacs.d/lisp")                        
(require 'color-theme )                                                         
(color-theme-initialize)                                                        
(color-theme-arjen)                                                             
;set the souce code block to highlight.                                         
;(setq org-src-frontify-natively                                                
;(require 'org-install)


Also my publish setup is quite simple as in the manual:
****************************************************************************************************************






















****************************************************************************************************************
This still seems is an version conflict problem, but I am not sure. The thing is before upgrading, I can use org-mode 7.9.3f which is the emacs 24.3 default version.

Regards, Ming 


reply via email to

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