emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pw <pw@riseup.net>
To: emacs-orgmode@gnu.org
Subject: error when publishing
Date: Fri, 13 Sep 2013 15:55:16 +0200	[thread overview]
Message-ID: <52331944.2000608@riseup.net> (raw)

Hi,

With org-mode 8.0.7 (emacs 23.4.1), I have some problems to publish a 
project.

I have this error : "Publishing file /home/xxx/site/org/index.org using 
`org-publish-org-to-html'
find-buffer-visiting: Wrong type argument: stringp, (:base-directory 
"~/site/org/" :base-extension "org" :publishing-directory 
"~/site/public_html/" :recursive t :publishing-function 
org-publish-org-to-html ...)"

I also had once this error : "org-publish-file: Symbol's function 
definition is void: org-publish-org-to-html"

I have this code into my .emacs :
-----------------------------
;; org-mode publishing
(require 'org-publish)
(setq org-publish-project-alist
       '(("org-notes"
      :base-directory "~/site/org/"
      :base-extension "org"
      :publishing-directory "~/site/public_html/"
      :recursive t
      :publishing-function org-publish-org-to-html
      :section-numbers nil
      :table-of-contents nil
      :export-creator-info nil
      :export-author-info nil
      :auto-preamble t
      )
     ("org-static"
      :base-directory "~/site/org/"
      :base-extension "css\\|js\\|png\\|jpg\\|pdf\\|mp3\\|ogg"
      :publishing-directory "~/site/public_html/"
      :recursive t
      :publishing-function org-publish-attachment
      )
     ("site" :components ("org-notes" "org-static"))))
-------------------------------

Any ideas ?

pw

             reply	other threads:[~2013-09-13 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 13:55 pw [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-13 14:29 error when publishing pw
2013-09-13 15:26 ` Nicolas Goaziou
2013-09-13 20:28   ` pw
2013-09-13 21:36     ` pw
2013-09-13 21:42     ` 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=52331944.2000608@riseup.net \
    --to=pw@riseup.net \
    --cc=emacs-orgmode@gnu.org \
    /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).