Add function to open exported org pdf in evince

This commit is contained in:
Adam Goldsmith 2018-01-20 16:38:07 -05:00
parent e1509b0f3c
commit 813f916341
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@
(visual-line-mode)
(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 ()
(interactive)
(org-src-in-org-buffer (org-latex-export-to-pdf)))