emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Nested exports - Exporting a "sub.org" file while exportin


From: Rainer M Krug
Subject: Re: [Orgmode] Nested exports - Exporting a "sub.org" file while exporting "main.org"
Date: Tue, 14 Sep 2010 20:58:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100911 Lightning/1.0b2 Shredder/3.1.5pre

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/09/10 18:21, Sebastian Rose wrote:
> Rainer M Krug <address@hidden> 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:      address@hidden

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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]