emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* error when publishing
@ 2013-09-13 14:29 pw
  2013-09-13 15:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: pw @ 2013-09-13 14:29 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* error when publishing
@ 2013-09-13 13:55 pw
  0 siblings, 0 replies; 6+ messages in thread
From: pw @ 2013-09-13 13:55 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2013-09-13 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2013-09-13 13:55 pw

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