emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: Re: Latex preview for whole buffer with on-off keybinding
Date: Thu, 24 Jun 2021 11:06:07 -0500	[thread overview]
Message-ID: <CAGxMbPZJnQXfMXNw_6bfgG4k9WHbJ9q-h0aYqu7RNRu3W+Gc2g@mail.gmail.com> (raw)
In-Reply-To: <trinity-655524c5-5f3a-440f-a939-c687977914fb-1624549482279@3c-app-mailcom-bs06>

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

Accomplishing this is explained in the docstring of org-latex-preview:

> org-latex-preview is an interactive compiled Lisp function in
> ‘org.el’.
>
> (org-latex-preview &optional ARG)
>
> ...
>
> With a ‘C-u’ prefix argument ARG, clear images for all fragments
> in the current section.
>
> With a ‘C-u C-u’ prefix argument ARG, display image for all
> fragments in the buffer.
>
> With a ‘C-u C-u C-u’ prefix argument ARG, clear image for all
> fragments in the buffer.

Hope that helps.

---
Greetings,
rdrg109

On Thu, 24 Jun 2021 at 10:45, Christopher Dimech <dimech@gmx.com> wrote:

> Org-mode allows latex-preview.  But this applies to each latex
> expression independently.  Is there a way to have a keybinding
> that would turn latex-preview "on" or "off" for the whole buffer?
>
> This applies only to snippets
> C-c C-x C-l (org-latex-preview)
>
>

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

  reply	other threads:[~2021-06-24 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 15:44 Christopher Dimech
2021-06-24 16:06 ` Rodrigo Morales [this message]
2021-06-24 17:29   ` Christopher Dimech
2021-06-25 12:00     ` Eric S Fraga

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=CAGxMbPZJnQXfMXNw_6bfgG4k9WHbJ9q-h0aYqu7RNRu3W+Gc2g@mail.gmail.com \
    --to=moralesrodrigo1100@gmail.com \
    --cc=dimech@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    /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).