From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: org-preview-latex-fragment fails to render in remote files (TRAMP) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/org/)] Date: Thu, 05 Mar 2015 18:11:13 -0500 Message-ID: <87egp3avla.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTevY-0002yB-1H for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:11:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTevS-0000r6-Ud for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:11:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:58147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTevS-0000qj-OC for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:11:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTevR-0007bJ-Lt for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 00:11:29 +0100 Received: from pool-173-76-32-186.bstnma.fios.verizon.net ([173.76.32.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 00:11:29 +0100 Received: from ndokos by pool-173-76-32-186.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 00:11:29 +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 Dustin Paluch writes: > Here's what DOES WORK: > > Open a local org file, type in a latex fragment like "\[1 + 2 = 3\]", > then hit C-c C-x C-l. The fragment is replaced with a png as expected. > > > Here's what DOESN'T WORK: > > Open a remote org file via C-x C-f /ssh:user@host:/path/to/file.org RET, > enter the same latex fragment, and issue the same > org-preview-latex-fragment command. The fragment will be replaced with a > blank square. Here is a gif: > > http://i.imgur.com/Bb2vgWu.gif > > HOWEVER! The image IS created on the remote filesystem in the adjacent > ltxpng folder as expected. > > (First time sending mail from Emacs. I hope this works...) (it did :-) ) > That's not a problem with org, it's a problem with images: try executing the following two calls (with paths appropriate to your environment of course): (insert-image '(image :type png :file "/scp:remote:/tmp/foo.png" :ascent center)) (insert-image '(image :type png :file "/tmp/foo.png" :ascent center)) and you'll see the same behaviour. Try reporting it as a bug in emacs. Nick