21

GitHub - io12/org-fragtog: Automatically toggle org-mode latex fragment previews...

 4 years ago
source link: https://github.com/io12/org-fragtog
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.org

org-fragtog

Automatically toggle org-mode latex fragment previews as the cursor enters and exits them

About

Org mode supports inline image previews of latex fragments. These can be toggled with C-c C-x C-l . org-fragtog automates this, so fragment previews are disabled for editing when your cursor steps onto them, and re-enabled when the cursor leaves.

./demo.gif

Setup

Install and load the package, then add the snippet below to your config.

(add-hook 'org-mode-hook 'org-fragtog-mode)

Note that org-fragtog requires a newer version of org-mode than what is currently distributed with Emacs. You can get the latest version of Org from Org ELPA.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK