emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Still have some problem in org-publish-project
@ 2014-01-20 13:02 Ming Lu
  2014-01-20 13:05 ` Ming Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Ming Lu @ 2014-01-20 13:02 UTC (permalink / raw)
  To: emacs-orgmode, hiluming+linux

[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1926 bytes --]

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

* Re: Still have some problem in org-publish-project
  2014-01-20 13:02 Still have some problem in org-publish-project Ming Lu
@ 2014-01-20 13:05 ` Ming Lu
  2014-01-20 13:37   ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Ming Lu @ 2014-01-20 13:05 UTC (permalink / raw)
  To: emacs-orgmode, hiluming+linux

[-- Attachment #1: Type: text/plain, Size: 2724 bytes --]

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 <hiluming@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
>

[-- Attachment #2: Type: text/html, Size: 4370 bytes --]

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

* Re: Still have some problem in org-publish-project
  2014-01-20 13:05 ` Ming Lu
@ 2014-01-20 13:37   ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2014-01-20 13:37 UTC (permalink / raw)
  To: emacs-orgmode

Ming Lu <hiluming@gmail.com> writes:

> 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
                       ^^^^^^^^^^^^^^^^^^^^^^^

This does not exist in org-mode 8 - see 

   http://orgmode.org/worg/org-8.0.html

-- 
Nick

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

end of thread, other threads:[~2014-01-20 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 13:02 Still have some problem in org-publish-project Ming Lu
2014-01-20 13:05 ` Ming Lu
2014-01-20 13:37   ` Nick Dokos

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