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 12:10:20 -0300

> C-c C-x C-l: as you defined it
> C-u C-c C-x C-l: preview document scope.
> C-- (or C-0) C-c C-x C-l: as you defined C-u C-c C-x C-l.
> C-- (or C-0) C-u C-c C-x C-l: unpreview document scope.

Btw, I don't think that "preview the entire document" is such a rare
use case. Consider that you've taken some quick notes using embedded
latex (I need to do that often because my notes are almost exclusively
about mathematical stuff and unicode is far from enough). Now you open
the notes and you can i. export to pdf and preview using
docview/pdf-tools/external pdf reader or, alternatively, ii. preview
all fragments. I agree it's more usual to go to some section of
interest and then preview it, but nevertheless full preview has its
place.

This proposal makes more cumbersome to unpreview the entire document,
which I do think is barely necessary. But the other use cases are just
one modifier away from the base use case (toggle fragment). The
downside is that C-0 is assigned to an arguably less frequent use case
than C-u, because of the mnemonic argument. As I said, I dislike
swapping them, but if you prefer it that way I'm fine with it; in that
case what will result is your proposal plus two C-0 or something
variations for full document.



reply via email to

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