From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Automatic LaTeX preview toggling Date: Mon, 17 Feb 2020 20:26:53 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48267) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3rf9-0000CA-BP for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 20:27:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3rf7-0005BQ-H3 for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 20:26:58 -0500 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:40349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3rf7-0005Aa-4O for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 20:26:57 -0500 Received: by mail-qt1-x82f.google.com with SMTP id v25so13412401qto.7 for ; Mon, 17 Feb 2020 17:26:56 -0800 (PST) Received: from Johns-MacBook-Air.local (c-67-171-67-30.hsd1.pa.comcast.net. [67.171.67.30]) by smtp.gmail.com with ESMTPSA id l19sm1130468qkl.3.2020.02.17.17.26.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Feb 2020 17:26:54 -0800 (PST) In-reply-to: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org The version I have at https://github.com/jkitchin/scimax/blob/master/scimax-org-latex.el#L398 still works for me. I don't use it a lot, but I just tried it now on a small example and it seemed ok. Ag Ibragimov writes: > I just recently discovered that this excellent code snippet that I found long time ago here: > http://slumpy.org/blog/2017-02-01-automatic-latex-preview-in-org-mode > > which is based on even older post originally written by John Kitchin: > > http://kitchingroup.cheme.cmu.edu/blog/2015/10/09/Automatic-latex-image-toggling-when-cursor-is-on-a-fragment/ > > unfortunately stopped working. I guess I missed it, at some point it seems org--list-latex-overlays function was removed. > > Does anyone know if there's updated version of this thing somewhere? Or maybe this was extracted into some plugin or something that can be installed from MELPA maybe and I don't even know? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu