Rainer M Krug <[email protected]> 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
Best wishes
Sebastian
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode