From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox, patch] external compilation Date: Sat, 21 Feb 2015 10:35:43 +0100 Message-ID: <87sidz1ua8.fsf@nicolasgoaziou.fr> References: <87wq3e5e23.fsf@gmx.us> <873860vl9l.fsf@gmx.us> <878ufs36oh.fsf@nicolasgoaziou.fr> <878ufssg8r.fsf@gmx.us> <874mqg32s4.fsf@nicolasgoaziou.fr> <87r3tkqw94.fsf@gmx.us> <87wq3c1k6d.fsf@nicolasgoaziou.fr> <87lhjsqspq.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP6SQ-0008R3-K6 for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 04:34:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YP6SJ-0003gI-OF for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 04:34:42 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:42718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP6SJ-0003gE-I3 for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 04:34:35 -0500 In-Reply-To: <87lhjsqspq.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 20 Feb 2015 20:38:09 +0100") 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > That it hardcodes conf.el. So it doesn't toexport1.org which depends on > config/conf.el. I want to specify the dependency in in toexport.org > explicitly so that > > emacs --batch -Q --visit toexport.org -f org-latex-export-to-pdf > > generally works with custom-config files. Again, think about supporting a > Org from a editor where you just have "one button". Then # Local Variables: # org-export-async-init-file: "config/config.el" # End: at the end of your file and emacs --batch -Q --eval="(setq enable-local-variables :all)" --visit toexport.org --eval="(org-export-latex-to-pdf t)" Regards,