Re: [Orgmode] Publishing not working: troubleshooting

2010-04-02 Thread David Maus
Leo Ferres wrote:
When I attempt to publish the project with C-c C-e X, and I choose
courses, absolutely nothing happens. There's not even a message that
appears. I therefore don't know how to troubleshoot this by myself.
Could anyone help?

Okay, so if you can select courses than this must mean that the
project definition was picked up by the require.

I would approach this problem as follows:

  - check the :exclude property -- maybe the regexp is wrong and
matches all files;

  - remove the timestamps in ~/.org-timestamps -- maybe org-publish
doesn't publish because it considers the files not to be modified;

  - set the publishing directory to a local path (i.e.: simplify the
project to find the glitch)

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpomtq9nRChI.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Publishing not working: troubleshooting

2010-03-25 Thread Leo Ferres
Hello,

I was wondering if anyone could help me with this. I guess this
question has been asked before, but I couldn't find an answer.
Apologies.

The setting:

I have a require entry in my .emacs that reads:

(require 'dervin-org-projects)

and a file dervin-org-projects.el that reads:

(require 'org-publish) ;; I've tried without this as well
(setq org-publish-project-alist
  '((orgfiles
 :base-directory ~/org/courses/
 :base-extension org
 :publishing-directory /ssh:myu...@myhost:~/public_html/
 :recursive t
 :publishing-function org-publish-org-to-html
 :exclude PrivatePage.org ;; regexp
 :headline-levels 3
 :section-numbers t
 :table-of-contents nil
 :auto-preamble t
 :auto-postamble nil)

(images
 :base-directory ~/org/courses/images
 :base-extension jpg\\|gif\\|png
 :publishing-directory /ssh:myu...@myhost:~/public_html/
 :publishing-function org-publish-attachment)

(other
 :base-directory ~/org/courses/other/
 :base-extension css\\|el\\|pdf
 :publishing-directory /ssh:myu...@myhost:~/public_html/
 :publishing-function org-publish-attachment)
(courses :components (orgfiles images other

(provide 'dervin-org-projects)

When I attempt to publish the project with C-c C-e X, and I choose
courses, absolutely nothing happens. There's not even a message that
appears. I therefore don't know how to troubleshoot this by myself.
Could anyone help?

Thank you and best regards,

Dervin


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode