emacs.d/etc/yasnippet/snippets/org-mode/smart-latex-engrave
2022-08-21 17:58:08 +02:00

15 lines
548 B
Plaintext

# -*- coding: utf-8 -*-
# name: smart-latex-engrave
# key: sle
# expand-env: ((yas-indent-line 'fixed))
# --
#+name: lst:smart-latex-engrave-emacs-lisp-setup
#+begin_src emacs-lisp :exports none :results silent
(with-eval-after-load 'ox-latex
(make-variable-buffer-local 'org-export-filter-src-block-functions)
(add-to-list 'org-export-filter-src-block-functions
'org-latex-engraved-source-block-filter)
(when (fboundp 'smart-latex-engrave-org-source-blocks)
(smart-latex-engrave-org-source-blocks)))
#+end_src