From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Subject: Re: Multiple publishing projects Date: Tue, 06 Oct 2009 19:19:28 +0200 Message-ID: <1254849568.10778.15.camel@beteigeuze> References: <67498229-DEEF-471D-A483-086079C66775@TSDYE.COM> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0520084276==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvDhL-000116-6m for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 13:19:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvDhG-0000sV-1X for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 13:19:38 -0400 Received: from [199.232.76.173] (port=33002 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvDhF-0000sJ-Tl for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 13:19:33 -0400 Received: from mail.gmx.net ([213.165.64.20]:39343) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MvDhF-0007DS-CE for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 13:19:33 -0400 In-Reply-To: <67498229-DEEF-471D-A483-086079C66775@TSDYE.COM> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org --===============0520084276== Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-7taa1/sBwNDlnz4771ll" --=-7taa1/sBwNDlnz4771ll Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Montag, den 05.10.2009, 20:33 -1000 schrieb Thomas S. Dye: > Aloha all, >=20 >=20 > 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 --=-7taa1/sBwNDlnz4771ll Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGKzCCAuQw ggJNoAMCAQICEEFoXLXNtaAH68hm8j/QT2EwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDEyNDE2MDgwN1oXDTA4MDEyNDE2MDgw N1owRzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEkMCIGCSqGSIb3DQEJARYVc2Vi YXN0aWFuX3Jvc2VAZ214LmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqQgSUPUj 9EElUJiwEeqNPZei6E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7//LvgBvTlSBRg5xdJSMB5uUWr0t4NfSFn8JnrItW7askbgNk4CQAy1R/g6w0Vnb AQvcEEwjUjQTCl9W9hCXGzTqFCA5e7XeCMnUYw0e2uSqJHMlQz9YefemjEWNhkXHzYrPbYE2xNMJ nbGGQOLQgi65Hk/1G6ywQvg+h2XNWc1Rdme4lc6L5B+W5U3lApr3h93XsX+tVrMvkC2KbHyI63PZ 66qwCa/PJQ0jvdKWW6fyFBr/rjs8zBeKmaPWJJ/SJLAmGwAAAAAAAA== --=-7taa1/sBwNDlnz4771ll-- --===============0520084276== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0520084276==--