From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [ox, patch] external compilation Date: Fri, 20 Feb 2015 17:24:36 +0100 Message-ID: <878ufssg8r.fsf@gmx.us> References: <87wq3e5e23.fsf@gmx.us> <873860vl9l.fsf@gmx.us> <878ufs36oh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOqNh-0003l6-AL for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:24:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOqNc-0004vY-5a for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:24:45 -0500 Received: from mout.gmx.net ([212.227.17.21]:54376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOqNb-0004vH-SA for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:24:40 -0500 Received: from x200s ([46.166.186.241]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Mhdex-1YAjLR1xtT-00Mwn0 for ; Fri, 20 Feb 2015 17:24:38 +0100 In-Reply-To: <878ufs36oh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 20 Feb 2015 17:10:22 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >>> Ideally, what I would like would be to specify a per-file/project init >>> file. Sort of like org-export-async-init-file, but as part of >>> org-export-options-alist to get the "init.el-dependency" inside the >>> Org-file. It would be read when Org exports async or via batch. >> >> This patch moves org-export-async-init-file to org-export-options-alist >> and introduces #+INIT for setting it in a file. >>SW >> It also automatically "switches" to async export if running Emacs in >> batch. I don't know if this is a good idea! E.g. I guess it would star= ts >> a new Emacs process from a Emacs batch process... >> >> WDYT? Would something like this be appropriate? > > Can't you simply set-up a publishing project? No this has the same issue as the Makefile. "It's not as easy as latex". I want *one* coherent file with all the necessary instructions, that can be edited in different program from Emacs, and be easily compiled. E.g. I wrote syntax highlight for Org in texworks, but I also want to make the "green button" work easily as latex without too many ugly hacks. A makefile or a ox-project is great for the pros. Unfortunately not everyone is... Makefiles and projects is the tool better for multi-file projects. =E2=80=94Rasmus=20 --=20 A clever person solves a problem. A wise person avoids it