From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] org-preview-latex-fragment not working with #+latex_header:\input{} Date: Sat, 21 Apr 2012 12:32:30 +0200 Message-ID: <87k419e5oh.fsf@Rainer.invalid> References: <87zka6gfyc.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLXcZ-00054Y-QG for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 06:32:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLXcV-0006Oo-EQ for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 06:32:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:54663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLXcV-0006Ok-7g for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 06:32:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SLXcR-00043J-6Q for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 12:32:43 +0200 Received: from pd9eb567e.dip.t-dialin.net ([217.235.86.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 12:32:43 +0200 Received: from Stromeko by pd9eb567e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 12:32:43 +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: > Setting TEXINPUTS while creating formulas makes sense to me, so I'll be > glad to have a patch for this. Actually, setting TEXINPUTS is fraught with peril and just setting it without checking if it already exists is risking to break some setups. If anything there should be a defcustom or better hook function to allow alteration of the environment (ostensibly not just for TEXINPUTS) before org calls external processes. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables