emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: org-toggle-latex-fragment doesn't work as documented [9.2.1


From: Carlos Pita
Subject: Re: [O] Bug: org-toggle-latex-fragment doesn't work as documented [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)]
Date: Wed, 13 Feb 2019 13:43:03 -0300

Ok, let's make this more concrete so I can start working on it then.

Alternative A:

Provide three functions:

org-toggle-latex-fragment:
    bound to C-c C-x C-l
    has an optional argument arg
    delegates to org-preview-latex-section if necessary (outside of
fragment or C-u)

org-preview-latex-section:
    unbound
    has an optional argument remove

org-preview-latex-all:
    unbound
    has an optional argument remove

----

Alternative B:

Do some cosmetic changes to org-toggle-latex-fragment and provide the
following bindings:

C-c C-x C-l: toggle fragment or preview section
C-u C-c C-x C-l: unpreview section
C-u C-u C-c C-x C-l: preview document
C-u C-u C-u C-c C-x C-l: unpreview document
I favor alternative B since it's a simpler change and the only awful
binding is the (by far) less useful one.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]