From: pw <pw@riseup.net>
To: emacs-orgmode@gnu.org
Subject: error when publishing
Date: Fri, 13 Sep 2013 16:29:28 +0200 [thread overview]
Message-ID: <52332148.5030302@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
next reply other threads:[~2013-09-13 14:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-13 14:29 pw [this message]
2013-09-13 15:26 ` error when publishing Nicolas Goaziou
2013-09-13 20:28 ` pw
2013-09-13 21:36 ` pw
2013-09-13 21:42 ` Nick Dokos
-- strict thread matches above, loose matches on Subject: below --
2013-09-13 13:55 pw
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52332148.5030302@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.