From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitrii Korobeinikov Subject: Re: Good way to pre/view LaTeX-lines? Date: Wed, 30 Oct 2019 03:52:02 +0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000899ff059613a1ce" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZPW-0004ED-6c for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 17:52:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPZPU-0001hl-Dv for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 17:52:17 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:34799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPZPU-0001eW-5T for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 17:52:16 -0400 Received: by mail-wm1-x32c.google.com with SMTP id v3so2907279wmh.1 for ; Tue, 29 Oct 2019 14:52:15 -0700 (PDT) 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.org@gnu.org Sender: "Emacs-orgmode" To: "briangpowell ." Cc: emacs-orgmode --0000000000000899ff059613a1ce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cool, I didn't know about maxima. I will look into trying it out. Thanks! Regards, Dmitrii =D0=BF=D0=BD, 28 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 07:08, briangpowel= l . : > * Suggest reviewing these free software packages: > https://itsfoss.com/latex-editors-linux/ > > ** LyX and/or Kile are my faves > > ** Suggest trying these free software packages too > > apt-get install imaxima > apt-get install maxima > apt-get install maxima-emacs > apt-get install texlive > apt-get install texlive-math-extra > > > > > > > > On Sun, Oct 27, 2019 at 3:29 PM Dmitrii Korobeinikov > wrote: > >> > https://orgmode.org/org.html#Previewing-LaTeX-fragments >> >> Thank you, William! This is great. >> >> After some digging, I still gotta wonder about a few things though. >> 1. Is there some sort of live-editing feature? By that I mean, being abl= e >> to view the result (in a seperate buffer or minibuffer or even on the ne= xt >> line) as you type out the expression. In particular, it would be nice to >> know how to show an image in the minibuffer (and if possible at all) and >> how to effectively feed what's under cursor to the latex backend and get >> the image. >> 2. It would be handy to autoremove the image overlay when the cursor is >> on the fragment (and restore it when goes outside). I think no redraw >> should be necessary unless the the formula is edited. >> >> I guess I would have to dig into org-toggle-latex-fragment to know how t= o >> do these, but any help/pointers would be appreciated. >> >> Regards, >> Dmitrii >> >> =D0=B2=D1=81, 27 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 21:07, William = Denton : >> >>> On 27 October 2019, Dmitrii Korobeinikov wrote: >>> >>> > I am looking for a comfortable way to view LaTeX (for math formulas) = in >>> > org-mode. >>> >>> This shows how: >>> >>> https://orgmode.org/org.html#Previewing-LaTeX-fragments >>> >>> I don't use it often, but it works very nicely. >>> >>> Bill >>> -- >>> William Denton :: Toronto, Canada --- Listening to Art: >>> https://listeningtoart.org/ >>> https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ >>> Caveat lector. --- STAPLR: https://staplr.org/ >>> >> --0000000000000899ff059613a1ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Cool, I didn't know about maxima. I will look int= o trying it out. Thanks!

Regards,
Dmitri= i

=D0=BF=D0=BD, 28 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 07:08, bria= ngpowell . <briangpowellms@g= mail.com>:
* Suggest reviewing these free software packages: https://it= sfoss.com/latex-editors-linux/

** LyX and/or Kil= e are my faves

** Suggest trying these free so= ftware packages too

apt-get install imaxima =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
apt-get install maxima =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
apt-get install maxima-emacs =C2= =A0 =C2=A0 =C2=A0 =C2=A0
apt-get install texlive =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
apt-get install texlive-math-extra =C2=A0

<= /div>





<= /div>

On Sun, Oct 27, 2019 at 3:29 PM Dmitrii Korobeinikov <dim1212k@gmail.com> wrote= :
>=C2=A0https://orgmode.org/org.html#Pre= viewing-LaTeX-fragments

Thank you, William! This is = great.

After some digging, I still gotta wonder about a few things t= hough.
1. Is there some sort of live-editing feature? By that I mean, be= ing able to view the result (in a seperate buffer or minibuffer or even on = the next line) as you type out the expression. In particular, it would be n= ice to know how to show an image in the minibuffer (and if possible at all)= and how to effectively feed what's under cursor to the latex backend a= nd get the image.
2. It would be handy to autoremove the image overlay w= hen the cursor is on the fragment (and restore it when goes outside). I thi= nk no redraw should be necessary unless the the formula is edited.

I guess I would have to dig into org-toggle-latex-fragment= to know how to do these, but any help/pointers would be appreciated.
Regards,
Dmitrii

=D0=B2=D1=81, 27 =D0=BE=D0=BA=D1=82. 2019 = =D0=B3. =D0=B2 21:07, William Denton <wtd@pobox.com>:
On 27 October 2019, Dmitrii Korobeinikov wrote:

> I am looking for a comfortable way to view LaTeX (for math formulas) i= n
> org-mode.

This shows how:

https://orgmode.org/org.html#Previewing-LaTeX= -fragments

I don't use it often, but it works very nicely.

Bill
--
William Denton :: Toronto, Canada=C2=A0 =C2=A0---=C2=A0 =C2=A0Listening to = Art: https://listeningtoart.org/
https://www.miskatonic.org/=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0---=C2= =A0 =C2=A0GHG.EARTH: https://ghg.earth/
Caveat lector.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ---=C2=A0 =C2=A0STAPLR: https://staplr.org/
--0000000000000899ff059613a1ce--