-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/09/10 18:21, Sebastian Rose wrote: > Rainer M Krug <r.m.k...@gmail.com> 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: rai...@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----- _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode