emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian <sebastian_rose@gmx.de>
To: "Thomas S. Dye" <tsd@TSDYE.COM>
Cc: emacs-orgmode@gnu.org
Subject: Re: Multiple publishing projects
Date: Tue, 06 Oct 2009 19:19:28 +0200	[thread overview]
Message-ID: <1254849568.10778.15.camel@beteigeuze> (raw)
In-Reply-To: <67498229-DEEF-471D-A483-086079C66775@TSDYE.COM>


[-- Attachment #1.1: Type: text/plain, Size: 1870 bytes --]

Am Montag, den 05.10.2009, 20:33 -1000 schrieb Thomas S. Dye:
> Aloha all,
> 
> 
> Apologies in advance if the answer to this query is obvious.  I've
> looked through the documentation but can't find how to specify
> multiple publishing projects.  There are examples of simple projects
> and projects with multiple components, but no example that I can find
> of a specification for multiple projects.  I'm guessing this has to do
> with org-publish-project-alist, and that my rudimentary LISP
> comprehension prevents me from seeing the simple answer.    I've set
> up one publishing project that works fine.  I just can't figure out
> how to add a second one.


`org-publish-projects-alist' is a list of projects.


(setq org-publish-project-alist
      '(

	;; Place all projects here

       )



There are two different kinds of such projects.

The first kind of project is a real project definition.
This is an example of such a real project:

        ("worg-notes"
         :base-directory "~/org/Worg/"
         :auto-index nil ; generate index.org automagically
         :recursive t
         :base-extension "org"
         :publishing-directory "~/develop/htdocs/worg/"
         :publishing-function org-publish-org-to-html
         :headline-levels 3
         :auto-preamble t  )


The other kind of project is a compound project. A compound project
consists entirely of projects itself (besides it's own name):


        ("worg" :components ("worg-notes" "worg-static"))


Those compound projects exist for convenience. In this example, you
can simply export the `worg' project, which in turn will trigger the
publishing of `worg-notes' and `worg-static'.



You may place an arbitrary number of real and compound projects in
`org-publish-projects-alist'.




Best wishes

    Sebastian




[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2149 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2009-10-06 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06  6:33 Multiple publishing projects Thomas S. Dye
2009-10-06 10:05 ` Ian Barton
2009-10-06 17:24   ` Thomas S. Dye
2009-10-06 17:19 ` Sebastian [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

  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=1254849568.10778.15.camel@beteigeuze \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@TSDYE.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 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).