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 <hilum...@gmail.com> 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