Add function to open exported org pdf in evince
This commit is contained in:
parent
e1509b0f3c
commit
813f916341
@ -175,6 +175,9 @@
|
|||||||
(visual-line-mode)
|
(visual-line-mode)
|
||||||
(setq word-wrap t)))
|
(setq word-wrap t)))
|
||||||
|
|
||||||
|
(defun org-latex-open-pdf ()
|
||||||
|
(interactive)
|
||||||
|
(call-process "evince" nil 0 nil (org-latex-export-to-pdf)))
|
||||||
(defun org-src-export-to-pdf ()
|
(defun org-src-export-to-pdf ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(org-src-in-org-buffer (org-latex-export-to-pdf)))
|
(org-src-in-org-buffer (org-latex-export-to-pdf)))
|
||||||
|
Loading…
Reference in New Issue
Block a user