Hello, Martin Leduc <mart...@hotmail.com> writes:
> I have a large org file with several projects in it. I can export one of > them (a subtree) to pdf by using C-c C-e C-s l o. However, I would like to > use the Publish function since it allows to export the pdf to another folder. > > However, by using C-s (Subtree option) and P (for publish) and x (to choose > template from org-publish-project-alist), the Subtree option does not seem > to work well. Subtree export is not meant to be used along with publishing. The latter works on complete files only. > The entire tree is exported though without the content of higher-level > headlines. > > Is it the normal behavior to be expected from the publish function ? What is > the best way to export in pdf to another location ? Use EXPORT_FILE_NAME node property. See penultimate paragraph from section 12.3 in the manual. Regards, -- Nicolas Goaziou