From: Thomas Moyer <tommoyer@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Question about org-publish-project-alist
Date: Tue, 14 Apr 2015 08:51:57 -0400 [thread overview]
Message-ID: <CAJMnJ1UOGw5z7MD0ci9_-FM4De_-9rpQ0cw4xT98D69UefTiLQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
Is it possible (and I just have the wrong syntax) to do the following:
(defvar base-dir "~/Documents/org/")
(defvar pub-dir "~/Public/notes/")
(setq org-publish-project-alist '(
("org"
:base-directory base-dir
:base-extension "org"
:publishing-directory pub-dir
:recursive t
:publishing-function org-html-publish-to-html
:exclude "level-..org"
)
("static"
:base-directory base-dir
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory pub-dir
:recursive t
:publishing-function org-publish-attachment
)
("project-root" :components ("org" "static")))
)
When I have the above code and I call (org-publish-project "project-root"),
I get the following error.
Wrong type argument: stringp, base-dir
Thanks.
Tom
[-- Attachment #2: Type: text/html, Size: 1488 bytes --]
next reply other threads:[~2015-04-14 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 12:51 Thomas Moyer [this message]
2015-04-14 13:05 ` Question about org-publish-project-alist Marcin Borkowski
2015-04-14 13:10 ` Nick Dokos
2015-04-14 13:38 ` Feng Shu
2015-04-15 11:20 ` Thomas Moyer
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=CAJMnJ1UOGw5z7MD0ci9_-FM4De_-9rpQ0cw4xT98D69UefTiLQ@mail.gmail.com \
--to=tommoyer@gmail.com \
--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.