From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: bug(?) in org-preview-latex-fragment Date: Sat, 12 Feb 2011 20:32:00 +0100 Message-ID: <8762sphwwf.fsf@gnu.org> References: <87bp59cmyk.wl%sebhofer@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54594 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoLSY-0001IM-E8 for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 14:48:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoLSX-0001cc-CN for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 14:48:46 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:35277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoLCG-00064K-4M for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 14:31:56 -0500 Received: by fxm12 with SMTP id 12so4073994fxm.0 for ; Sat, 12 Feb 2011 11:31:55 -0800 (PST) In-Reply-To: <87bp59cmyk.wl%sebhofer@gmail.com> (Sebastian Hofer's message of "Sun, 28 Nov 2010 19:38:59 +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: Sebastian Hofer Cc: emacs-orgmode@gnu.org Hi Sebastian, Sebastian Hofer writes: > it seems that org-preview-latex-fragment does not process \include{} > commands in the LATEX_HEADER (while it does process \newcommand). It this > supposed to be like that? If not, can it be changed or worked around > somehow? dvipng creates images in the temporary folder (/tmp/). Put command.tex in /tmp/ and it will work. HTH, -- Bastien