From: Thomas Moyer <tommoyer@gmail.com>
To: Feng Shu <tumashu@163.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question about org-publish-project-alist
Date: Wed, 15 Apr 2015 07:20:43 -0400 [thread overview]
Message-ID: <CAJMnJ1VyA6VkNHayqcWqRgnAorchcSvq4aUAChhj0H37vPFzzw@mail.gmail.com> (raw)
In-Reply-To: <87618ylthz.fsf@163.com>
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
That was what finally worked. Thanks!
Tom
On Apr 14, 2015 9:49 AM, "Feng Shu" <tumashu@163.com> wrote:
>
>
> (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"))))
>
> --
>
>
>
[-- Attachment #2: Type: text/html, Size: 1334 bytes --]
prev parent reply other threads:[~2015-04-15 11:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 12:51 Question about org-publish-project-alist Thomas Moyer
2015-04-14 13:05 ` Marcin Borkowski
2015-04-14 13:10 ` Nick Dokos
2015-04-14 13:38 ` Feng Shu
2015-04-15 11:20 ` Thomas Moyer [this message]
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=CAJMnJ1VyA6VkNHayqcWqRgnAorchcSvq4aUAChhj0H37vPFzzw@mail.gmail.com \
--to=tommoyer@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tumashu@163.com \
/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.