org-auctex icon indicating copy to clipboard operation
org-auctex copied to clipboard

Better latex previews for org-mode

#+title: Fast latex previews in Org

https://user-images.githubusercontent.com/8607532/155931750-c53b0079-3e9a-4b7b-b3fb-4174aa45b150.mp4

Needs testing!

Requires auctex/preview-latex.

To use, turn on =org-auctex-mode= in an org buffer. This replaces your binding for =org-latex-preview= (~C-c C-x C-l~ by default) with =org-auctex-preview-dwim=.

=org-auctex-preview-dwim= is a drop-in replacement for =org-latex-preview= (including the prefix argument behavior).

If you prefer more fine grained control, there are other commands for previewing at point, the section, buffer etc.

  • Planned
  • [ ] Support for non-file buffers
  • [ ] Support for multiple files at once (it uses a single tex file)
  • [ ] Better caching (it currently always regenerates)
  • [ ] =dvisvgm= support
  • [ ] Better integration with the org-element API
  • [ ] Agnostic backend for use in any file, not just org
  • [ ] Better keybindings (rebind =C-c C-l=)
  • [X] Basic Tests
  • [ ] Per-element tests