From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Nested exports - Exporting a "sub.org" file while exporting "main.org" Date: Tue, 14 Sep 2010 20:58:11 +0200 Message-ID: <4C8FC5C3.9010106@gmail.com> References: <4C8F5DD4.3080108@gmail.com> <87y6b42t5e.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvaoZ-0000BB-4a for emacs-orgmode@gnu.org; Tue, 14 Sep 2010 15:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ovahr-0002WS-84 for emacs-orgmode@gnu.org; Tue, 14 Sep 2010 14:58:17 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46733) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ovahr-0002WH-3w for emacs-orgmode@gnu.org; Tue, 14 Sep 2010 14:58:15 -0400 Received: by wyb36 with SMTP id 36so9142132wyb.0 for ; Tue, 14 Sep 2010 11:58:14 -0700 (PDT) In-Reply-To: <87y6b42t5e.fsf@gmx.de> 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: Sebastian Rose Cc: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/09/10 18:21, Sebastian Rose wrote: > Rainer M Krug writes: >> Hi >> >> I want to export a subdocument (sub.org) while exporting a main document >> (main.org), but I am getting an >> "Args out of range: 0,0" >> error message after the sub.org document is exported. >> >> Am I doing something wrong or is it not possible to have nested exports? > > Hi Rainer, > > > in Org mode you would rather set up a special publishing project for > such a task: > > (setq org-publish-project-alist > '(("main-and-sub" > :base-directory "~/org/" > :auto-sitemap nil ; NO sitemap for this project !! > :recursive t > :base-extension "org" > :publishing-directory "~/public_html/org/" > :publishing-function org-publish-org-to-html > ) > ("one-more-project" > ;;... > ))) > > See also: > > http://orgmode.org/manual/Publishing.html#Publishing > > This describes my publishing setup: > > http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php Hi Sebastian yes - I guess that is exactly what I am looking for. Thanks a lot, Rainer > > > > > Best wishes > > Sebastian - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyPxcMACgkQoYgNqgF2ego9nACggsb1l9mzEKkxdzwzSvoykt4c 0W8AnRyz94+13XIsKxlRbJ5lF6Bxl+SO =IPjA -----END PGP SIGNATURE-----