From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ming Lu Subject: Re: Still have some problem in org-publish-project Date: Mon, 20 Jan 2014 21:05:15 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0445178ff6568d04f0668a73 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5EXZ-00087U-5n for emacs-orgmode@gnu.org; Mon, 20 Jan 2014 08:05:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5EXU-00016A-9x for emacs-orgmode@gnu.org; Mon, 20 Jan 2014 08:05:21 -0500 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:59550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5EXU-000164-2u for emacs-orgmode@gnu.org; Mon, 20 Jan 2014 08:05:16 -0500 Received: by mail-oa0-f44.google.com with SMTP id g12so7577159oah.3 for ; Mon, 20 Jan 2014 05:05:15 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, hiluming+linux@gmail.com --f46d0445178ff6568d04f0668a73 Content-Type: text/plain; charset=ISO-8859-1 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 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 > --f46d0445178ff6568d04f0668a73 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry, the email display has some problem. Here is my publ= ish setup:

(require 'org-publish)
(se= tq org-publish-project-alist
=A0 =A0 =A0 '(
;;first= , the notes component
("org-notes&qu= ot;
:base-dir= ectory "~/Documents/org/notes/"
:base-extension "org"
:publishing-direct= ory "~/Documents/org/publish/"
:recursive t
:publishing-function org-publish-org-to-html<= /div>
:headline-levels 4= =A0 =A0 =A0 =A0 =A0 =A0 ; Just the default for this project.
:auto-preamble t
)
;;second,the static component
("org-static"
:base-directory "~/Documents/org/notes= "
:base-extension &q= uot;css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "= ;~/Documents/org/publish/"
:recursive t
=
:publishing-functi= on org-publish-attachment
)
;;third, the publish component
("org" :components ("org-notes" &= quot;org-static"))

=A0 =A0 =A0 ))
=

Regards,=A0
=A0 Ming


On Mon, Jan 20, 2014 at 9:02 PM, Mi= ng Lu <hiluming@gmail.com> wrote:
Dear All:
When I do org-publish-project command, the error m= essage 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") = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
;(add-to-list 'custom-theme-load-path "~/.emacs.d/= lisp") =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
(require 'color-theme ) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0<= /div>
(color-theme-initialize) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
(color-theme-arjen) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0<= /div>
;set the souce code block to highlight. =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0
;(setq org= -src-frontify-natively =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
;(require 'org-in= stall)


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





















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

Regards, Ming=A0

--f46d0445178ff6568d04f0668a73--