From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: External compilation Date: Thu, 19 Feb 2015 15:16:13 +0100 Message-ID: <864mqi2dhu.fsf@example.com> References: <87wq3e5e23.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Rasmus, Rasmus wrote: > I want to translate some documents to pdf. I'm currently doing it with > something like this > > OX-FUN = emacs --batch --no-init-file --load conf.el $1 --funcall $2 --kill > OX-LATEX = $(call OX-FUN, $1, org-latex-export-to-pdf) One side question. I guess that you meant "--kill-emacs" above (I don't see any function called "kill"); but, anyway, why do you need to kill Emacs? Isn't that redundant with the "--batch" option? Best regards, Seb -- Sebastien Vauban