From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxi.Matthe@googlemail.com (Maximilian =?utf-8?Q?Matth=C3=A9?=) Subject: Latex preview - working directory Date: Tue, 07 Dec 2010 17:26:47 +0100 Message-ID: <8762v5o8fs.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=56360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ0Qd-0005T0-Iu for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 11:30:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ0Qc-0001cz-LZ for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 11:30:11 -0500 Received: from lo.gmane.org ([80.91.229.12]:56055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ0Qc-0001ct-Ck for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 11:30:10 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQ0QW-00015b-P8 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 17:30:04 +0100 Received: from g224195035.adsl.alicedsl.de ([92.224.195.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 17:30:04 +0100 Received: from Maxi.Matthe by g224195035.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 17:30:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi guys, I just wanted to try out the latex snippet preview. There is a problem with that since I have in my org-document the following preamble: #+LATEX_HEADER: \input{../vlstyle} which refers to a .tex-file relative to the location of my document. The file contains some definitions for math. symbols I need in many documents, so I extracted them into an external file. Since the preview-snippets are compiled in /tmp/ Latex cannot find the vlstyle.tex and the compilation fails. Is there another way to get previews except specifying an absolute path to the vlstyle.tex? Maybe sth. with org-babel? But it shouldn't be too long since I would have to add that to every new document I write. Regards, Max