* Publishing not working: troubleshooting
@ 2010-03-25 15:32 Leo Ferres
2010-03-25 17:55 ` Bernt Hansen
2010-04-02 7:52 ` David Maus
0 siblings, 2 replies; 4+ messages in thread
From: Leo Ferres @ 2010-03-25 15:32 UTC (permalink / raw)
To: emacs-orgmode
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:myuser@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:myuser@myhost:~/public_html/"
:publishing-function org-publish-attachment)
("other"
:base-directory "~/org/courses/other/"
:base-extension "css\\|el\\|pdf"
:publishing-directory "/ssh:myuser@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Publishing not working: troubleshooting
2010-03-25 15:32 Publishing not working: troubleshooting Leo Ferres
@ 2010-03-25 17:55 ` Bernt Hansen
2010-03-25 18:07 ` Leo Ferres
2010-04-02 7:52 ` David Maus
1 sibling, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2010-03-25 17:55 UTC (permalink / raw)
To: Leo Ferres; +Cc: emacs-orgmode
Hi Leo,
My comments are inline below.
Leo Ferres <lferres@ccs.carleton.ca> writes:
> 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
Why do you require org-publish? Shouldn't you be setting up the regular
org environment? I don't have a require org-publish in my .emacs...
> (setq org-publish-project-alist
> '(("orgfiles"
> :base-directory "~/org/courses/"
> :base-extension "org"
> :publishing-directory "/ssh:myuser@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:myuser@myhost:~/public_html/"
> :publishing-function org-publish-attachment)
>
> ("other"
> :base-directory "~/org/courses/other/"
> :base-extension "css\\|el\\|pdf"
> :publishing-directory "/ssh:myuser@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?
I'm thinking you haven't done the standard org-mode setup with
(require 'org-install)
which sets up the keyboard mappings. What is C-c C-e mapped to for you?
C-c C-e is mapped to org-export for me.
-Bernt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Publishing not working: troubleshooting
2010-03-25 15:32 Publishing not working: troubleshooting Leo Ferres
2010-03-25 17:55 ` Bernt Hansen
@ 2010-04-02 7:52 ` David Maus
1 sibling, 0 replies; 4+ messages in thread
From: David Maus @ 2010-04-02 7:52 UTC (permalink / raw)
To: Leo Ferres; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]
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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-02 8:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25 15:32 Publishing not working: troubleshooting Leo Ferres
2010-03-25 17:55 ` Bernt Hansen
2010-03-25 18:07 ` Leo Ferres
2010-04-02 7:52 ` David Maus
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).