From: Bernt Hansen <bernt@norang.ca>
To: Leo Ferres <lferres@ccs.carleton.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Publishing not working: troubleshooting
Date: Thu, 25 Mar 2010 13:55:13 -0400 [thread overview]
Message-ID: <87r5n8i8vy.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <eebeff41003250832h1349e64fg3969434336e7c4c8@mail.gmail.com> (Leo Ferres's message of "Thu\, 25 Mar 2010 12\:32\:31 -0300")
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
next prev parent reply other threads:[~2010-03-25 17:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-25 15:32 Publishing not working: troubleshooting Leo Ferres
2010-03-25 17:55 ` Bernt Hansen [this message]
2010-03-25 18:07 ` Leo Ferres
2010-04-02 7:52 ` David Maus
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=87r5n8i8vy.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=lferres@ccs.carleton.ca \
/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.