emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dmitrii Korobeinikov <dim1212k@gmail.com>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Good way to pre/view LaTeX-lines?
Date: Mon, 28 Oct 2019 01:27:40 +0600	[thread overview]
Message-ID: <CA+Yh0ST2hMAYHE8iU2dUzp0tr36tOrQiaKOOhtaKG7EHsFpbUQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1910271107110.1444@shell.miskatonic.org>

[-- Attachment #1: Type: text/plain, Size: 1524 bytes --]

> 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 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 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 to
do these, but any help/pointers would be appreciated.

Regards,
Dmitrii

вс, 27 окт. 2019 г. в 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) 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/
>

[-- Attachment #2: Type: text/html, Size: 2409 bytes --]

  reply	other threads:[~2019-10-27 19:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27 15:01 Good way to pre/view LaTeX-lines? Dmitrii Korobeinikov
2019-10-27 15:07 ` William Denton
2019-10-27 19:27   ` Dmitrii Korobeinikov [this message]
2019-10-28  1:07     ` briangpowell .
2019-10-29 21:52       ` Dmitrii Korobeinikov
2019-10-28  1:22     ` Ivan Tadeu Ferreira Antunes Filho
2019-10-29 21:54       ` Dmitrii Korobeinikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+Yh0ST2hMAYHE8iU2dUzp0tr36tOrQiaKOOhtaKG7EHsFpbUQ@mail.gmail.com \
    --to=dim1212k@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).