From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gez Subject: Publish project alist in org-mode 8 - confusing documentation Date: Thu, 6 Mar 2014 19:00:47 +0000 Message-ID: Reply-To: suleika@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e4c02b8837004f3f4c3c2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLdXu-0006VW-Li for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 14:01:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLdXt-0001CC-7c for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 14:01:30 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:40296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLdXt-0001C8-1u for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 14:01:29 -0500 Received: by mail-ob0-f170.google.com with SMTP id uz6so3022374obc.29 for ; Thu, 06 Mar 2014 11:01:28 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7b2e4c02b8837004f3f4c3c2 Content-Type: text/plain; charset=ISO-8859-1 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) --047d7b2e4c02b8837004f3f4c3c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Can someone give me some hints for how to set up a pu= blishing project in org-mode 8? =A0Am 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=A0

http://org= mode.org/worg/exporters/ox-overview.html

and even=A0


but since I'm not at all a power user I find = myself rather lost. =A0I generally rely on the customization browsers to do= most of my configuration. =A0I do sometimes edit .emacs manually but norma= lly closely following an example. I'd really like to set up a project b= ased on the worg tutorial at=A0


but I don't know where= to begin adapting it to the new export framework. =A0

For example, I'd be very grateful if someone could = "translate" the following (or something more simple) into org-mod= e 8 version, so I can start evaluating and playing with it.

(require 'org-publish)
(setq org-publish-proj= ect-alist
=A0 =A0 =A0 '(
("org-notes"
=A0:base-directory "~/org/"
=A0:base-extension &= quot;org"
=A0:publishing-directory "~/public_html/"
=A0:recu= rsive t
=A0:publishing-function org-publish-org-to-html
=A0:headline-levels 7=A0
=A0:auto-preamble t
=A0)
("org-static"
=A0:base-directory "~/org/"
=A0:base-extension &qu= ot;css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
=A0:p= ublishing-directory "~/public_html/"
=A0:recursive t
=A0:publishing-function org-publish-attachment
=A0)
(&q= uot;org" :components ("org-notes" "org-static"))
=A0 =A0 =A0 ))

Many thanks!
Gez
Org-mode version 8.2.5h (8.2.5h-30-gdd810b-elpa
GNU Emacs 24.3.1 (i= 386-mingw-nt6.2.9200)
--047d7b2e4c02b8837004f3f4c3c2--