Re: Latex preview for whole buffer with on-off keybinding
On Thursday, 24 Jun 2021 at 19:29, Christopher Dimech wrote: > > Does not say what ARG is ! It does: type C-u before the command. It may not be obvious but it is standard Emacs terminology. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-571-gc591be : Latest paper written in org: https://arxiv.org/abs/2106.05096
Latex preview for whole buffer with on-off keybinding
Does not say what ARG is ! Could be much better to do "M-x org-latex-preview" to toggle on-off. Sent: Friday, June 25, 2021 at 4:06 AM From: "Rodrigo Morales" To: "Christopher Dimech" Cc: "Help Emacs Orgmode" Subject: Re: Latex preview for whole buffer with on-off keybinding 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 <dim...@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)
Re: Latex preview for whole buffer with on-off keybinding
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 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) > >
Latex preview for whole buffer with on-off keybinding
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)