From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: noninteractive use of org-export Date: Thu, 17 Apr 2014 12:19:41 +0200 Message-ID: <87mwfkxnpe.fsf@free.fr> References: <87y4z5xsxw.fsf@free.fr> <877g6o8kvu.fsf@bzg.ath.cx> <87tx9sxpuc.fsf@free.fr> <87ioq81e9x.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WajQ9-0004tw-Rf for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 06:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WajQ5-00063S-6p for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 06:19:53 -0400 In-Reply-To: <87ioq81e9x.fsf@bzg.ath.cx> (Bastien's message of "Thu, 17 Apr 2014 11:44:26 +0200") 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: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Hi Julien, > > Julien Cubizolles writes: > >> Something must be wrong with the :include syntax since every org file in >> the base-directory is exported when I run C-c C-e P x. > > Add :exclude ".*" on top of your include. >> >> Also, is it possible to specify export options like LATEX_CLASS_OPTIONS >> from org-publish-project-alist ? > > Yes, use :latex-class-options in the publishing project. Everything is working fine, thanks a lot. And it gave me another idea: I'm actually exporting the same org file to pdf with different class options (basically beamer and [handouts]beamer). It seems I could use the :components property to export twice with different :latex-class-options properties but I need to change name of the pdf file produced so that cours.org produces cours-beamer.pdf and cours-notes.pdf. Can this be achieved, maybe with :completion-function? Julien.