From: Gez <suleika@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Publish project alist in org-mode 8 - confusing documentation
Date: Thu, 6 Mar 2014 19:00:47 +0000 [thread overview]
Message-ID: <CAPQe_Uo0yQozKBFa89ULs6Jx25AcdMBiPUKHcQhCuw+iBbPC-Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]
Can someone give me some hints for how to set up a publishing project in
org-mode 8? Am I right in thinking that I can't use easy customization to
set up a publish project alist?
I've been reading various links such as
http://orgmode.org/worg/exporters/ox-overview.html
http://orgmode.org/worg/org-8.0.html
and even
http://orgmode.org/worg/exporters/ox-docstrings.html and
http://orgmode.org/worg/exporters/org-element-docstrings.html
but since I'm not at all a power user I find myself rather lost. I
generally rely on the customization browsers to do most of my
configuration. I do sometimes edit .emacs manually but normally closely
following an example. I'd really like to set up a project based on the worg
tutorial at
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
but I don't know where to begin adapting it to the new export framework.
For example, I'd be very grateful if someone could "translate" the
following (or something more simple) into org-mode 8 version, so I can
start evaluating and playing with it.
(require 'org-publish)
(setq org-publish-project-alist
'(
("org-notes"
:base-directory "~/org/"
:base-extension "org"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 7
:auto-preamble t
)
("org-static"
:base-directory "~/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-publish-attachment
)
("org" :components ("org-notes" "org-static"))
))
Many thanks!
Gez
Org-mode version 8.2.5h (8.2.5h-30-gdd810b-elpa
GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
[-- Attachment #2: Type: text/html, Size: 2780 bytes --]
next reply other threads:[~2014-03-06 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 19:00 Gez [this message]
2014-03-06 20:56 ` Publish project alist in org-mode 8 - confusing documentation Richard Lawrence
2014-03-07 18:21 ` Gez
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPQe_Uo0yQozKBFa89ULs6Jx25AcdMBiPUKHcQhCuw+iBbPC-Q@mail.gmail.com \
--to=suleika@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 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).