From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org Publish subtree to pdf Date: Sat, 17 Aug 2013 10:28:06 +0200 Message-ID: <87a9kg90x5.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAbrj-00024c-AY for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 04:28:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAbrV-0001T7-Si for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 04:28:07 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:63740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAbrV-0001RB-Ml for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 04:27:53 -0400 Received: by mail-wi0-f178.google.com with SMTP id j17so1525053wiw.11 for ; Sat, 17 Aug 2013 01:27:52 -0700 (PDT) In-Reply-To: (Martin Leduc's message of "Sat, 17 Aug 2013 01:58:57 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin Leduc Cc: emacs-orgmode@gnu.org Hello, Martin Leduc 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