From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremie Juste Subject: Re: latex preview in latex block Date: Sun, 10 Apr 2016 20:39:41 +0200 Message-ID: <87twj99uky.fsf@oldgnu.org> References: <87lh4mne2h.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apKGw-0003Q9-SJ for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 14:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apKGt-0007S6-NG for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 14:39:46 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:34910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apKGt-0007Rz-GK for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 14:39:43 -0400 Received: by mail-wm0-x22e.google.com with SMTP id 191so63316586wmq.0 for ; Sun, 10 Apr 2016 11:39:43 -0700 (PDT) In-Reply-To: <87lh4mne2h.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 10 Apr 2016 09:00:22 +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" To: emacs-org list Cc: mail@nicolasgoaziou.fr Nicolas Goaziou writes: > Hello, > > J=C3=A9r=C3=A9mie Juste writes: > >> Is it possible to activate the latex preview in org-mode within in latex >> bloc? > > It isn't possible out of the box. Org doesn't look at the contents of > src blocks, which are supposed to be written in a foreign language. > > However, you can probably write a function for your own use, starting > from `org-format-latex'. > > Regards, Thanks for the lead, I'll give it a try post the code back here if it works. Best regards, Jeremie