forked from mirrors/org-mode
org-latex-preview: org-latex-conditional-features
* lisp/org-latex-preview.el (org-latex-preview--get-preamble):
This commit is contained in:
parent
9724e205e7
commit
58b2400e00
|
@ -1424,13 +1424,14 @@ previews."
|
||||||
(org-export--get-buffer-attributes)
|
(org-export--get-buffer-attributes)
|
||||||
'(:time-stamp-file nil)))
|
'(:time-stamp-file nil)))
|
||||||
org-export-use-babel
|
org-export-use-babel
|
||||||
(org-latex-conditional-features
|
;; (org-latex-conditional-features
|
||||||
(cl-remove-if
|
;; (cl-remove-if
|
||||||
(lambda (feat)
|
;; (lambda (feat)
|
||||||
(plist-get (alist-get (cdr feat)
|
;; (plist-get (alist-get (cdr feat)
|
||||||
org-latex-feature-implementations)
|
;; org-latex-feature-implementations)
|
||||||
:not-preview))
|
;; :not-preview))
|
||||||
org-latex-conditional-features)))
|
;; org-latex-conditional-features))
|
||||||
|
)
|
||||||
(org-export-with-buffer-copy
|
(org-export-with-buffer-copy
|
||||||
:drop-narrowing t
|
:drop-narrowing t
|
||||||
(font-lock-mode -1)
|
(font-lock-mode -1)
|
||||||
|
|
Loading…
Reference in New Issue