From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: htmlize doesn't work in --batch mode Date: Wed, 19 Sep 2012 20:29:17 +0200 Message-ID: <87lig5n9xe.fsf@Rainer.invalid> References: <3F22EBFC-FB52-42B1-B717-482FBD010B5B@gmail.com> <87zk4mgd1i.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEP1k-00080r-7J for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 14:29:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEP1i-0000fR-W4 for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 14:29:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:39847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEP1i-0000eo-Pp for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 14:29:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TEP1j-0007ah-Jt for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 20:29:35 +0200 Received: from pd9eb3911.dip.t-dialin.net ([217.235.57.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 20:29:35 +0200 Received: from Stromeko by pd9eb3911.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 20:29:35 +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: emacs-orgmode@gnu.org Bastien writes: > Dmitri Makarov writes: >> It should be easy to include such a command in a makefile or build.xml and >> automatically locate the latest installation of necessary packages rather >> than explicitly specifying the path. That's what BTEST_POST is there for in the build system, you can set it up to either load a package directly or add to the load-path first and then require the package. Just have a look to see how it is done. > I let Achim be the final judge on this -- my intuitions in this areas > are just too fragile. But my gut feeling is that this would be too > complicated, and the solution above is simple enough. It is generally a bad idea to guess how the user configured his/her system and a lot of init files are simply incompatible with batch mode. However, the OP didn't have a problem with the build system if I read him correctly. My advice there is to make a minimal separate init file just for the batch export process and load that. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada