emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ming Lu <hiluming@gmail.com>
To: emacs-orgmode@gnu.org, hiluming+linux@gmail.com
Subject: Re: Still have some problem in org-publish-project
Date: Mon, 20 Jan 2014 21:05:15 +0800	[thread overview]
Message-ID: <CALoAKpcdDmsuRQF94h0JE_4+kNB=XTjO60SxQF6yqLVe_HFfkw@mail.gmail.com> (raw)
In-Reply-To: <CALoAKpcRvBYxE+xAk_0EreXJ2jYcdzbQ0nPTenConqS7D_7eqQ@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2014-01-20 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 13:02 Still have some problem in org-publish-project Ming Lu
2014-01-20 13:05 ` Ming Lu [this message]
2014-01-20 13:37   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALoAKpcdDmsuRQF94h0JE_4+kNB=XTjO60SxQF6yqLVe_HFfkw@mail.gmail.com' \
    --to=hiluming@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hiluming+linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).